Class PaymentSessionResponse.PaymentSessionResponseBuilder
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.flow.paymentsessions.responses.PaymentSessionResponse.PaymentSessionResponseBuilder
-
- Enclosing class:
- PaymentSessionResponse
public static class PaymentSessionResponse.PaymentSessionResponseBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentSessionResponsebuild()PaymentSessionResponse.PaymentSessionResponseBuilderid(java.lang.String id)The Payment Sessions unique identifierPaymentSessionResponse.PaymentSessionResponseBuilderpaymentSessionSecret(java.lang.String paymentSessionSecret)The secret used by Flow to authenticate payment session requests.PaymentSessionResponse.PaymentSessionResponseBuilderpaymentSessionToken(java.lang.String paymentSessionToken)A unique token representing the payment session, which you must provide when you initialize Flow.java.lang.StringtoString()
-
-
-
Method Detail
-
id
public PaymentSessionResponse.PaymentSessionResponseBuilder id(java.lang.String id)
The Payment Sessions unique identifier- Returns:
this.
-
paymentSessionToken
public PaymentSessionResponse.PaymentSessionResponseBuilder paymentSessionToken(java.lang.String paymentSessionToken)
A unique token representing the payment session, which you must provide when you initialize Flow. Do not log or store this value.- Returns:
this.
-
paymentSessionSecret
public PaymentSessionResponse.PaymentSessionResponseBuilder paymentSessionSecret(java.lang.String paymentSessionSecret)
The secret used by Flow to authenticate payment session requests. Do not log or store this value.- Returns:
this.
-
build
public PaymentSessionResponse build()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-