Class PaymentSessionWithPaymentResponse.PaymentSessionWithPaymentResponseBuilder
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.flow.paymentsessionscomplete.responses.PaymentSessionWithPaymentResponse.PaymentSessionWithPaymentResponseBuilder
-
- Enclosing class:
- PaymentSessionWithPaymentResponse
public static class PaymentSessionWithPaymentResponse.PaymentSessionWithPaymentResponseBuilder extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
id
public PaymentSessionWithPaymentResponse.PaymentSessionWithPaymentResponseBuilder id(java.lang.String id)
The payment identifier.- Returns:
this.
-
status
public PaymentSessionWithPaymentResponse.PaymentSessionWithPaymentResponseBuilder status(java.lang.String status)
The payment's status. ApprovedDeclinedApproved- Returns:
this.
-
type
public PaymentSessionWithPaymentResponse.PaymentSessionWithPaymentResponseBuilder type(PaymentMethodType type)
The payment method name.- Returns:
this.
-
action
public PaymentSessionWithPaymentResponse.PaymentSessionWithPaymentResponseBuilder action(java.lang.Object action)
Instruction for further payment action.- Returns:
this.
-
paymentSessionId
public PaymentSessionWithPaymentResponse.PaymentSessionWithPaymentResponseBuilder paymentSessionId(java.lang.String paymentSessionId)
The Payment Sessions unique identifier- Returns:
this.
-
paymentSessionSecret
public PaymentSessionWithPaymentResponse.PaymentSessionWithPaymentResponseBuilder paymentSessionSecret(java.lang.String paymentSessionSecret)
The secret used by Flow to authenticate payment session requests. Do not log or store this value.- Returns:
this.
-
declineReason
public PaymentSessionWithPaymentResponse.PaymentSessionWithPaymentResponseBuilder declineReason(java.lang.String declineReason)
The reason for the payment decline.- Returns:
this.
-
build
public PaymentSessionWithPaymentResponse build()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-