Class PaymentSessionResponse
- java.lang.Object
-
- com.checkout.HttpMetadata
-
- com.checkout.common.Resource
-
- com.checkout.handlepaymentsandpayouts.flow.paymentsessions.responses.PaymentSessionResponse
-
public final class PaymentSessionResponse extends Resource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentSessionResponse.PaymentSessionResponseBuilder
-
Constructor Summary
Constructors Constructor Description PaymentSessionResponse()PaymentSessionResponse(java.lang.String id, java.lang.String paymentSessionToken, java.lang.String paymentSessionSecret)Creates a newPaymentSessionResponseinstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaymentSessionResponse.PaymentSessionResponseBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetId()The Payment Sessions unique identifierjava.lang.StringgetPaymentSessionSecret()The secret used by Flow to authenticate payment session requests.java.lang.StringgetPaymentSessionToken()A unique token representing the payment session, which you must provide when you initialize Flow.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
-
PaymentSessionResponse
public PaymentSessionResponse(java.lang.String id, java.lang.String paymentSessionToken, java.lang.String paymentSessionSecret)Creates a newPaymentSessionResponseinstance.- Parameters:
id- The Payment Sessions unique identifierpaymentSessionToken- A unique token representing the payment session, which you must provide when you initialize Flow. Do not log or store this value.paymentSessionSecret- The secret used by Flow to authenticate payment session requests. Do not log or store this value.
-
PaymentSessionResponse
public PaymentSessionResponse()
-
-
Method Detail
-
builder
public static PaymentSessionResponse.PaymentSessionResponseBuilder builder()
-
getId
public java.lang.String getId()
The Payment Sessions unique identifier
-
getPaymentSessionToken
public java.lang.String getPaymentSessionToken()
A unique token representing the payment session, which you must provide when you initialize Flow. Do not log or store this value.
-
getPaymentSessionSecret
public java.lang.String getPaymentSessionSecret()
The secret used by Flow to authenticate payment session requests. Do not log or store this value.
-
-