Package io.moov.sdk.models.operations
Class LinkBankAccountRequest
- java.lang.Object
-
- io.moov.sdk.models.operations.LinkBankAccountRequest
-
public class LinkBankAccountRequest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLinkBankAccountRequest.Builder
-
Constructor Summary
Constructors Constructor Description LinkBankAccountRequest(java.lang.String accountID, LinkBankAccount linkBankAccount)LinkBankAccountRequest(java.util.Optional<? extends BankAccountWaitFor> xWaitFor, java.lang.String accountID, LinkBankAccount linkBankAccount)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringaccountID()static LinkBankAccountRequest.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()LinkBankAccountlinkBankAccount()java.lang.StringtoString()LinkBankAccountRequestwithAccountID(java.lang.String accountID)LinkBankAccountRequestwithLinkBankAccount(LinkBankAccount linkBankAccount)LinkBankAccountRequestwithXWaitFor(BankAccountWaitFor xWaitFor)Optional header to wait for certain events, such as the creation of a payment method, to occur before returning a response.LinkBankAccountRequestwithXWaitFor(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.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.
-
-
-
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()
-
linkBankAccount
public LinkBankAccount linkBankAccount()
-
builder
public static LinkBankAccountRequest.Builder builder()
-
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.
-
withAccountID
public LinkBankAccountRequest withAccountID(java.lang.String accountID)
-
withLinkBankAccount
public LinkBankAccountRequest withLinkBankAccount(LinkBankAccount linkBankAccount)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-