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.Builder
baseCurrencyAmount
(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.Builder
billingPeriod
(Consumer<BillingPeriod.Builder> billingPeriod) The billing period of the invoice-related document.billingPeriod
(BillingPeriod billingPeriod) The billing period of the invoice-related document.The invoice due date.default InvoiceSummary.Builder
entity
(Consumer<Entity.Builder> entity) The organization name providing Amazon Web Services services.The organization name providing Amazon Web Services services.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.Builder
paymentCurrencyAmount
(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.default InvoiceSummary.Builder
taxCurrencyAmount
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.
-
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.Builder
avoiding the need to create one manually viaEntity.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaBillingPeriod.builder()
.When the
Consumer
completes,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:
-
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:
-
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.
-
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.Builder
avoiding the need to create one manually viaInvoiceCurrencyAmount.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaInvoiceCurrencyAmount.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaInvoiceCurrencyAmount.builder()
.When the
Consumer
completes,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:
-