Class PaymentSessionWithPaymentResponse


  • public class PaymentSessionWithPaymentResponse
    extends Resource
    • Constructor Detail

      • PaymentSessionWithPaymentResponse

        public PaymentSessionWithPaymentResponse​(java.lang.String id,
                                                 java.lang.String status,
                                                 PaymentMethodType type,
                                                 java.lang.Object action,
                                                 java.lang.String paymentSessionId,
                                                 java.lang.String paymentSessionSecret,
                                                 java.lang.String declineReason)
        Creates a new PaymentSessionWithPaymentResponse instance.
        Parameters:
        id - The payment identifier.
        status - The payment's status. ApprovedDeclinedApproved
        type - The payment method name.
        action - Instruction for further payment action.
        paymentSessionId - The Payment Sessions unique identifier
        paymentSessionSecret - The secret used by Flow to authenticate payment session requests. Do not log or store this value.
        declineReason - The reason for the payment decline.
      • PaymentSessionWithPaymentResponse

        public PaymentSessionWithPaymentResponse()
    • Method Detail

      • getId

        public java.lang.String getId()
        The payment identifier.
      • getStatus

        public java.lang.String getStatus()
        The payment's status. ApprovedDeclinedApproved
      • getAction

        public java.lang.Object getAction()
        Instruction for further payment action.
      • getPaymentSessionId

        public java.lang.String getPaymentSessionId()
        The Payment Sessions unique identifier
      • getPaymentSessionSecret

        public java.lang.String getPaymentSessionSecret()
        The secret used by Flow to authenticate payment session requests. Do not log or store this value.
      • getDeclineReason

        public java.lang.String getDeclineReason()
        The reason for the payment decline.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Resource
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class Resource
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
        Overrides:
        canEqual in class Resource