public static class InvoiceSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public InvoiceSummary.Builder spmInvoiceNumber(String spmInvoiceNumber)
SPM Document Number is an functional identifier for invoice in SPM
spmInvoiceNumber
- the value to setpublic InvoiceSummary.Builder arInvoices(String arInvoices)
AR Invoice Numbers comma separated under one invoice
arInvoices
- the value to setpublic InvoiceSummary.Builder billToCustomer(InvoicingBusinessPartner billToCustomer)
public InvoiceSummary.Builder billToContact(InvoicingUser billToContact)
public InvoiceSummary.Builder billToAddress(InvoicingAddress billToAddress)
public InvoiceSummary.Builder paymentMethod(String paymentMethod)
Payment Method
paymentMethod
- the value to setpublic InvoiceSummary.Builder paymentTerm(InvoicingPaymentTerm paymentTerm)
public InvoiceSummary.Builder receiptMethod(String receiptMethod)
Receipt Method of Payment Mode
receiptMethod
- the value to setpublic InvoiceSummary.Builder currency(InvoicingCurrency currency)
public InvoiceSummary.Builder organization(InvoicingOrganization organization)
public InvoiceSummary.Builder type(String type)
Document Type in SPM like SPM Invoice,SPM Credit Memo etc.,
type
- the value to setpublic InvoiceSummary.Builder status(String status)
Document Status in SPM which depicts current state of invoice
status
- the value to setpublic InvoiceSummary.Builder subscriptionNumber(String subscriptionNumber)
Invoice associated subscription plan number.
subscriptionNumber
- the value to setpublic InvoiceSummary.Builder timeInvoiceDate(Date timeInvoiceDate)
Invoice Date
timeInvoiceDate
- the value to setpublic InvoiceSummary.Builder timeCreated(Date timeCreated)
SPM Invocie creation date
timeCreated
- the value to setpublic InvoiceSummary.Builder createdBy(String createdBy)
User that executed SPM Invoice process
createdBy
- the value to setpublic InvoiceSummary.Builder timeUpdated(Date timeUpdated)
SPM Invoice updated date
timeUpdated
- the value to setpublic InvoiceSummary.Builder updatedBy(String updatedBy)
User that updated SPM Invoice
updatedBy
- the value to setpublic InvoiceSummary.Builder invoiceLines(List<InvoiceLineSummary> invoiceLines)
Invoice Lines under particular invoice.
invoiceLines
- the value to setpublic InvoiceSummary build()
public InvoiceSummary.Builder copy(InvoiceSummary model)
Copyright © 2016–2024. All rights reserved.