Class ProcessPaymentResponse
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ProcessPaymentResponse.Builder,ProcessPaymentResponse>
Response structure for processing a payment.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final InstantThe timestamp when the payment was created.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe ID of the payment instrument used.final StringThe ARN of the payment manager.final PaymentOutputThe payment output details specific to the payment type.final StringThe ID of the payment session used.final PaymentTypeThe type of payment processed.final StringThe type of payment processed.final StringThe unique identifier of the processed payment.static Class<? extends ProcessPaymentResponse.Builder>final PaymentStatusstatus()The status of the payment.final StringThe status of the payment.final StringtoString()Returns a string representation of this object.final InstantThe timestamp when the payment was last updated.Methods inherited from class software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreResponse
responseMetadataMethods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponseMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
processPaymentId
The unique identifier of the processed payment.
- Returns:
- The unique identifier of the processed payment.
-
paymentManagerArn
The ARN of the payment manager.
- Returns:
- The ARN of the payment manager.
-
paymentSessionId
The ID of the payment session used.
- Returns:
- The ID of the payment session used.
-
paymentInstrumentId
The ID of the payment instrument used.
- Returns:
- The ID of the payment instrument used.
-
paymentType
The type of payment processed.
If the service returns an enum value that is not available in the current SDK version,
paymentTypewill returnPaymentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompaymentTypeAsString().- Returns:
- The type of payment processed.
- See Also:
-
paymentTypeAsString
The type of payment processed.
If the service returns an enum value that is not available in the current SDK version,
paymentTypewill returnPaymentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompaymentTypeAsString().- Returns:
- The type of payment processed.
- See Also:
-
status
The status of the payment.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnPaymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the payment.
- See Also:
-
statusAsString
The status of the payment.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnPaymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the payment.
- See Also:
-
paymentOutput
The payment output details specific to the payment type.
- Returns:
- The payment output details specific to the payment type.
-
createdAt
The timestamp when the payment was created.
- Returns:
- The timestamp when the payment was created.
-
updatedAt
The timestamp when the payment was last updated.
- Returns:
- The timestamp when the payment was last updated.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ProcessPaymentResponse.Builder,ProcessPaymentResponse> - Specified by:
toBuilderin classAwsResponse
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsResponse
-
equals
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-