Class CreateACHRelationshipRequest
java.lang.Object
markets.alpaca.client.openapi.broker.model.CreateACHRelationshipRequest
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class CreateACHRelationshipRequest
extends Object
implements Serializable
Represents the fields used in creation of a new ACHRelationship. You can create an ACHRelationship by passing the required fields here or if you have an account with Plaid you can use our integration with Plaid to create a relationship. Please see the documentation [here](https://alpaca.markets/docs/api-references/broker-api/funding/ach/#plaid-integration-for-bank-transfers) for more info on using Plaid with Alpaca
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumMust be `CHECKING` or `SAVINGS`static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountOwnerName(String accountOwnerName) bankAccountNumber(String bankAccountNumber) bankAccountType(CreateACHRelationshipRequest.BankAccountTypeEnum bankAccountType) bankRoutingNumber(String bankRoutingNumber) booleanstatic CreateACHRelationshipRequestCreate an instance of CreateACHRelationshipRequest given an JSON stringGet accountOwnerNameReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.In sandbox, this still must be a valid formatMust be `CHECKING` or `SAVINGS`In sandbox, this still must be a valid formatGet instantGet nicknameIf using Plaid, you can specify a Plaid processor token hereinthashCode()processorToken(String processorToken) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAccountOwnerName(String accountOwnerName) voidsetBankAccountNumber(String bankAccountNumber) voidsetBankAccountType(CreateACHRelationshipRequest.BankAccountTypeEnum bankAccountType) voidsetBankRoutingNumber(String bankRoutingNumber) voidsetInstant(Boolean instant) voidsetNickname(String nickname) voidsetProcessorToken(String processorToken) toJson()Convert an instance of CreateACHRelationshipRequest to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ACCOUNT_OWNER_NAME
- See Also:
-
SERIALIZED_NAME_BANK_ACCOUNT_NUMBER
- See Also:
-
SERIALIZED_NAME_BANK_ACCOUNT_TYPE
- See Also:
-
SERIALIZED_NAME_BANK_ROUTING_NUMBER
- See Also:
-
SERIALIZED_NAME_INSTANT
- See Also:
-
SERIALIZED_NAME_NICKNAME
- See Also:
-
SERIALIZED_NAME_PROCESSOR_TOKEN
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateACHRelationshipRequest
public CreateACHRelationshipRequest()
-
-
Method Details
-
accountOwnerName
-
getAccountOwnerName
Get accountOwnerName- Returns:
- accountOwnerName
-
setAccountOwnerName
-
bankAccountNumber
-
getBankAccountNumber
In sandbox, this still must be a valid format- Returns:
- bankAccountNumber
-
setBankAccountNumber
-
bankAccountType
public CreateACHRelationshipRequest bankAccountType(@Nonnull CreateACHRelationshipRequest.BankAccountTypeEnum bankAccountType) -
getBankAccountType
Must be `CHECKING` or `SAVINGS`- Returns:
- bankAccountType
-
setBankAccountType
public void setBankAccountType(@Nonnull CreateACHRelationshipRequest.BankAccountTypeEnum bankAccountType) -
bankRoutingNumber
-
getBankRoutingNumber
In sandbox, this still must be a valid format- Returns:
- bankRoutingNumber
-
setBankRoutingNumber
-
instant
-
getInstant
Get instant- Returns:
- instant
-
setInstant
-
nickname
-
getNickname
Get nickname- Returns:
- nickname
-
setNickname
-
processorToken
-
getProcessorToken
If using Plaid, you can specify a Plaid processor token here- Returns:
- processorToken
-
setProcessorToken
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the CreateACHRelationshipRequest instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to CreateACHRelationshipRequest
-
fromJson
Create an instance of CreateACHRelationshipRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateACHRelationshipRequest
- Throws:
IOException- if the JSON string is invalid with respect to CreateACHRelationshipRequest
-
toJson
Convert an instance of CreateACHRelationshipRequest to an JSON string- Returns:
- JSON string
-