Interface MppPaymentOutput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MppPaymentOutput.Builder,,MppPaymentOutput> SdkBuilder<MppPaymentOutput.Builder,,MppPaymentOutput> SdkPojo
- Enclosing class:
MppPaymentOutput
@Mutable
@NotThreadSafe
public static interface MppPaymentOutput.Builder
extends SdkPojo, CopyableBuilder<MppPaymentOutput.Builder,MppPaymentOutput>
-
Method Summary
Modifier and TypeMethodDescriptionpaymentCredential(String paymentCredential) Ready-to-send value for theAuthorizationheader, in the form "Payment <base64url-token>".selectedPaymentId(String selectedPaymentId) The id of the challenge that was paid, echoed from the input challenge so you can correlate the result without decoding the credential.The MPP protocol version, for example "1" or "2".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.
-
selectedPaymentId
The id of the challenge that was paid, echoed from the input challenge so you can correlate the result without decoding the credential.
- Parameters:
selectedPaymentId- The id of the challenge that was paid, echoed from the input challenge so you can correlate the result without decoding the credential.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentCredential
Ready-to-send value for the
Authorizationheader, in the form "Payment <base64url-token>". Attach this header and retry the original request. To inspect the full credential, base64url-decode the token.- Parameters:
paymentCredential- Ready-to-send value for theAuthorizationheader, in the form "Payment <base64url-token>". Attach this header and retry the original request. To inspect the full credential, base64url-decode the token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-