Class FundingDetail
java.lang.Object
markets.alpaca.client.openapi.broker.model.FundingDetail
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class FundingDetail
extends Object
implements Serializable
Gets funding details that can be used to settle and collect funds in each available currency.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountHolderName(String accountHolderName) accountNumber(String accountNumber) accountNumberType(String accountNumberType) bankAddress(String bankAddress) bankCountry(String bankCountry) booleanstatic FundingDetailCreate an instance of FundingDetail given an JSON stringGet accountHolderNameGet accountNumberGet accountNumberTypeReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get bankAddressGet bankCountryGet bankNameGet currencyGet paymentTypeGet routingCodeGet routingCodeTypeinthashCode()paymentType(FundingDetailPaymentType paymentType) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.routingCode(String routingCode) routingCodeType(FundingDetailRoutingCodeType routingCodeType) voidsetAccountHolderName(String accountHolderName) voidsetAccountNumber(String accountNumber) voidsetAccountNumberType(String accountNumberType) voidsetBankAddress(String bankAddress) voidsetBankCountry(String bankCountry) voidsetBankName(String bankName) voidsetCurrency(String currency) voidsetPaymentType(FundingDetailPaymentType paymentType) voidsetRoutingCode(String routingCode) voidsetRoutingCodeType(FundingDetailRoutingCodeType routingCodeType) toJson()Convert an instance of FundingDetail 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_HOLDER_NAME
- See Also:
-
SERIALIZED_NAME_ACCOUNT_NUMBER
- See Also:
-
SERIALIZED_NAME_ACCOUNT_NUMBER_TYPE
- See Also:
-
SERIALIZED_NAME_BANK_ADDRESS
- See Also:
-
SERIALIZED_NAME_BANK_COUNTRY
- See Also:
-
SERIALIZED_NAME_BANK_NAME
- See Also:
-
SERIALIZED_NAME_CURRENCY
- See Also:
-
SERIALIZED_NAME_PAYMENT_TYPE
- See Also:
-
SERIALIZED_NAME_ROUTING_CODE
- See Also:
-
SERIALIZED_NAME_ROUTING_CODE_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
FundingDetail
public FundingDetail()
-
-
Method Details
-
accountHolderName
-
getAccountHolderName
Get accountHolderName- Returns:
- accountHolderName
-
setAccountHolderName
-
accountNumber
-
getAccountNumber
Get accountNumber- Returns:
- accountNumber
-
setAccountNumber
-
accountNumberType
-
getAccountNumberType
Get accountNumberType- Returns:
- accountNumberType
-
setAccountNumberType
-
bankAddress
-
getBankAddress
Get bankAddress- Returns:
- bankAddress
-
setBankAddress
-
bankCountry
-
getBankCountry
Get bankCountry- Returns:
- bankCountry
-
setBankCountry
-
bankName
-
getBankName
Get bankName- Returns:
- bankName
-
setBankName
-
currency
-
getCurrency
Get currency- Returns:
- currency
-
setCurrency
-
paymentType
-
getPaymentType
Get paymentType- Returns:
- paymentType
-
setPaymentType
-
routingCode
-
getRoutingCode
Get routingCode- Returns:
- routingCode
-
setRoutingCode
-
routingCodeType
-
getRoutingCodeType
Get routingCodeType- Returns:
- routingCodeType
-
setRoutingCodeType
-
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 FundingDetail 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 FundingDetail
-
fromJson
Create an instance of FundingDetail given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FundingDetail
- Throws:
IOException- if the JSON string is invalid with respect to FundingDetail
-
toJson
Convert an instance of FundingDetail to an JSON string- Returns:
- JSON string
-