Class Invoice

java.lang.Object
travel.wink.sdk.extranet.model.Invoice

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-06-11T13:46:18.379510+07:00[Asia/Bangkok]") public class Invoice extends Object
Invoice
  • Field Details

  • Constructor Details

    • Invoice

      public Invoice()
  • Method Details

    • accountCountry

      public Invoice accountCountry(String accountCountry)
    • getAccountCountry

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

      public void setAccountCountry(String accountCountry)
    • accountName

      public Invoice accountName(String accountName)
    • getAccountName

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

      public void setAccountName(String accountName)
    • amountDue

      public Invoice amountDue(Long amountDue)
    • getAmountDue

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

      public void setAmountDue(Long amountDue)
    • amountPaid

      public Invoice amountPaid(Long amountPaid)
    • getAmountPaid

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

      public void setAmountPaid(Long amountPaid)
    • amountRemaining

      public Invoice amountRemaining(Long amountRemaining)
    • getAmountRemaining

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

      public void setAmountRemaining(Long amountRemaining)
    • applicationFeeAmount

      public Invoice applicationFeeAmount(Long applicationFeeAmount)
    • getApplicationFeeAmount

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

      public void setApplicationFeeAmount(Long applicationFeeAmount)
    • attemptCount

      public Invoice attemptCount(Long attemptCount)
    • getAttemptCount

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

      public void setAttemptCount(Long attemptCount)
    • attempted

      public Invoice attempted(Boolean attempted)
    • getAttempted

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

      public void setAttempted(Boolean attempted)
    • autoAdvance

      public Invoice autoAdvance(Boolean autoAdvance)
    • getAutoAdvance

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

      public void setAutoAdvance(Boolean autoAdvance)
    • billing

      public Invoice billing(String billing)
    • getBilling

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

      public void setBilling(String billing)
    • billingReason

      public Invoice billingReason(String billingReason)
    • getBillingReason

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

      public void setBillingReason(String billingReason)
    • collectionMethod

      public Invoice collectionMethod(String collectionMethod)
    • getCollectionMethod

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

      public void setCollectionMethod(String collectionMethod)
    • created

      public Invoice created(Long created)
    • getCreated

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

      public void setCreated(Long created)
    • currency

      public Invoice currency(String currency)
    • getCurrency

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

      public void setCurrency(String currency)
    • customerAddress

      public Invoice customerAddress(Address customerAddress)
    • getCustomerAddress

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

      public void setCustomerAddress(Address customerAddress)
    • customerEmail

      public Invoice customerEmail(String customerEmail)
    • getCustomerEmail

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

      public void setCustomerEmail(String customerEmail)
    • customerName

      public Invoice customerName(String customerName)
    • getCustomerName

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

      public void setCustomerName(String customerName)
    • customerPhone

      public Invoice customerPhone(String customerPhone)
    • getCustomerPhone

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

      public void setCustomerPhone(String customerPhone)
    • customerShipping

      public Invoice customerShipping(ShippingDetails customerShipping)
    • getCustomerShipping

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

      public void setCustomerShipping(ShippingDetails customerShipping)
    • customerTaxExempt

      public Invoice customerTaxExempt(String customerTaxExempt)
    • getCustomerTaxExempt

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

      public void setCustomerTaxExempt(String customerTaxExempt)
    • customerTaxIds

      public Invoice customerTaxIds(List<CustomerTaxId> customerTaxIds)
    • addCustomerTaxIdsItem

      public Invoice addCustomerTaxIdsItem(CustomerTaxId customerTaxIdsItem)
    • getCustomerTaxIds

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

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

      public Invoice defaultTaxRates(List<TaxRate> defaultTaxRates)
    • addDefaultTaxRatesItem

      public Invoice addDefaultTaxRatesItem(TaxRate defaultTaxRatesItem)
    • getDefaultTaxRates

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

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

      public Invoice deleted(Boolean deleted)
    • getDeleted

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

      public void setDeleted(Boolean deleted)
    • description

      public Invoice description(String description)
    • getDescription

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

      public void setDescription(String description)
    • discount

      public Invoice discount(Discount discount)
    • getDiscount

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

      public void setDiscount(Discount discount)
    • dueDate

      public Invoice dueDate(Long dueDate)
    • getDueDate

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

      public void setDueDate(Long dueDate)
    • endingBalance

      public Invoice endingBalance(Long endingBalance)
    • getEndingBalance

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

      public void setEndingBalance(Long endingBalance)
    • footer

      public Invoice footer(String footer)
    • getFooter

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

      public void setFooter(String footer)
    • hostedInvoiceUrl

      public Invoice hostedInvoiceUrl(String hostedInvoiceUrl)
    • getHostedInvoiceUrl

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

      public void setHostedInvoiceUrl(String hostedInvoiceUrl)
    • id

      public Invoice id(String id)
    • getId

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

      public void setId(String id)
    • invoicePdf

      public Invoice invoicePdf(String invoicePdf)
    • getInvoicePdf

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

      public void setInvoicePdf(String invoicePdf)
    • lines

      public Invoice lines(InvoiceLineItemCollection lines)
    • getLines

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

      public void setLines(InvoiceLineItemCollection lines)
    • livemode

      public Invoice livemode(Boolean livemode)
    • getLivemode

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

      public void setLivemode(Boolean livemode)
    • metadata

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

      public Invoice 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 Invoice nextPaymentAttempt(Long nextPaymentAttempt)
    • getNextPaymentAttempt

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

      public void setNextPaymentAttempt(Long nextPaymentAttempt)
    • number

      public Invoice number(String number)
    • getNumber

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

      public void setNumber(String number)
    • _object

      public Invoice _object(String _object)
    • getObject

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

      public void setObject(String _object)
    • paid

      public Invoice paid(Boolean paid)
    • getPaid

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

      public void setPaid(Boolean paid)
    • periodEnd

      public Invoice periodEnd(Long periodEnd)
    • getPeriodEnd

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

      public void setPeriodEnd(Long periodEnd)
    • periodStart

      public Invoice periodStart(Long periodStart)
    • getPeriodStart

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

      public void setPeriodStart(Long periodStart)
    • postPaymentCreditNotesAmount

      public Invoice postPaymentCreditNotesAmount(Long postPaymentCreditNotesAmount)
    • getPostPaymentCreditNotesAmount

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

      public void setPostPaymentCreditNotesAmount(Long postPaymentCreditNotesAmount)
    • prePaymentCreditNotesAmount

      public Invoice prePaymentCreditNotesAmount(Long prePaymentCreditNotesAmount)
    • getPrePaymentCreditNotesAmount

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

      public void setPrePaymentCreditNotesAmount(Long prePaymentCreditNotesAmount)
    • receiptNumber

      public Invoice receiptNumber(String receiptNumber)
    • getReceiptNumber

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

      public void setReceiptNumber(String receiptNumber)
    • startingBalance

      public Invoice startingBalance(Long startingBalance)
    • getStartingBalance

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

      public void setStartingBalance(Long startingBalance)
    • statementDescriptor

      public Invoice statementDescriptor(String statementDescriptor)
    • getStatementDescriptor

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

      public void setStatementDescriptor(String statementDescriptor)
    • status

      public Invoice status(String status)
    • getStatus

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

      public void setStatus(String status)
    • statusTransitions

      public Invoice statusTransitions(StatusTransitions statusTransitions)
    • getStatusTransitions

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

      public void setStatusTransitions(StatusTransitions statusTransitions)
    • subscriptionProrationDate

      public Invoice subscriptionProrationDate(Long subscriptionProrationDate)
    • getSubscriptionProrationDate

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

      public void setSubscriptionProrationDate(Long subscriptionProrationDate)
    • subtotal

      public Invoice subtotal(Long subtotal)
    • getSubtotal

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

      public void setSubtotal(Long subtotal)
    • tax

      public Invoice tax(Long tax)
    • getTax

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

      public void setTax(Long tax)
    • thresholdReason

      public Invoice thresholdReason(ThresholdReason thresholdReason)
    • getThresholdReason

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

      public void setThresholdReason(ThresholdReason thresholdReason)
    • total

      public Invoice total(Long total)
    • getTotal

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

      public void setTotal(Long total)
    • totalTaxAmounts

      public Invoice totalTaxAmounts(List<TaxAmount> totalTaxAmounts)
    • addTotalTaxAmountsItem

      public Invoice addTotalTaxAmountsItem(TaxAmount totalTaxAmountsItem)
    • getTotalTaxAmounts

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

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

      public Invoice transferData(Object transferData)
    • getTransferData

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

      public void setTransferData(Object transferData)
    • webhooksDeliveredAt

      public Invoice 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