Interface MppPaymentInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MppPaymentInput.Builder,,MppPaymentInput> SdkBuilder<MppPaymentInput.Builder,,MppPaymentInput> SdkPojo
- Enclosing class:
MppPaymentInput
-
Method Summary
Modifier and TypeMethodDescriptionbuyerPaysGasFees(Boolean buyerPaysGasFees) Authorizes the service to sign a payment whose blockchain network (gas) fees are charged to your wallet, on top of the payment amount.The MPP protocol version, for example "1" or "2".wwwAuthenticateHeaders(String... wwwAuthenticateHeaders) The rawWWW-Authenticate: Paymentheader value from the 402 response, passed verbatim.wwwAuthenticateHeaders(Collection<String> wwwAuthenticateHeaders) The rawWWW-Authenticate: Paymentheader value from the 402 response, passed verbatim.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
-
version
The MPP protocol version, for example "1" or "2".
- Parameters:
version- The MPP protocol version, for example "1" or "2".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wwwAuthenticateHeaders
The raw
WWW-Authenticate: Paymentheader value from the 402 response, passed verbatim. Provide exactly one entry. The service uses this value to generate the payment credential.- Parameters:
wwwAuthenticateHeaders- The rawWWW-Authenticate: Paymentheader value from the 402 response, passed verbatim. Provide exactly one entry. The service uses this value to generate the payment credential.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wwwAuthenticateHeaders
The raw
WWW-Authenticate: Paymentheader value from the 402 response, passed verbatim. Provide exactly one entry. The service uses this value to generate the payment credential.- Parameters:
wwwAuthenticateHeaders- The rawWWW-Authenticate: Paymentheader value from the 402 response, passed verbatim. Provide exactly one entry. The service uses this value to generate the payment credential.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buyerPaysGasFees
Authorizes the service to sign a payment whose blockchain network (gas) fees are charged to your wallet, on top of the payment amount.
The challenge indicates who sponsors the network fees. When the challenge does not sponsor them, the service signs the payment only if this field is
true. Otherwise it returns a validation error, so you can decide whether to pay the fees or obtain a challenge that sponsors them.Optional. When omitted or
false, you decline to pay network fees. This field has no effect on challenges that already sponsor the fees.- Parameters:
buyerPaysGasFees- Authorizes the service to sign a payment whose blockchain network (gas) fees are charged to your wallet, on top of the payment amount.The challenge indicates who sponsors the network fees. When the challenge does not sponsor them, the service signs the payment only if this field is
true. Otherwise it returns a validation error, so you can decide whether to pay the fees or obtain a challenge that sponsors them.Optional. When omitted or
false, you decline to pay network fees. This field has no effect on challenges that already sponsor the fees.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-