Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Invoice.Builder |
billToAddress(BillToAddress billToAddress) |
Invoice |
build() |
Invoice.Builder |
copy(Invoice model) |
Invoice.Builder |
currency(Currency currency) |
Invoice.Builder |
internalInvoiceId(String internalInvoiceId)
Transaction identifier
|
Invoice.Builder |
invoiceAmount(BigDecimal invoiceAmount)
Total amount of invoice
|
Invoice.Builder |
invoiceAmountAdjusted(BigDecimal invoiceAmountAdjusted)
Invoice amount adjust
|
Invoice.Builder |
invoiceAmountApplied(BigDecimal invoiceAmountApplied)
Invoice amount applied
|
Invoice.Builder |
invoiceAmountCredited(BigDecimal invoiceAmountCredited)
Invoice amount credit
|
Invoice.Builder |
invoiceAmountDue(BigDecimal invoiceAmountDue)
Balance of invoice
|
Invoice.Builder |
invoiceId(String invoiceId)
Invoice identifier which is generated on the on-premise sie.
|
Invoice.Builder |
invoiceNumber(String invoiceNumber)
Invoice external reference
|
Invoice.Builder |
invoicePoNumber(String invoicePoNumber)
Invoice PO number
|
Invoice.Builder |
invoiceRefNumber(String invoiceRefNumber)
Invoice reference number
|
Invoice.Builder |
invoiceStatus(Invoice.InvoiceStatus invoiceStatus)
Invoice status
|
Invoice.Builder |
invoiceType(Invoice.InvoiceType invoiceType)
Type of invoice
|
Invoice.Builder |
isCreditCardPayable(Boolean isCreditCardPayable)
Is credit card payment eligible
|
Invoice.Builder |
isDisplayDownloadPdf(Boolean isDisplayDownloadPdf)
Is pdf download access allowed
|
Invoice.Builder |
isPayable(Boolean isPayable)
Whether invoice can be payed
|
Invoice.Builder |
isPdfEmailAvailable(Boolean isPdfEmailAvailable)
Is emailing pdf allowed
|
Invoice.Builder |
lastPaymentDetail(PaymentDetail lastPaymentDetail) |
Invoice.Builder |
paymentTerms(String paymentTerms)
Payment terms
|
Invoice.Builder |
preferredEmail(String preferredEmail)
Preferred Email on the invoice
|
Invoice.Builder |
subscriptionIds(List<String> subscriptionIds)
List of subscription identifiers
|
Invoice.Builder |
tax(BigDecimal tax)
Tax of invoice amount
|
Invoice.Builder |
timeInvoice(Date timeInvoice)
Date of invoice
|
Invoice.Builder |
timeInvoiceDue(Date timeInvoiceDue)
Due date of invoice
|
public Invoice.Builder invoiceId(String invoiceId)
Invoice identifier which is generated on the on-premise sie. Pls note this is not an OCID
invoiceId
- the value to setpublic Invoice.Builder invoiceNumber(String invoiceNumber)
Invoice external reference
invoiceNumber
- the value to setpublic Invoice.Builder internalInvoiceId(String internalInvoiceId)
Transaction identifier
internalInvoiceId
- the value to setpublic Invoice.Builder isCreditCardPayable(Boolean isCreditCardPayable)
Is credit card payment eligible
isCreditCardPayable
- the value to setpublic Invoice.Builder timeInvoice(Date timeInvoice)
Date of invoice
timeInvoice
- the value to setpublic Invoice.Builder tax(BigDecimal tax)
Tax of invoice amount
tax
- the value to setpublic Invoice.Builder invoiceAmount(BigDecimal invoiceAmount)
Total amount of invoice
invoiceAmount
- the value to setpublic Invoice.Builder invoiceAmountDue(BigDecimal invoiceAmountDue)
Balance of invoice
invoiceAmountDue
- the value to setpublic Invoice.Builder invoiceAmountCredited(BigDecimal invoiceAmountCredited)
Invoice amount credit
invoiceAmountCredited
- the value to setpublic Invoice.Builder invoiceAmountAdjusted(BigDecimal invoiceAmountAdjusted)
Invoice amount adjust
invoiceAmountAdjusted
- the value to setpublic Invoice.Builder invoiceAmountApplied(BigDecimal invoiceAmountApplied)
Invoice amount applied
invoiceAmountApplied
- the value to setpublic Invoice.Builder currency(Currency currency)
public Invoice.Builder invoiceType(Invoice.InvoiceType invoiceType)
Type of invoice
invoiceType
- the value to setpublic Invoice.Builder timeInvoiceDue(Date timeInvoiceDue)
Due date of invoice
timeInvoiceDue
- the value to setpublic Invoice.Builder invoiceRefNumber(String invoiceRefNumber)
Invoice reference number
invoiceRefNumber
- the value to setpublic Invoice.Builder invoicePoNumber(String invoicePoNumber)
Invoice PO number
invoicePoNumber
- the value to setpublic Invoice.Builder invoiceStatus(Invoice.InvoiceStatus invoiceStatus)
Invoice status
invoiceStatus
- the value to setpublic Invoice.Builder preferredEmail(String preferredEmail)
Preferred Email on the invoice
preferredEmail
- the value to setpublic Invoice.Builder isPdfEmailAvailable(Boolean isPdfEmailAvailable)
Is emailing pdf allowed
isPdfEmailAvailable
- the value to setpublic Invoice.Builder isDisplayDownloadPdf(Boolean isDisplayDownloadPdf)
Is pdf download access allowed
isDisplayDownloadPdf
- the value to setpublic Invoice.Builder isPayable(Boolean isPayable)
Whether invoice can be payed
isPayable
- the value to setpublic Invoice.Builder paymentTerms(String paymentTerms)
Payment terms
paymentTerms
- the value to setpublic Invoice.Builder lastPaymentDetail(PaymentDetail lastPaymentDetail)
public Invoice.Builder billToAddress(BillToAddress billToAddress)
public Invoice.Builder subscriptionIds(List<String> subscriptionIds)
List of subscription identifiers
subscriptionIds
- the value to setpublic Invoice build()
public Invoice.Builder copy(Invoice model)
Copyright © 2016–2024. All rights reserved.