Interface ExpectedCharge.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExpectedCharge.Builder,,ExpectedCharge> SdkBuilder<ExpectedCharge.Builder,,ExpectedCharge> SdkPojo
- Enclosing class:
ExpectedCharge
-
Method Summary
Modifier and TypeMethodDescriptionThe tax-exclusive amount of the charge.amountAfterTax(String amountAfterTax) The tax-inclusive amount the acceptor has to pay.default ExpectedCharge.BuilderestimatedTaxes(Consumer<EstimatedTaxes.Builder> estimatedTaxes) Provides an aggregated view of estimated tax information for this specific charge.estimatedTaxes(EstimatedTaxes estimatedTaxes) Provides an aggregated view of estimated tax information for this specific charge.Unique identifier of the charge for a given agreement.The date and time when the charge is due to be invoiced.Indicates when the charge amount will be incurred.Indicates when the charge amount will be incurred.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
-
id
Unique identifier of the charge for a given agreement.
- Parameters:
id- Unique identifier of the charge for a given agreement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
time
The date and time when the charge is due to be invoiced. This is available only when the charge date is known.
- Parameters:
time- The date and time when the charge is due to be invoiced. This is available only when the charge date is known.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amount
The tax-exclusive amount of the charge. Only available when the charge amount is known.
- Parameters:
amount- The tax-exclusive amount of the charge. Only available when the charge amount is known.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amountAfterTax
The tax-inclusive amount the acceptor has to pay. The amount is only present for fixed charges.
- Parameters:
amountAfterTax- The tax-inclusive amount the acceptor has to pay. The amount is only present for fixed charges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timing
Indicates when the charge amount will be incurred. Values include
ON_ACCEPTANCE(charged immediately when the agreement request is accepted),BILLING_PERIOD(charged on each billing period), andSCHEDULED(charged at a predetermined future date).- Parameters:
timing- Indicates when the charge amount will be incurred. Values includeON_ACCEPTANCE(charged immediately when the agreement request is accepted),BILLING_PERIOD(charged on each billing period), andSCHEDULED(charged at a predetermined future date).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timing
Indicates when the charge amount will be incurred. Values include
ON_ACCEPTANCE(charged immediately when the agreement request is accepted),BILLING_PERIOD(charged on each billing period), andSCHEDULED(charged at a predetermined future date).- Parameters:
timing- Indicates when the charge amount will be incurred. Values includeON_ACCEPTANCE(charged immediately when the agreement request is accepted),BILLING_PERIOD(charged on each billing period), andSCHEDULED(charged at a predetermined future date).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
estimatedTaxes
Provides an aggregated view of estimated tax information for this specific charge.
- Parameters:
estimatedTaxes- Provides an aggregated view of estimated tax information for this specific charge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedTaxes
Provides an aggregated view of estimated tax information for this specific charge.
This is a convenience method that creates an instance of theEstimatedTaxes.Builderavoiding the need to create one manually viaEstimatedTaxes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toestimatedTaxes(EstimatedTaxes).- Parameters:
estimatedTaxes- a consumer that will call methods onEstimatedTaxes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-