Class CreateTransferRequest


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

      • CreateTransferRequest

        public CreateTransferRequest​(java.lang.String xIdempotencyKey,
                                     java.util.Optional<? extends TransferWaitFor> xWaitFor,
                                     java.lang.String accountID,
                                     CreateTransfer createTransfer)
      • CreateTransferRequest

        public CreateTransferRequest​(java.lang.String xIdempotencyKey,
                                     java.lang.String accountID,
                                     CreateTransfer createTransfer)
    • Method Detail

      • xIdempotencyKey

        public java.lang.String xIdempotencyKey()
        Prevents duplicate transfers from being created.
      • xWaitFor

        public java.util.Optional<TransferWaitFor> xWaitFor()
        Optional header that indicates whether to return a synchronous response that includes full transfer and rail-specific details or an asynchronous response indicating the transfer was created (this is the default response if the header is omitted). A timeout will occur after 15 seconds.
      • accountID

        public java.lang.String accountID()
        Your Moov account ID.
      • withXIdempotencyKey

        public CreateTransferRequest withXIdempotencyKey​(java.lang.String xIdempotencyKey)
        Prevents duplicate transfers from being created.
      • withXWaitFor

        public CreateTransferRequest withXWaitFor​(TransferWaitFor xWaitFor)
        Optional header that indicates whether to return a synchronous response that includes full transfer and rail-specific details or an asynchronous response indicating the transfer was created (this is the default response if the header is omitted). A timeout will occur after 15 seconds.
      • withXWaitFor

        public CreateTransferRequest withXWaitFor​(java.util.Optional<? extends TransferWaitFor> xWaitFor)
        Optional header that indicates whether to return a synchronous response that includes full transfer and rail-specific details or an asynchronous response indicating the transfer was created (this is the default response if the header is omitted). A timeout will occur after 15 seconds.
      • withAccountID

        public CreateTransferRequest withAccountID​(java.lang.String accountID)
        Your Moov account ID.
      • 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