Class PostTransferBankModel
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.model.PostTransferBankModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-09-26T13:19:20.230846Z[Etc/UTC]") public class PostTransferBankModel extends Object
PostTransferBankModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPostTransferBankModel.ExpectedErrorEnumThe optional expected error to simulate transfer failure.static classPostTransferBankModel.TransferTypeEnumThe type of transfer.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DESTINATION_ACCOUNT_GUIDstatic StringJSON_PROPERTY_EXPECTED_ERRORstatic StringJSON_PROPERTY_EXTERNAL_BANK_ACCOUNT_GUIDstatic StringJSON_PROPERTY_EXTERNAL_WALLET_GUIDstatic StringJSON_PROPERTY_QUOTE_GUIDstatic StringJSON_PROPERTY_SOURCE_ACCOUNT_GUIDstatic StringJSON_PROPERTY_TRANSFER_TYPE
-
Constructor Summary
Constructors Constructor Description PostTransferBankModel()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_QUOTE_GUID
public static final String JSON_PROPERTY_QUOTE_GUID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRANSFER_TYPE
public static final String JSON_PROPERTY_TRANSFER_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SOURCE_ACCOUNT_GUID
public static final String JSON_PROPERTY_SOURCE_ACCOUNT_GUID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESTINATION_ACCOUNT_GUID
public static final String JSON_PROPERTY_DESTINATION_ACCOUNT_GUID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXTERNAL_WALLET_GUID
public static final String JSON_PROPERTY_EXTERNAL_WALLET_GUID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXTERNAL_BANK_ACCOUNT_GUID
public static final String JSON_PROPERTY_EXTERNAL_BANK_ACCOUNT_GUID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXPECTED_ERROR
public static final String JSON_PROPERTY_EXPECTED_ERROR
- See Also:
- Constant Field Values
-
-
Method Detail
-
quoteGuid
public PostTransferBankModel quoteGuid(String quoteGuid)
-
getQuoteGuid
@Nonnull public String getQuoteGuid()
The associated quote's identifier.- Returns:
- quoteGuid
-
setQuoteGuid
public void setQuoteGuid(String quoteGuid)
-
transferType
public PostTransferBankModel transferType(PostTransferBankModel.TransferTypeEnum transferType)
-
getTransferType
@Nonnull public PostTransferBankModel.TransferTypeEnum getTransferType()
The type of transfer.- Returns:
- transferType
-
setTransferType
public void setTransferType(PostTransferBankModel.TransferTypeEnum transferType)
-
sourceAccountGuid
public PostTransferBankModel sourceAccountGuid(String sourceAccountGuid)
-
getSourceAccountGuid
@Nullable public String getSourceAccountGuid()
The source account's identifier. Required for book transfers.- Returns:
- sourceAccountGuid
-
setSourceAccountGuid
public void setSourceAccountGuid(String sourceAccountGuid)
-
destinationAccountGuid
public PostTransferBankModel destinationAccountGuid(String destinationAccountGuid)
-
getDestinationAccountGuid
@Nullable public String getDestinationAccountGuid()
The destination account's identifier. Required for book transfers.- Returns:
- destinationAccountGuid
-
setDestinationAccountGuid
public void setDestinationAccountGuid(String destinationAccountGuid)
-
externalWalletGuid
public PostTransferBankModel externalWalletGuid(String externalWalletGuid)
-
getExternalWalletGuid
@Nullable public String getExternalWalletGuid()
The customer's external wallet's identifier.- Returns:
- externalWalletGuid
-
setExternalWalletGuid
public void setExternalWalletGuid(String externalWalletGuid)
-
externalBankAccountGuid
public PostTransferBankModel externalBankAccountGuid(String externalBankAccountGuid)
-
getExternalBankAccountGuid
@Nullable public String getExternalBankAccountGuid()
The customer's 'plaid' or 'plaid_processor_token' external bank account's identifier.- Returns:
- externalBankAccountGuid
-
setExternalBankAccountGuid
public void setExternalBankAccountGuid(String externalBankAccountGuid)
-
expectedError
public PostTransferBankModel expectedError(PostTransferBankModel.ExpectedErrorEnum expectedError)
-
getExpectedError
@Nullable public PostTransferBankModel.ExpectedErrorEnum getExpectedError()
The optional expected error to simulate transfer failure.- Returns:
- expectedError
-
setExpectedError
public void setExpectedError(PostTransferBankModel.ExpectedErrorEnum expectedError)
-
-