Class InstantFunding
java.lang.Object
markets.alpaca.client.openapi.broker.model.InstantFunding
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class InstantFunding
extends Object
implements Serializable
InstantFunding
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFeesItem(IFFee feesItem) addInterestsItem(Interest interestsItem) amount(BigDecimal amount) createdAt(OffsetDateTime createdAt) booleanstatic InstantFundingCreate an instance of InstantFunding given an JSON stringGet accountNoReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get amountGet createdAtGet deadlinegetFees()Get feesgetId()Get idGet interestsGet remainingPayableGet sourceAccountNoGet statusGet systemDateGet totalInterestinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.remainingPayable(BigDecimal remainingPayable) voidsetAccountNo(String accountNo) voidsetAmount(BigDecimal amount) voidsetCreatedAt(OffsetDateTime createdAt) voidsetDeadline(LocalDate deadline) voidvoidvoidsetInterests(List<Interest> interests) voidsetRemainingPayable(BigDecimal remainingPayable) voidsetSourceAccountNo(String sourceAccountNo) voidsetStatus(InstantFundingStatus status) voidsetSystemDate(LocalDate systemDate) voidsetTotalInterest(BigDecimal totalInterest) sourceAccountNo(String sourceAccountNo) status(InstantFundingStatus status) systemDate(LocalDate systemDate) toJson()Convert an instance of InstantFunding to an JSON stringtoString()totalInterest(BigDecimal totalInterest) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ACCOUNT_NO
- See Also:
-
SERIALIZED_NAME_AMOUNT
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_DEADLINE
- See Also:
-
SERIALIZED_NAME_FEES
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_INTERESTS
- See Also:
-
SERIALIZED_NAME_REMAINING_PAYABLE
- See Also:
-
SERIALIZED_NAME_SOURCE_ACCOUNT_NO
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_SYSTEM_DATE
- See Also:
-
SERIALIZED_NAME_TOTAL_INTEREST
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
InstantFunding
public InstantFunding()
-
-
Method Details
-
accountNo
-
getAccountNo
Get accountNo- Returns:
- accountNo
-
setAccountNo
-
amount
-
getAmount
Get amount- Returns:
- amount
-
setAmount
-
createdAt
-
getCreatedAt
Get createdAt- Returns:
- createdAt
-
setCreatedAt
-
deadline
-
getDeadline
Get deadline- Returns:
- deadline
-
setDeadline
-
fees
-
addFeesItem
-
getFees
Get fees- Returns:
- fees
-
setFees
-
id
-
getId
Get id- Returns:
- id
-
setId
-
interests
-
addInterestsItem
-
getInterests
Get interests- Returns:
- interests
-
setInterests
-
remainingPayable
-
getRemainingPayable
Get remainingPayable- Returns:
- remainingPayable
-
setRemainingPayable
-
sourceAccountNo
-
getSourceAccountNo
Get sourceAccountNo- Returns:
- sourceAccountNo
-
setSourceAccountNo
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
systemDate
-
getSystemDate
Get systemDate- Returns:
- systemDate
-
setSystemDate
-
totalInterest
-
getTotalInterest
Get totalInterest- Returns:
- totalInterest
-
setTotalInterest
-
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 InstantFunding 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 InstantFunding
-
fromJson
Create an instance of InstantFunding given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of InstantFunding
- Throws:
IOException- if the JSON string is invalid with respect to InstantFunding
-
toJson
Convert an instance of InstantFunding to an JSON string- Returns:
- JSON string
-