Class Bank
java.lang.Object
markets.alpaca.client.openapi.broker.model.Bank
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class Bank
extends Object
implements Serializable
Bank
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumABA (Domestic) or BIC (International)static classstatic enumQUEUED, SENT_TO_CLEARING, APPROVED, REJECTED, CANCELED -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountNumber(String accountNumber) bankCodeType(Bank.BankCodeTypeEnum bankCodeType) createdAt(OffsetDateTime createdAt) booleanextraFields(BankAdditionalFields extraFields) static BankCreate an instance of Bank given an JSON stringGet accountIdGet accountNumberReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.9-Digit ABA RTN (Routing Number) or BICABA (Domestic) or BIC (International)getCity()Only for international banksOnly for international banksFormat: 2020-01-01T01:01:01ZGet extraFieldsgetId()Get idgetName()Name of recipient bankOnly for international banksOnly for international banksQUEUED, SENT_TO_CLEARING, APPROVED, REJECTED, CANCELEDOnly for international banksFormat: 2020-01-01T01:01:01ZinthashCode()postalCode(String postalCode) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAccountId(UUID accountId) voidsetAccountNumber(String accountNumber) voidsetBankCode(String bankCode) voidsetBankCodeType(Bank.BankCodeTypeEnum bankCodeType) voidvoidsetCountry(String country) voidsetCreatedAt(OffsetDateTime createdAt) voidsetExtraFields(BankAdditionalFields extraFields) voidvoidvoidsetPostalCode(String postalCode) voidsetStateProvince(String stateProvince) voidsetStatus(Bank.StatusEnum status) voidsetStreetAddress(String streetAddress) voidsetUpdatedAt(OffsetDateTime updatedAt) stateProvince(String stateProvince) status(Bank.StatusEnum status) streetAddress(String streetAddress) toJson()Convert an instance of Bank 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_NUMBER
- See Also:
-
SERIALIZED_NAME_BANK_CODE
- See Also:
-
SERIALIZED_NAME_BANK_CODE_TYPE
- See Also:
-
SERIALIZED_NAME_CITY
- See Also:
-
SERIALIZED_NAME_COUNTRY
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_EXTRA_FIELDS
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_POSTAL_CODE
- See Also:
-
SERIALIZED_NAME_STATE_PROVINCE
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_STREET_ADDRESS
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Bank
public Bank()
-
-
Method Details
-
accountId
-
getAccountId
Get accountId- Returns:
- accountId
-
setAccountId
-
accountNumber
-
getAccountNumber
Get accountNumber- Returns:
- accountNumber
-
setAccountNumber
-
bankCode
-
getBankCode
9-Digit ABA RTN (Routing Number) or BIC- Returns:
- bankCode
-
setBankCode
-
bankCodeType
-
getBankCodeType
ABA (Domestic) or BIC (International)- Returns:
- bankCodeType
-
setBankCodeType
-
city
-
getCity
Only for international banks- Returns:
- city
-
setCity
-
country
-
getCountry
Only for international banks- Returns:
- country
-
setCountry
-
createdAt
-
getCreatedAt
Format: 2020-01-01T01:01:01Z- Returns:
- createdAt
-
setCreatedAt
-
extraFields
-
getExtraFields
Get extraFields- Returns:
- extraFields
-
setExtraFields
-
id
-
getId
Get id- Returns:
- id
-
setId
-
name
-
getName
Name of recipient bank- Returns:
- name
-
setName
-
postalCode
-
getPostalCode
Only for international banks- Returns:
- postalCode
-
setPostalCode
-
stateProvince
-
getStateProvince
Only for international banks- Returns:
- stateProvince
-
setStateProvince
-
status
-
getStatus
QUEUED, SENT_TO_CLEARING, APPROVED, REJECTED, CANCELED- Returns:
- status
-
setStatus
-
streetAddress
-
getStreetAddress
Only for international banks- Returns:
- streetAddress
-
setStreetAddress
-
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 Bank 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 Bank
-
fromJson
Create an instance of Bank given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Bank
- Throws:
IOException- if the JSON string is invalid with respect to Bank
-
toJson
Convert an instance of Bank to an JSON string- Returns:
- JSON string
-