Class SettlementAccount
java.lang.Object
markets.alpaca.client.openapi.broker.model.SettlementAccount
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class SettlementAccount
extends Object
implements Serializable
SettlementAccount
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountNumber(String accountNumber) amount(BigDecimal amount) booleanstatic SettlementAccountCreate an instance of SettlementAccount given an JSON stringThe account number of the client account to settleReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get amountGet transmitterInfointhashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAccountNumber(String accountNumber) voidsetAmount(BigDecimal amount) voidsetTransmitterInfo(TransmitterInfo transmitterInfo) toJson()Convert an instance of SettlementAccount to an JSON stringtoString()transmitterInfo(TransmitterInfo transmitterInfo) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ACCOUNT_NUMBER
- See Also:
-
SERIALIZED_NAME_AMOUNT
- See Also:
-
SERIALIZED_NAME_TRANSMITTER_INFO
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SettlementAccount
public SettlementAccount()
-
-
Method Details
-
accountNumber
-
getAccountNumber
The account number of the client account to settle- Returns:
- accountNumber
-
setAccountNumber
-
amount
-
getAmount
Get amount- Returns:
- amount
-
setAmount
-
transmitterInfo
-
getTransmitterInfo
Get transmitterInfo- Returns:
- transmitterInfo
-
setTransmitterInfo
-
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 SettlementAccount 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 SettlementAccount
-
fromJson
Create an instance of SettlementAccount given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SettlementAccount
- Throws:
IOException- if the JSON string is invalid with respect to SettlementAccount
-
toJson
Convert an instance of SettlementAccount to an JSON string- Returns:
- JSON string
-