Class AccountCashInterestProgram
java.lang.Object
markets.alpaca.client.openapi.broker.model.AccountCashInterestProgram
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class AccountCashInterestProgram
extends Object
implements Serializable
AccountCashInterestProgram
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaprTierName(String aprTierName) booleanstatic AccountCashInterestProgramCreate an instance of AccountCashInterestProgram given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The unique name of the APR tier for a specific programThe status of the account within a cash interest program.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAprTierName(String aprTierName) voidtoJson()Convert an instance of AccountCashInterestProgram 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_APR_TIER_NAME
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AccountCashInterestProgram
public AccountCashInterestProgram()
-
-
Method Details
-
aprTierName
-
getAprTierName
The unique name of the APR tier for a specific program- Returns:
- aprTierName
-
setAprTierName
-
status
-
getStatus
The status of the account within a cash interest program. One of: - **ACTIVE** The account is enrolled and eligible for idle cash to be swept at the end of day (EOD). - **INACTIVE** The account is not enrolled due to it either not being eligible (e.g. the updated Alpaca Customer Agreement has not been signed), an APR tier needs to be assigned, or they have been unenrolled. - **PENDING_CHANGE** An enrollment, APR Tier change, or unenrollment is in progress- Returns:
- status
-
setStatus
-
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 AccountCashInterestProgram 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 AccountCashInterestProgram
-
fromJson
Create an instance of AccountCashInterestProgram given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AccountCashInterestProgram
- Throws:
IOException- if the JSON string is invalid with respect to AccountCashInterestProgram
-
toJson
Convert an instance of AccountCashInterestProgram to an JSON string- Returns:
- JSON string
-