Package io.moov.sdk.models.operations
Class LinkBankAccountRequest.Builder
- java.lang.Object
-
- io.moov.sdk.models.operations.LinkBankAccountRequest.Builder
-
- Enclosing class:
- LinkBankAccountRequest
public static final class LinkBankAccountRequest.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkBankAccountRequest.BuilderaccountID(java.lang.String accountID)LinkBankAccountRequestbuild()LinkBankAccountRequest.BuilderlinkBankAccount(LinkBankAccount linkBankAccount)LinkBankAccountRequest.BuilderxWaitFor(BankAccountWaitFor xWaitFor)Optional header to wait for certain events, such as the creation of a payment method, to occur before returning a response.LinkBankAccountRequest.BuilderxWaitFor(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.
-
-
-
Method Detail
-
xWaitFor
public LinkBankAccountRequest.Builder xWaitFor(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.
-
xWaitFor
public LinkBankAccountRequest.Builder xWaitFor(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.
-
accountID
public LinkBankAccountRequest.Builder accountID(java.lang.String accountID)
-
linkBankAccount
public LinkBankAccountRequest.Builder linkBankAccount(LinkBankAccount linkBankAccount)
-
build
public LinkBankAccountRequest build()
-
-