Class GetV1TransfersJitLedgerIdBalances200Response
java.lang.Object
markets.alpaca.client.openapi.broker.model.GetV1TransfersJitLedgerIdBalances200Response
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class GetV1TransfersJitLedgerIdBalances200Response
extends Object
implements Serializable
GetV1TransfersJitLedgerIdBalances200Response
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivityAmount(BigDecimal activityAmount) addTransactionsItem(Transaction transactionsItem) endingBalance(BigDecimal endingBalance) booleanCreate an instance of GetV1TransfersJitLedgerIdBalances200Response given an JSON stringThe number of transactions related to the ledger during the specified date rangeReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Ledger balance at the end of the date rangegetId()The ledger IDThe ledger nameThe ledger account numberLedger balance at the beginning of the date rangeGet transactionsinthashCode()ledgerName(String ledgerName) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetActivityAmount(BigDecimal activityAmount) voidsetEndingBalance(BigDecimal endingBalance) voidvoidsetLedgerName(String ledgerName) voidsetLedgerNo(String ledgerNo) voidsetStartingBalance(BigDecimal startingBalance) voidsetTransactions(List<Transaction> transactions) startingBalance(BigDecimal startingBalance) toJson()Convert an instance of GetV1TransfersJitLedgerIdBalances200Response to an JSON stringtoString()transactions(List<Transaction> transactions) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ACTIVITY_AMOUNT
- See Also:
-
SERIALIZED_NAME_ENDING_BALANCE
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_LEDGER_NAME
- See Also:
-
SERIALIZED_NAME_LEDGER_NO
- See Also:
-
SERIALIZED_NAME_STARTING_BALANCE
- See Also:
-
SERIALIZED_NAME_TRANSACTIONS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
GetV1TransfersJitLedgerIdBalances200Response
public GetV1TransfersJitLedgerIdBalances200Response()
-
-
Method Details
-
activityAmount
public GetV1TransfersJitLedgerIdBalances200Response activityAmount(@Nullable BigDecimal activityAmount) -
getActivityAmount
The number of transactions related to the ledger during the specified date range- Returns:
- activityAmount
-
setActivityAmount
-
endingBalance
public GetV1TransfersJitLedgerIdBalances200Response endingBalance(@Nullable BigDecimal endingBalance) -
getEndingBalance
Ledger balance at the end of the date range- Returns:
- endingBalance
-
setEndingBalance
-
id
-
getId
The ledger ID- Returns:
- id
-
setId
-
ledgerName
-
getLedgerName
The ledger name- Returns:
- ledgerName
-
setLedgerName
-
ledgerNo
-
getLedgerNo
The ledger account number- Returns:
- ledgerNo
-
setLedgerNo
-
startingBalance
public GetV1TransfersJitLedgerIdBalances200Response startingBalance(@Nullable BigDecimal startingBalance) -
getStartingBalance
Ledger balance at the beginning of the date range- Returns:
- startingBalance
-
setStartingBalance
-
transactions
public GetV1TransfersJitLedgerIdBalances200Response transactions(@Nullable List<Transaction> transactions) -
addTransactionsItem
public GetV1TransfersJitLedgerIdBalances200Response addTransactionsItem(Transaction transactionsItem) -
getTransactions
Get transactions- Returns:
- transactions
-
setTransactions
-
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 GetV1TransfersJitLedgerIdBalances200Response 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 GetV1TransfersJitLedgerIdBalances200Response
-
fromJson
public static GetV1TransfersJitLedgerIdBalances200Response fromJson(String jsonString) throws IOException Create an instance of GetV1TransfersJitLedgerIdBalances200Response given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GetV1TransfersJitLedgerIdBalances200Response
- Throws:
IOException- if the JSON string is invalid with respect to GetV1TransfersJitLedgerIdBalances200Response
-
toJson
Convert an instance of GetV1TransfersJitLedgerIdBalances200Response to an JSON string- Returns:
- JSON string
-