Interface InvoiceSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InvoiceSummary.Builder,,InvoiceSummary> SdkBuilder<InvoiceSummary.Builder,,InvoiceSummary> SdkPojo
- Enclosing class:
InvoiceSummary
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account ID.default InvoiceSummary.BuilderbaseCurrencyAmount(Consumer<InvoiceCurrencyAmount.Builder> baseCurrencyAmount) The summary with the product and service currency.baseCurrencyAmount(InvoiceCurrencyAmount baseCurrencyAmount) The summary with the product and service currency.default InvoiceSummary.BuilderbillingPeriod(Consumer<BillingPeriod.Builder> billingPeriod) The billing period of the invoice-related document.billingPeriod(BillingPeriod billingPeriod) The billing period of the invoice-related document.billSourceAccounts(String... billSourceAccounts) The list of Amazon Web Services account IDs that are the bill source of the invoice.billSourceAccounts(Collection<String> billSourceAccounts) The list of Amazon Web Services account IDs that are the bill source of the invoice.billSourceAccountsTotalCount(Integer billSourceAccountsTotalCount) The total number of accounts that are the bill source of the invoice.The type of the bill.The type of the bill.commercialInvoiceId(String commercialInvoiceId) The commercial invoice ID.The invoice due date.einvoiceDeliveryStatus(String einvoiceDeliveryStatus) The e-invoice delivery status.einvoiceDeliveryStatus(EinvoiceDeliveryStatus einvoiceDeliveryStatus) The e-invoice delivery status.default InvoiceSummary.Builderentity(Consumer<Entity.Builder> entity) The organization name providing Amazon Web Services services.The organization name providing Amazon Web Services services.invoiceFrequency(String invoiceFrequency) The frequency of the invoice.invoiceFrequency(InvoiceFrequency invoiceFrequency) The frequency of the invoice.The invoice ID.invoiceType(String invoiceType) The type of invoice.invoiceType(InvoiceType invoiceType) The type of invoice.issuedDate(Instant issuedDate) The issued date of the invoice.originalInvoiceId(String originalInvoiceId) The initial or original invoice ID.default InvoiceSummary.BuilderpaymentCurrencyAmount(Consumer<InvoiceCurrencyAmount.Builder> paymentCurrencyAmount) The summary with the customer configured currency.paymentCurrencyAmount(InvoiceCurrencyAmount paymentCurrencyAmount) The summary with the customer configured currency.purchaseOrderNumber(String purchaseOrderNumber) The purchase order number associated to the invoice.receiverRole(String receiverRole) The role of the invoice receiver.receiverRole(ReceiverRole receiverRole) The role of the invoice receiver.taxAuthorityStatus(String taxAuthorityStatus) The current status of an invoice as reported to the tax authority.taxAuthorityStatus(TaxAuthorityStatus taxAuthorityStatus) The current status of an invoice as reported to the tax authority.default InvoiceSummary.BuildertaxCurrencyAmount(Consumer<InvoiceCurrencyAmount.Builder> taxCurrencyAmount) The summary with the tax currency.taxCurrencyAmount(InvoiceCurrencyAmount taxCurrencyAmount) The summary with the tax currency.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
accountId
The Amazon Web Services account ID.
- Parameters:
accountId- The Amazon Web Services account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invoiceId
The invoice ID.
- Parameters:
invoiceId- The invoice ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuedDate
The issued date of the invoice.
- Parameters:
issuedDate- The issued date of the invoice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dueDate
The invoice due date.
- Parameters:
dueDate- The invoice due date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billSourceAccounts
The list of Amazon Web Services account IDs that are the bill source of the invoice. Currently, only a single bill source account is returned.
- Parameters:
billSourceAccounts- The list of Amazon Web Services account IDs that are the bill source of the invoice. Currently, only a single bill source account is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billSourceAccounts
The list of Amazon Web Services account IDs that are the bill source of the invoice. Currently, only a single bill source account is returned.
- Parameters:
billSourceAccounts- The list of Amazon Web Services account IDs that are the bill source of the invoice. Currently, only a single bill source account is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billSourceAccountsTotalCount
The total number of accounts that are the bill source of the invoice.
- Parameters:
billSourceAccountsTotalCount- The total number of accounts that are the bill source of the invoice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
receiverRole
The role of the invoice receiver.
- Parameters:
receiverRole- The role of the invoice receiver.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
receiverRole
The role of the invoice receiver.
- Parameters:
receiverRole- The role of the invoice receiver.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entity
The organization name providing Amazon Web Services services.
- Parameters:
entity- The organization name providing Amazon Web Services services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entity
The organization name providing Amazon Web Services services.
This is a convenience method that creates an instance of theEntity.Builderavoiding the need to create one manually viaEntity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentity(Entity).- Parameters:
entity- a consumer that will call methods onEntity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
billingPeriod
The billing period of the invoice-related document.
- Parameters:
billingPeriod- The billing period of the invoice-related document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingPeriod
The billing period of the invoice-related document.
This is a convenience method that creates an instance of theBillingPeriod.Builderavoiding the need to create one manually viaBillingPeriod.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobillingPeriod(BillingPeriod).- Parameters:
billingPeriod- a consumer that will call methods onBillingPeriod.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
invoiceFrequency
The frequency of the invoice.
- Parameters:
invoiceFrequency- The frequency of the invoice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
invoiceFrequency
The frequency of the invoice.
- Parameters:
invoiceFrequency- The frequency of the invoice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
billType
The type of the bill.
- Parameters:
billType- The type of the bill.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
billType
The type of the bill.
- Parameters:
billType- The type of the bill.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
invoiceType
The type of invoice.
- Parameters:
invoiceType- The type of invoice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
invoiceType
The type of invoice.
- Parameters:
invoiceType- The type of invoice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
commercialInvoiceId
The commercial invoice ID. This is only applicable for tax invoices and identifies the associated commercial invoice.
- Parameters:
commercialInvoiceId- The commercial invoice ID. This is only applicable for tax invoices and identifies the associated commercial invoice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originalInvoiceId
The initial or original invoice ID.
- Parameters:
originalInvoiceId- The initial or original invoice ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
purchaseOrderNumber
The purchase order number associated to the invoice.
- Parameters:
purchaseOrderNumber- The purchase order number associated to the invoice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
einvoiceDeliveryStatus
The e-invoice delivery status.
- Parameters:
einvoiceDeliveryStatus- The e-invoice delivery status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
einvoiceDeliveryStatus
The e-invoice delivery status.
- Parameters:
einvoiceDeliveryStatus- The e-invoice delivery status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
taxAuthorityStatus
The current status of an invoice as reported to the tax authority. This captures scenarios where an invoice may be cancelled after issuance.
- Parameters:
taxAuthorityStatus- The current status of an invoice as reported to the tax authority. This captures scenarios where an invoice may be cancelled after issuance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
taxAuthorityStatus
The current status of an invoice as reported to the tax authority. This captures scenarios where an invoice may be cancelled after issuance.
- Parameters:
taxAuthorityStatus- The current status of an invoice as reported to the tax authority. This captures scenarios where an invoice may be cancelled after issuance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
baseCurrencyAmount
The summary with the product and service currency.
- Parameters:
baseCurrencyAmount- The summary with the product and service currency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baseCurrencyAmount
default InvoiceSummary.Builder baseCurrencyAmount(Consumer<InvoiceCurrencyAmount.Builder> baseCurrencyAmount) The summary with the product and service currency.
This is a convenience method that creates an instance of theInvoiceCurrencyAmount.Builderavoiding the need to create one manually viaInvoiceCurrencyAmount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobaseCurrencyAmount(InvoiceCurrencyAmount).- Parameters:
baseCurrencyAmount- a consumer that will call methods onInvoiceCurrencyAmount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
taxCurrencyAmount
The summary with the tax currency.
- Parameters:
taxCurrencyAmount- The summary with the tax currency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxCurrencyAmount
default InvoiceSummary.Builder taxCurrencyAmount(Consumer<InvoiceCurrencyAmount.Builder> taxCurrencyAmount) The summary with the tax currency.
This is a convenience method that creates an instance of theInvoiceCurrencyAmount.Builderavoiding the need to create one manually viaInvoiceCurrencyAmount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totaxCurrencyAmount(InvoiceCurrencyAmount).- Parameters:
taxCurrencyAmount- a consumer that will call methods onInvoiceCurrencyAmount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentCurrencyAmount
The summary with the customer configured currency.
- Parameters:
paymentCurrencyAmount- The summary with the customer configured currency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentCurrencyAmount
default InvoiceSummary.Builder paymentCurrencyAmount(Consumer<InvoiceCurrencyAmount.Builder> paymentCurrencyAmount) The summary with the customer configured currency.
This is a convenience method that creates an instance of theInvoiceCurrencyAmount.Builderavoiding the need to create one manually viaInvoiceCurrencyAmount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topaymentCurrencyAmount(InvoiceCurrencyAmount).- Parameters:
paymentCurrencyAmount- a consumer that will call methods onInvoiceCurrencyAmount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-