Class ACHRelationship
java.lang.Object
markets.alpaca.client.openapi.broker.model.ACHRelationship
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class ACHRelationship
extends Object
implements Serializable
ACHRelationship
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumMust be CHECKING or SAVINGSstatic classstatic enumGets or Sets status -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountOwnerName(String accountOwnerName) bankAccountNumber(String bankAccountNumber) bankAccountType(ACHRelationship.BankAccountTypeEnum bankAccountType) bankRoutingNumber(String bankRoutingNumber) createdAt(OffsetDateTime createdAt) booleanstatic ACHRelationshipCreate an instance of ACHRelationship given an JSON stringGet accountIdName of the account ownerReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get bankAccountNumberMust be CHECKING or SAVINGSGet bankRoutingNumberFormat: 2020-01-01T01:01:01ZgetId()Get idGet nicknameGet statusFormat: 2020-01-01T01:01:01ZinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAccountId(UUID accountId) voidsetAccountOwnerName(String accountOwnerName) voidsetBankAccountNumber(String bankAccountNumber) voidsetBankAccountType(ACHRelationship.BankAccountTypeEnum bankAccountType) voidsetBankRoutingNumber(String bankRoutingNumber) voidsetCreatedAt(OffsetDateTime createdAt) voidvoidsetNickname(String nickname) voidsetStatus(ACHRelationship.StatusEnum status) voidsetUpdatedAt(OffsetDateTime updatedAt) status(ACHRelationship.StatusEnum status) toJson()Convert an instance of ACHRelationship to an JSON stringtoString()updatedAt(OffsetDateTime updatedAt) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ACCOUNT_ID
- See Also:
-
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_CREATED_AT
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NICKNAME
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ACHRelationship
public ACHRelationship()
-
-
Method Details
-
accountId
-
getAccountId
Get accountId- Returns:
- accountId
-
setAccountId
-
accountOwnerName
-
getAccountOwnerName
Name of the account owner- Returns:
- accountOwnerName
-
setAccountOwnerName
-
bankAccountNumber
-
getBankAccountNumber
Get bankAccountNumber- Returns:
- bankAccountNumber
-
setBankAccountNumber
-
bankAccountType
public ACHRelationship bankAccountType(@Nullable ACHRelationship.BankAccountTypeEnum bankAccountType) -
getBankAccountType
Must be CHECKING or SAVINGS- Returns:
- bankAccountType
-
setBankAccountType
-
bankRoutingNumber
-
getBankRoutingNumber
Get bankRoutingNumber- Returns:
- bankRoutingNumber
-
setBankRoutingNumber
-
createdAt
-
getCreatedAt
Format: 2020-01-01T01:01:01Z- Returns:
- createdAt
-
setCreatedAt
-
id
-
getId
Get id- Returns:
- id
-
setId
-
nickname
-
getNickname
Get nickname- Returns:
- nickname
-
setNickname
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
updatedAt
-
getUpdatedAt
Format: 2020-01-01T01:01:01Z- Returns:
- updatedAt
-
setUpdatedAt
-
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 ACHRelationship 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 ACHRelationship
-
fromJson
Create an instance of ACHRelationship given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ACHRelationship
- Throws:
IOException- if the JSON string is invalid with respect to ACHRelationship
-
toJson
Convert an instance of ACHRelationship to an JSON string- Returns:
- JSON string
-