Interface SendAgreementPaymentRequestRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SendAgreementPaymentRequestRequest.Builder,,SendAgreementPaymentRequestRequest> MarketplaceAgreementRequest.Builder,SdkBuilder<SendAgreementPaymentRequestRequest.Builder,,SendAgreementPaymentRequestRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SendAgreementPaymentRequestRequest
-
Method Summary
Modifier and TypeMethodDescriptionagreementId(String agreementId) The unique identifier of the agreement for which the payment request is being submitted.chargeAmount(String chargeAmount) The amount requested to be charged to the buyer, positive decimal value in the currency of the accepted term.clientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.description(String description) An optional detailed description of the payment request (1-2000 characters).A descriptive name for the payment request (5-64 characters).overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The unique identifier of theVariablePaymentTermfor the agreement that the payment request is being sent for.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.marketplaceagreement.model.MarketplaceAgreementRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agreementId
The unique identifier of the agreement for which the payment request is being submitted. Use
GetAgreementTermsto retrieve agreement term details.- Parameters:
agreementId- The unique identifier of the agreement for which the payment request is being submitted. UseGetAgreementTermsto retrieve agreement term details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
termId
The unique identifier of the
VariablePaymentTermfor the agreement that the payment request is being sent for.- Parameters:
termId- The unique identifier of theVariablePaymentTermfor the agreement that the payment request is being sent for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A descriptive name for the payment request (5-64 characters).
- Parameters:
name- A descriptive name for the payment request (5-64 characters).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chargeAmount
The amount requested to be charged to the buyer, positive decimal value in the currency of the accepted term.
A
ValidationExceptionis returned if thechargeAmountexceeds the available balance, if the agreement doesn't have an activeVariablePaymentTerm, or if thetermIdis invalid.- Parameters:
chargeAmount- The amount requested to be charged to the buyer, positive decimal value in the currency of the accepted term.A
ValidationExceptionis returned if thechargeAmountexceeds the available balance, if the agreement doesn't have an activeVariablePaymentTerm, or if thetermIdis invalid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
An optional detailed description of the payment request (1-2000 characters).
- Parameters:
description- An optional detailed description of the payment request (1-2000 characters).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SendAgreementPaymentRequestRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SendAgreementPaymentRequestRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-