Class InvoiceAffiliate

java.lang.Object
travel.wink.sdk.affiliate.model.InvoiceAffiliate

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-03-10T10:47:30.893146041+07:00[Asia/Bangkok]") public class InvoiceAffiliate extends Object
InvoiceAffiliate
  • Field Details

  • Constructor Details

    • InvoiceAffiliate

      public InvoiceAffiliate()
  • Method Details

    • accountCountry

      public InvoiceAffiliate accountCountry(String accountCountry)
    • getAccountCountry

      @Nullable public String getAccountCountry()
      Get accountCountry
      Returns:
      accountCountry
    • setAccountCountry

      public void setAccountCountry(String accountCountry)
    • accountName

      public InvoiceAffiliate accountName(String accountName)
    • getAccountName

      @Nullable public String getAccountName()
      Get accountName
      Returns:
      accountName
    • setAccountName

      public void setAccountName(String accountName)
    • amountDue

      public InvoiceAffiliate amountDue(Long amountDue)
    • getAmountDue

      @Nullable public Long getAmountDue()
      Get amountDue
      Returns:
      amountDue
    • setAmountDue

      public void setAmountDue(Long amountDue)
    • amountPaid

      public InvoiceAffiliate amountPaid(Long amountPaid)
    • getAmountPaid

      @Nullable public Long getAmountPaid()
      Get amountPaid
      Returns:
      amountPaid
    • setAmountPaid

      public void setAmountPaid(Long amountPaid)
    • amountRemaining

      public InvoiceAffiliate amountRemaining(Long amountRemaining)
    • getAmountRemaining

      @Nullable public Long getAmountRemaining()
      Get amountRemaining
      Returns:
      amountRemaining
    • setAmountRemaining

      public void setAmountRemaining(Long amountRemaining)
    • applicationFeeAmount

      public InvoiceAffiliate applicationFeeAmount(Long applicationFeeAmount)
    • getApplicationFeeAmount

      @Nullable public Long getApplicationFeeAmount()
      Get applicationFeeAmount
      Returns:
      applicationFeeAmount
    • setApplicationFeeAmount

      public void setApplicationFeeAmount(Long applicationFeeAmount)
    • attemptCount

      public InvoiceAffiliate attemptCount(Long attemptCount)
    • getAttemptCount

      @Nullable public Long getAttemptCount()
      Get attemptCount
      Returns:
      attemptCount
    • setAttemptCount

      public void setAttemptCount(Long attemptCount)
    • attempted

      public InvoiceAffiliate attempted(Boolean attempted)
    • getAttempted

      @Nullable public Boolean getAttempted()
      Get attempted
      Returns:
      attempted
    • setAttempted

      public void setAttempted(Boolean attempted)
    • autoAdvance

      public InvoiceAffiliate autoAdvance(Boolean autoAdvance)
    • getAutoAdvance

      @Nullable public Boolean getAutoAdvance()
      Get autoAdvance
      Returns:
      autoAdvance
    • setAutoAdvance

      public void setAutoAdvance(Boolean autoAdvance)
    • billing

      public InvoiceAffiliate billing(String billing)
    • getBilling

      @Nullable public String getBilling()
      Get billing
      Returns:
      billing
    • setBilling

      public void setBilling(String billing)
    • billingReason

      public InvoiceAffiliate billingReason(String billingReason)
    • getBillingReason

      @Nullable public String getBillingReason()
      Get billingReason
      Returns:
      billingReason
    • setBillingReason

      public void setBillingReason(String billingReason)
    • collectionMethod

      public InvoiceAffiliate collectionMethod(String collectionMethod)
    • getCollectionMethod

      @Nullable public String getCollectionMethod()
      Get collectionMethod
      Returns:
      collectionMethod
    • setCollectionMethod

      public void setCollectionMethod(String collectionMethod)
    • created

      public InvoiceAffiliate created(Long created)
    • getCreated

      @Nullable public Long getCreated()
      Get created
      Returns:
      created
    • setCreated

      public void setCreated(Long created)
    • currency

      public InvoiceAffiliate currency(String currency)
    • getCurrency

      @Nullable public String getCurrency()
      Get currency
      Returns:
      currency
    • setCurrency

      public void setCurrency(String currency)
    • customerAddress

      public InvoiceAffiliate customerAddress(AddressAffiliate customerAddress)
    • getCustomerAddress

      @Nullable @Valid public @Valid AddressAffiliate getCustomerAddress()
      Get customerAddress
      Returns:
      customerAddress
    • setCustomerAddress

      public void setCustomerAddress(AddressAffiliate customerAddress)
    • customerEmail

      public InvoiceAffiliate customerEmail(String customerEmail)
    • getCustomerEmail

      @Nullable public String getCustomerEmail()
      Get customerEmail
      Returns:
      customerEmail
    • setCustomerEmail

      public void setCustomerEmail(String customerEmail)
    • customerName

      public InvoiceAffiliate customerName(String customerName)
    • getCustomerName

      @Nullable public String getCustomerName()
      Get customerName
      Returns:
      customerName
    • setCustomerName

      public void setCustomerName(String customerName)
    • customerPhone

      public InvoiceAffiliate customerPhone(String customerPhone)
    • getCustomerPhone

      @Nullable public String getCustomerPhone()
      Get customerPhone
      Returns:
      customerPhone
    • setCustomerPhone

      public void setCustomerPhone(String customerPhone)
    • customerShipping

      public InvoiceAffiliate customerShipping(ShippingDetailsAffiliate customerShipping)
    • getCustomerShipping

      @Nullable @Valid public @Valid ShippingDetailsAffiliate getCustomerShipping()
      Get customerShipping
      Returns:
      customerShipping
    • setCustomerShipping

      public void setCustomerShipping(ShippingDetailsAffiliate customerShipping)
    • customerTaxExempt

      public InvoiceAffiliate customerTaxExempt(String customerTaxExempt)
    • getCustomerTaxExempt

      @Nullable public String getCustomerTaxExempt()
      Get customerTaxExempt
      Returns:
      customerTaxExempt
    • setCustomerTaxExempt

      public void setCustomerTaxExempt(String customerTaxExempt)
    • customerTaxIds

      public InvoiceAffiliate customerTaxIds(List<CustomerTaxIdAffiliate> customerTaxIds)
    • addCustomerTaxIdsItem

      public InvoiceAffiliate addCustomerTaxIdsItem(CustomerTaxIdAffiliate customerTaxIdsItem)
    • getCustomerTaxIds

      @Nullable @Valid public @Valid List<CustomerTaxIdAffiliate> getCustomerTaxIds()
      Get customerTaxIds
      Returns:
      customerTaxIds
    • setCustomerTaxIds

      public void setCustomerTaxIds(List<CustomerTaxIdAffiliate> customerTaxIds)
    • defaultTaxRates

      public InvoiceAffiliate defaultTaxRates(List<TaxRateAffiliate> defaultTaxRates)
    • addDefaultTaxRatesItem

      public InvoiceAffiliate addDefaultTaxRatesItem(TaxRateAffiliate defaultTaxRatesItem)
    • getDefaultTaxRates

      @Nullable @Valid public @Valid List<TaxRateAffiliate> getDefaultTaxRates()
      Get defaultTaxRates
      Returns:
      defaultTaxRates
    • setDefaultTaxRates

      public void setDefaultTaxRates(List<TaxRateAffiliate> defaultTaxRates)
    • deleted

      public InvoiceAffiliate deleted(Boolean deleted)
    • getDeleted

      @Nullable public Boolean getDeleted()
      Get deleted
      Returns:
      deleted
    • setDeleted

      public void setDeleted(Boolean deleted)
    • description

      public InvoiceAffiliate description(String description)
    • getDescription

      @Nullable public String getDescription()
      Get description
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • discount

      public InvoiceAffiliate discount(DiscountAffiliate discount)
    • getDiscount

      @Nullable @Valid public @Valid DiscountAffiliate getDiscount()
      Get discount
      Returns:
      discount
    • setDiscount

      public void setDiscount(DiscountAffiliate discount)
    • dueDate

      public InvoiceAffiliate dueDate(Long dueDate)
    • getDueDate

      @Nullable public Long getDueDate()
      Get dueDate
      Returns:
      dueDate
    • setDueDate

      public void setDueDate(Long dueDate)
    • endingBalance

      public InvoiceAffiliate endingBalance(Long endingBalance)
    • getEndingBalance

      @Nullable public Long getEndingBalance()
      Get endingBalance
      Returns:
      endingBalance
    • setEndingBalance

      public void setEndingBalance(Long endingBalance)
    • footer

      public InvoiceAffiliate footer(String footer)
    • getFooter

      @Nullable public String getFooter()
      Get footer
      Returns:
      footer
    • setFooter

      public void setFooter(String footer)
    • hostedInvoiceUrl

      public InvoiceAffiliate hostedInvoiceUrl(String hostedInvoiceUrl)
    • getHostedInvoiceUrl

      @Nullable public String getHostedInvoiceUrl()
      Get hostedInvoiceUrl
      Returns:
      hostedInvoiceUrl
    • setHostedInvoiceUrl

      public void setHostedInvoiceUrl(String hostedInvoiceUrl)
    • id

      public InvoiceAffiliate id(String id)
    • getId

      @Nullable public String getId()
      Get id
      Returns:
      id
    • setId

      public void setId(String id)
    • invoicePdf

      public InvoiceAffiliate invoicePdf(String invoicePdf)
    • getInvoicePdf

      @Nullable public String getInvoicePdf()
      Get invoicePdf
      Returns:
      invoicePdf
    • setInvoicePdf

      public void setInvoicePdf(String invoicePdf)
    • lines

    • getLines

      @Nullable @Valid public @Valid InvoiceLineItemCollectionAffiliate getLines()
      Get lines
      Returns:
      lines
    • setLines

      public void setLines(InvoiceLineItemCollectionAffiliate lines)
    • livemode

      public InvoiceAffiliate livemode(Boolean livemode)
    • getLivemode

      @Nullable public Boolean getLivemode()
      Get livemode
      Returns:
      livemode
    • setLivemode

      public void setLivemode(Boolean livemode)
    • metadata

      public InvoiceAffiliate metadata(Map<String,String> metadata)
    • putMetadataItem

      public InvoiceAffiliate putMetadataItem(String key, String metadataItem)
    • getMetadata

      @Nullable public Map<String,String> getMetadata()
      Get metadata
      Returns:
      metadata
    • setMetadata

      public void setMetadata(Map<String,String> metadata)
    • nextPaymentAttempt

      public InvoiceAffiliate nextPaymentAttempt(Long nextPaymentAttempt)
    • getNextPaymentAttempt

      @Nullable public Long getNextPaymentAttempt()
      Get nextPaymentAttempt
      Returns:
      nextPaymentAttempt
    • setNextPaymentAttempt

      public void setNextPaymentAttempt(Long nextPaymentAttempt)
    • number

      public InvoiceAffiliate number(String number)
    • getNumber

      @Nullable public String getNumber()
      Get number
      Returns:
      number
    • setNumber

      public void setNumber(String number)
    • _object

      public InvoiceAffiliate _object(String _object)
    • getObject

      @Nullable public String getObject()
      Get _object
      Returns:
      _object
    • setObject

      public void setObject(String _object)
    • paid

      public InvoiceAffiliate paid(Boolean paid)
    • getPaid

      @Nullable public Boolean getPaid()
      Get paid
      Returns:
      paid
    • setPaid

      public void setPaid(Boolean paid)
    • periodEnd

      public InvoiceAffiliate periodEnd(Long periodEnd)
    • getPeriodEnd

      @Nullable public Long getPeriodEnd()
      Get periodEnd
      Returns:
      periodEnd
    • setPeriodEnd

      public void setPeriodEnd(Long periodEnd)
    • periodStart

      public InvoiceAffiliate periodStart(Long periodStart)
    • getPeriodStart

      @Nullable public Long getPeriodStart()
      Get periodStart
      Returns:
      periodStart
    • setPeriodStart

      public void setPeriodStart(Long periodStart)
    • postPaymentCreditNotesAmount

      public InvoiceAffiliate postPaymentCreditNotesAmount(Long postPaymentCreditNotesAmount)
    • getPostPaymentCreditNotesAmount

      @Nullable public Long getPostPaymentCreditNotesAmount()
      Get postPaymentCreditNotesAmount
      Returns:
      postPaymentCreditNotesAmount
    • setPostPaymentCreditNotesAmount

      public void setPostPaymentCreditNotesAmount(Long postPaymentCreditNotesAmount)
    • prePaymentCreditNotesAmount

      public InvoiceAffiliate prePaymentCreditNotesAmount(Long prePaymentCreditNotesAmount)
    • getPrePaymentCreditNotesAmount

      @Nullable public Long getPrePaymentCreditNotesAmount()
      Get prePaymentCreditNotesAmount
      Returns:
      prePaymentCreditNotesAmount
    • setPrePaymentCreditNotesAmount

      public void setPrePaymentCreditNotesAmount(Long prePaymentCreditNotesAmount)
    • receiptNumber

      public InvoiceAffiliate receiptNumber(String receiptNumber)
    • getReceiptNumber

      @Nullable public String getReceiptNumber()
      Get receiptNumber
      Returns:
      receiptNumber
    • setReceiptNumber

      public void setReceiptNumber(String receiptNumber)
    • startingBalance

      public InvoiceAffiliate startingBalance(Long startingBalance)
    • getStartingBalance

      @Nullable public Long getStartingBalance()
      Get startingBalance
      Returns:
      startingBalance
    • setStartingBalance

      public void setStartingBalance(Long startingBalance)
    • statementDescriptor

      public InvoiceAffiliate statementDescriptor(String statementDescriptor)
    • getStatementDescriptor

      @Nullable public String getStatementDescriptor()
      Get statementDescriptor
      Returns:
      statementDescriptor
    • setStatementDescriptor

      public void setStatementDescriptor(String statementDescriptor)
    • status

      public InvoiceAffiliate status(String status)
    • getStatus

      @Nullable public String getStatus()
      Get status
      Returns:
      status
    • setStatus

      public void setStatus(String status)
    • statusTransitions

      public InvoiceAffiliate statusTransitions(StatusTransitionsAffiliate statusTransitions)
    • getStatusTransitions

      @Nullable @Valid public @Valid StatusTransitionsAffiliate getStatusTransitions()
      Get statusTransitions
      Returns:
      statusTransitions
    • setStatusTransitions

      public void setStatusTransitions(StatusTransitionsAffiliate statusTransitions)
    • subscriptionProrationDate

      public InvoiceAffiliate subscriptionProrationDate(Long subscriptionProrationDate)
    • getSubscriptionProrationDate

      @Nullable public Long getSubscriptionProrationDate()
      Get subscriptionProrationDate
      Returns:
      subscriptionProrationDate
    • setSubscriptionProrationDate

      public void setSubscriptionProrationDate(Long subscriptionProrationDate)
    • subtotal

      public InvoiceAffiliate subtotal(Long subtotal)
    • getSubtotal

      @Nullable public Long getSubtotal()
      Get subtotal
      Returns:
      subtotal
    • setSubtotal

      public void setSubtotal(Long subtotal)
    • tax

      public InvoiceAffiliate tax(Long tax)
    • getTax

      @Nullable public Long getTax()
      Get tax
      Returns:
      tax
    • setTax

      public void setTax(Long tax)
    • thresholdReason

      public InvoiceAffiliate thresholdReason(ThresholdReasonAffiliate thresholdReason)
    • getThresholdReason

      @Nullable @Valid public @Valid ThresholdReasonAffiliate getThresholdReason()
      Get thresholdReason
      Returns:
      thresholdReason
    • setThresholdReason

      public void setThresholdReason(ThresholdReasonAffiliate thresholdReason)
    • total

      public InvoiceAffiliate total(Long total)
    • getTotal

      @Nullable public Long getTotal()
      Get total
      Returns:
      total
    • setTotal

      public void setTotal(Long total)
    • totalTaxAmounts

      public InvoiceAffiliate totalTaxAmounts(List<TotalTaxAmountAffiliate> totalTaxAmounts)
    • addTotalTaxAmountsItem

      public InvoiceAffiliate addTotalTaxAmountsItem(TotalTaxAmountAffiliate totalTaxAmountsItem)
    • getTotalTaxAmounts

      @Nullable @Valid public @Valid List<TotalTaxAmountAffiliate> getTotalTaxAmounts()
      Get totalTaxAmounts
      Returns:
      totalTaxAmounts
    • setTotalTaxAmounts

      public void setTotalTaxAmounts(List<TotalTaxAmountAffiliate> totalTaxAmounts)
    • transferData

      public InvoiceAffiliate transferData(Object transferData)
    • getTransferData

      @Nullable public Object getTransferData()
      Get transferData
      Returns:
      transferData
    • setTransferData

      public void setTransferData(Object transferData)
    • webhooksDeliveredAt

      public InvoiceAffiliate webhooksDeliveredAt(Long webhooksDeliveredAt)
    • getWebhooksDeliveredAt

      @Nullable public Long getWebhooksDeliveredAt()
      Get webhooksDeliveredAt
      Returns:
      webhooksDeliveredAt
    • setWebhooksDeliveredAt

      public void setWebhooksDeliveredAt(Long webhooksDeliveredAt)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object