Interface PaymentInstrument.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PaymentInstrument.Builder,,PaymentInstrument> SdkBuilder<PaymentInstrument.Builder,,PaymentInstrument> SdkPojo
- Enclosing class:
PaymentInstrument
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp when this payment instrument was created.paymentConnectorId(String paymentConnectorId) The ID of the payment connector associated with this instrument.default PaymentInstrument.BuilderpaymentInstrumentDetails(Consumer<PaymentInstrumentDetails.Builder> paymentInstrumentDetails) The details specific to the payment instrument type.paymentInstrumentDetails(PaymentInstrumentDetails paymentInstrumentDetails) The details specific to the payment instrument type.paymentInstrumentId(String paymentInstrumentId) The unique identifier for this payment instrument.paymentInstrumentType(String paymentInstrumentType) The type of payment instrument (e.g., EMBEDDED_CRYPTO_WALLET).paymentInstrumentType(PaymentInstrumentType paymentInstrumentType) The type of payment instrument (e.g., EMBEDDED_CRYPTO_WALLET).paymentManagerArn(String paymentManagerArn) The ARN of the payment manager that owns this payment instrument.The current status of this payment instrument.status(PaymentInstrumentStatus status) The current status of this payment instrument.The timestamp when this payment instrument was last updated.The user ID associated with this payment instrument.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
-
paymentInstrumentId
The unique identifier for this payment instrument.
- Parameters:
paymentInstrumentId- The unique identifier for this payment instrument.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentManagerArn
The ARN of the payment manager that owns this payment instrument.
- Parameters:
paymentManagerArn- The ARN of the payment manager that owns this payment instrument.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentConnectorId
The ID of the payment connector associated with this instrument.
- Parameters:
paymentConnectorId- The ID of the payment connector associated with this instrument.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userId
The user ID associated with this payment instrument.
- Parameters:
userId- The user ID associated with this payment instrument.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentInstrumentType
The type of payment instrument (e.g., EMBEDDED_CRYPTO_WALLET).
- Parameters:
paymentInstrumentType- The type of payment instrument (e.g., EMBEDDED_CRYPTO_WALLET).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentInstrumentType
The type of payment instrument (e.g., EMBEDDED_CRYPTO_WALLET).
- Parameters:
paymentInstrumentType- The type of payment instrument (e.g., EMBEDDED_CRYPTO_WALLET).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentInstrumentDetails
PaymentInstrument.Builder paymentInstrumentDetails(PaymentInstrumentDetails paymentInstrumentDetails) The details specific to the payment instrument type.
- Parameters:
paymentInstrumentDetails- The details specific to the payment instrument type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentInstrumentDetails
default PaymentInstrument.Builder paymentInstrumentDetails(Consumer<PaymentInstrumentDetails.Builder> paymentInstrumentDetails) The details specific to the payment instrument type.
This is a convenience method that creates an instance of thePaymentInstrumentDetails.Builderavoiding the need to create one manually viaPaymentInstrumentDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topaymentInstrumentDetails(PaymentInstrumentDetails).- Parameters:
paymentInstrumentDetails- a consumer that will call methods onPaymentInstrumentDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when this payment instrument was created.
- Parameters:
createdAt- The timestamp when this payment instrument was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of this payment instrument.
- Parameters:
status- The current status of this payment instrument.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of this payment instrument.
- Parameters:
status- The current status of this payment instrument.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updatedAt
The timestamp when this payment instrument was last updated.
- Parameters:
updatedAt- The timestamp when this payment instrument was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-