Class RequestAPaymentOrPayoutResponseAccepted


  • public final class RequestAPaymentOrPayoutResponseAccepted
    extends Resource
    Request a payment or payout Response 202 Payment asynchronous or further action required
    • Constructor Detail

      • RequestAPaymentOrPayoutResponseAccepted

        public RequestAPaymentOrPayoutResponseAccepted​(java.lang.String id,
                                                       StatusType status,
                                                       java.lang.String reference,
                                                       Instruction instruction,
                                                       Destination destination)
        Creates a new RequestAPaymentOrPayoutResponseAccepted instance.
        Parameters:
        id - The payment's unique identifier. = 30 characters ^(pay)_(\w{26})$ [Required]
        status - The refund status. Enum: "Accepted" "Rejected" "Pending" [Required]
        reference - The payment's unique identifier. The reference you provided in the refund request. <= 50 characters [Optional]
        instruction - Instruction details for payouts to bank accounts. [Optional]
        destination - The refund destination. [Optional]
      • RequestAPaymentOrPayoutResponseAccepted

        public RequestAPaymentOrPayoutResponseAccepted()
    • Method Detail

      • getId

        public java.lang.String getId()
        The payment's unique identifier. = 30 characters ^(pay)_(\w{26})$ [Required]
      • getStatus

        public StatusType getStatus()
        The refund status. Enum: "Accepted" "Rejected" "Pending" [Required]
      • getReference

        public java.lang.String getReference()
        The payment's unique identifier. The reference you provided in the refund request. <= 50 characters [Optional]
      • getInstruction

        public Instruction getInstruction()
        Instruction details for payouts to bank accounts. [Optional]
      • getDestination

        public Destination getDestination()
        The refund destination. [Optional]
      • 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