Interface ProcessPaymentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreResponse.Builder,Buildable,CopyableBuilder<ProcessPaymentResponse.Builder,,ProcessPaymentResponse> SdkBuilder<ProcessPaymentResponse.Builder,,ProcessPaymentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ProcessPaymentResponse
@Mutable
@NotThreadSafe
public static interface ProcessPaymentResponse.Builder
extends BedrockAgentCoreResponse.Builder, SdkPojo, CopyableBuilder<ProcessPaymentResponse.Builder,ProcessPaymentResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp when the payment was created.paymentInstrumentId(String paymentInstrumentId) The ID of the payment instrument used.paymentManagerArn(String paymentManagerArn) The ARN of the payment manager.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 used.paymentType(String paymentType) The type of payment processed.paymentType(PaymentType paymentType) The type of payment processed.processPaymentId(String processPaymentId) The unique identifier of the processed payment.The status of the payment.status(PaymentStatus status) The status of the payment.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 identifier of the processed payment.
- Parameters:
processPaymentId- The unique identifier of the processed payment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentManagerArn
The ARN of the payment manager.
- Parameters:
paymentManagerArn- The ARN of the payment manager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentSessionId
The ID of the payment session used.
- Parameters:
paymentSessionId- The ID of the payment session used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentInstrumentId
The ID of the payment instrument used.
- Parameters:
paymentInstrumentId- The ID of the payment instrument used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentType
The type of payment processed.
- Parameters:
paymentType- The type of payment processed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentType
The type of payment processed.
- Parameters:
paymentType- The type of payment processed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the payment.
- Parameters:
status- The status of the payment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the payment.
- Parameters:
status- The status of the payment.- 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.
-