Class LinkBankAccountRequest


  • public class LinkBankAccountRequest
    extends java.lang.Object
    • Constructor Detail

      • LinkBankAccountRequest

        public LinkBankAccountRequest​(java.util.Optional<? extends BankAccountWaitFor> xWaitFor,
                                      java.lang.String accountID,
                                      LinkBankAccount linkBankAccount)
      • LinkBankAccountRequest

        public LinkBankAccountRequest​(java.lang.String accountID,
                                      LinkBankAccount linkBankAccount)
    • Method Detail

      • xWaitFor

        public java.util.Optional<BankAccountWaitFor> xWaitFor()
        Optional header to wait for certain events, such as the creation of a payment method, to occur before returning a response.

        When this header is set to `payment-method`, the response will include any payment methods that were created for the newly linked card in the `paymentMethods` field. Otherwise, the `paymentMethods` field will be omitted from the response.

      • accountID

        public java.lang.String accountID()
      • withXWaitFor

        public LinkBankAccountRequest withXWaitFor​(BankAccountWaitFor xWaitFor)
        Optional header to wait for certain events, such as the creation of a payment method, to occur before returning a response.

        When this header is set to `payment-method`, the response will include any payment methods that were created for the newly linked card in the `paymentMethods` field. Otherwise, the `paymentMethods` field will be omitted from the response.

      • withXWaitFor

        public LinkBankAccountRequest withXWaitFor​(java.util.Optional<? extends BankAccountWaitFor> xWaitFor)
        Optional header to wait for certain events, such as the creation of a payment method, to occur before returning a response.

        When this header is set to `payment-method`, the response will include any payment methods that were created for the newly linked card in the `paymentMethods` field. Otherwise, the `paymentMethods` field will be omitted from the response.

      • equals

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

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object