Class RequestAPaymentOrPayoutResponseAccepted
- java.lang.Object
-
- com.checkout.HttpMetadata
-
- com.checkout.common.Resource
-
- com.checkout.handlepaymentsandpayouts.payments.postpayments.responses.requestapaymentorpayoutresponseaccepted.RequestAPaymentOrPayoutResponseAccepted
-
public final class RequestAPaymentOrPayoutResponseAccepted extends Resource
Request a payment or payout Response 202 Payment asynchronous or further action required
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRequestAPaymentOrPayoutResponseAccepted.RequestAPaymentOrPayoutResponseAcceptedBuilder
-
Constructor Summary
Constructors Constructor Description RequestAPaymentOrPayoutResponseAccepted()RequestAPaymentOrPayoutResponseAccepted(java.lang.String id, StatusType status, java.lang.String reference, Instruction instruction, Destination destination)Creates a newRequestAPaymentOrPayoutResponseAcceptedinstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RequestAPaymentOrPayoutResponseAccepted.RequestAPaymentOrPayoutResponseAcceptedBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)DestinationgetDestination()The refund destination.java.lang.StringgetId()The payment's unique identifier.InstructiongetInstruction()Instruction details for payouts to bank accounts.java.lang.StringgetReference()The payment's unique identifier.StatusTypegetStatus()The refund status.inthashCode()java.lang.StringtoString()-
Methods inherited from class com.checkout.common.Resource
getLink, getLinks, getSelfLink, setLinks
-
Methods inherited from class com.checkout.HttpMetadata
getBody, getHttpStatusCode, getRequestId, getResponseHeaders, setBody, setHttpStatusCode, setResponseHeaders
-
-
-
-
Constructor Detail
-
RequestAPaymentOrPayoutResponseAccepted
public RequestAPaymentOrPayoutResponseAccepted(java.lang.String id, StatusType status, java.lang.String reference, Instruction instruction, Destination destination)Creates a newRequestAPaymentOrPayoutResponseAcceptedinstance.- Parameters:
id- The payment's unique identifier. = 30 characters ^(pay)_(\w{26})$ [Required]status- The refund status. Enum: "Accepted" "Rejected" "Pending" [Required]reference- The payment's unique identifier. The reference you provided in the refund request. <= 50 characters [Optional]instruction- Instruction details for payouts to bank accounts. [Optional]destination- The refund destination. [Optional]
-
RequestAPaymentOrPayoutResponseAccepted
public RequestAPaymentOrPayoutResponseAccepted()
-
-
Method Detail
-
builder
public static RequestAPaymentOrPayoutResponseAccepted.RequestAPaymentOrPayoutResponseAcceptedBuilder builder()
-
getId
public java.lang.String getId()
The payment's unique identifier. = 30 characters ^(pay)_(\w{26})$ [Required]
-
getStatus
public StatusType getStatus()
The refund status. Enum: "Accepted" "Rejected" "Pending" [Required]
-
getReference
public java.lang.String getReference()
The payment's unique identifier. The reference you provided in the refund request. <= 50 characters [Optional]
-
getInstruction
public Instruction getInstruction()
Instruction details for payouts to bank accounts. [Optional]
-
getDestination
public Destination getDestination()
The refund destination. [Optional]
-
-