Class SubmitPaymentSessionResponse


  • public final class SubmitPaymentSessionResponse
    extends Resource
    • Constructor Detail

      • SubmitPaymentSessionResponse

        public SubmitPaymentSessionResponse​(java.lang.String id,
                                            java.lang.String status,
                                            PaymentMethodType type,
                                            java.lang.String declineReason,
                                            java.lang.Object action)
        Creates a new SubmitPaymentSessionResponse instance.
        Parameters:
        id - The payment identifier.
        status - The payment's status. ApprovedDeclinedApproved
        type - The payment method name.
        declineReason - The reason for the payment decline.
        action - Instruction for further payment action.
      • SubmitPaymentSessionResponse

        public SubmitPaymentSessionResponse()
    • Method Detail

      • getId

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

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

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

        public java.lang.Object getAction()
        Instruction for further payment action.
      • 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