Interface ProcessPaymentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreResponse.Builder,Buildable,CopyableBuilder<ProcessPaymentResponse.Builder,,ProcessPaymentResponse> SdkBuilder<ProcessPaymentResponse.Builder,,ProcessPaymentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ProcessPaymentResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp when the payment was created.paymentInstrumentId(String paymentInstrumentId) The ID of the payment instrument used for this transaction.paymentManagerArn(String paymentManagerArn) The ARN of the payment manager that processed this payment.default ProcessPaymentResponse.BuilderpaymentOutput(Consumer<PaymentOutput.Builder> paymentOutput) The payment output details specific to the payment type.paymentOutput(PaymentOutput paymentOutput) The payment output details specific to the payment type.paymentSessionId(String paymentSessionId) The ID of the payment session for this transaction.paymentType(String paymentType) The type of payment that was processed.paymentType(PaymentType paymentType) The type of payment that was processed.processPaymentId(String processPaymentId) The unique ID of the processed payment transaction.The status of the payment transaction.status(PaymentStatus status) The status of the payment transaction.The timestamp when the payment was last updated.Methods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
processPaymentId
The unique ID of the processed payment transaction.
- Parameters:
processPaymentId- The unique ID of the processed payment transaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentManagerArn
The ARN of the payment manager that processed this payment.
- Parameters:
paymentManagerArn- The ARN of the payment manager that processed this payment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentSessionId
The ID of the payment session for this transaction.
- Parameters:
paymentSessionId- The ID of the payment session for this transaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentInstrumentId
The ID of the payment instrument used for this transaction.
- Parameters:
paymentInstrumentId- The ID of the payment instrument used for this transaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentType
The type of payment that was processed.
- Parameters:
paymentType- The type of payment that was processed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentType
The type of payment that was processed.
- Parameters:
paymentType- The type of payment that was processed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the payment transaction.
- Parameters:
status- The status of the payment transaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the payment transaction.
- Parameters:
status- The status of the payment transaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentOutput
The payment output details specific to the payment type.
- Parameters:
paymentOutput- The payment output details specific to the payment type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentOutput
The payment output details specific to the payment type.
This is a convenience method that creates an instance of thePaymentOutput.Builderavoiding the need to create one manually viaPaymentOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topaymentOutput(PaymentOutput).- Parameters:
paymentOutput- a consumer that will call methods onPaymentOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the payment was created.
- Parameters:
createdAt- The timestamp when the payment was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the payment was last updated.
- Parameters:
updatedAt- The timestamp when the payment was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-