Interface InvoiceCurrencyAmount.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InvoiceCurrencyAmount.Builder,
,InvoiceCurrencyAmount> SdkBuilder<InvoiceCurrencyAmount.Builder,
,InvoiceCurrencyAmount> SdkPojo
- Enclosing class:
InvoiceCurrencyAmount
@Mutable
@NotThreadSafe
public static interface InvoiceCurrencyAmount.Builder
extends SdkPojo, CopyableBuilder<InvoiceCurrencyAmount.Builder,InvoiceCurrencyAmount>
-
Method Summary
Modifier and TypeMethodDescriptiondefault InvoiceCurrencyAmount.Builder
amountBreakdown
(Consumer<AmountBreakdown.Builder> amountBreakdown) Details about the invoice currency amount.amountBreakdown
(AmountBreakdown amountBreakdown) Details about the invoice currency amount.currencyCode
(String currencyCode) The currency dominion of the invoice document.default InvoiceCurrencyAmount.Builder
currencyExchangeDetails
(Consumer<CurrencyExchangeDetails.Builder> currencyExchangeDetails) The details of currency exchange.currencyExchangeDetails
(CurrencyExchangeDetails currencyExchangeDetails) The details of currency exchange.totalAmount
(String totalAmount) The invoice currency amount.totalAmountBeforeTax
(String totalAmountBeforeTax) Details about the invoice total amount before tax.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
-
totalAmount
The invoice currency amount.
- Parameters:
totalAmount
- The invoice currency amount.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalAmountBeforeTax
Details about the invoice total amount before tax.
- Parameters:
totalAmountBeforeTax
- Details about the invoice total amount before tax.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currencyCode
The currency dominion of the invoice document.
- Parameters:
currencyCode
- The currency dominion of the invoice document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amountBreakdown
Details about the invoice currency amount.
- Parameters:
amountBreakdown
- Details about the invoice currency amount.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amountBreakdown
default InvoiceCurrencyAmount.Builder amountBreakdown(Consumer<AmountBreakdown.Builder> amountBreakdown) Details about the invoice currency amount.
This is a convenience method that creates an instance of theAmountBreakdown.Builder
avoiding the need to create one manually viaAmountBreakdown.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toamountBreakdown(AmountBreakdown)
.- Parameters:
amountBreakdown
- a consumer that will call methods onAmountBreakdown.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currencyExchangeDetails
InvoiceCurrencyAmount.Builder currencyExchangeDetails(CurrencyExchangeDetails currencyExchangeDetails) The details of currency exchange.
- Parameters:
currencyExchangeDetails
- The details of currency exchange.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currencyExchangeDetails
default InvoiceCurrencyAmount.Builder currencyExchangeDetails(Consumer<CurrencyExchangeDetails.Builder> currencyExchangeDetails) The details of currency exchange.
This is a convenience method that creates an instance of theCurrencyExchangeDetails.Builder
avoiding the need to create one manually viaCurrencyExchangeDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocurrencyExchangeDetails(CurrencyExchangeDetails)
.- Parameters:
currencyExchangeDetails
- a consumer that will call methods onCurrencyExchangeDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-