Class FundingWalletTransfer
java.lang.Object
markets.alpaca.client.openapi.broker.model.FundingWalletTransfer
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class FundingWalletTransfer
extends Object
implements Serializable
FundingWalletTransfer
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFeesItem(TransferFee feesItem) createdAt(OffsetDateTime createdAt) direction(FundingWalletTransferDirection direction) booleanfees(List<TransferFee> fees) static FundingWalletTransferCreate an instance of FundingWalletTransfer given an JSON stringGet accountIdReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get createdAtGet directiongetFees()Get feesgetId()Get idThe amount you should expect to receive, calculated as requested amount - feesThe currency of the withdrawn amount, 3-letter ISO codeGet paymentTypeThe amount sent as part of the withdrawal creationGet statusGet updatedAtgetUsd()Get usdinthashCode()originalAmount(BigDecimal originalAmount) originalCurrency(String originalCurrency) paymentType(FundingDetailPaymentType paymentType) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.requestedAmount(BigDecimal requestedAmount) voidsetAccountId(UUID accountId) voidsetCreatedAt(OffsetDateTime createdAt) voidsetDirection(FundingWalletTransferDirection direction) voidsetFees(List<TransferFee> fees) voidvoidsetOriginalAmount(BigDecimal originalAmount) voidsetOriginalCurrency(String originalCurrency) voidsetPaymentType(FundingDetailPaymentType paymentType) voidsetRequestedAmount(BigDecimal requestedAmount) voidsetStatus(FundingWalletTransferStatus status) voidsetUpdatedAt(OffsetDateTime updatedAt) voidstatus(FundingWalletTransferStatus status) toJson()Convert an instance of FundingWalletTransfer to an JSON stringtoString()updatedAt(OffsetDateTime updatedAt) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ACCOUNT_ID
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_DIRECTION
- See Also:
-
SERIALIZED_NAME_FEES
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_ORIGINAL_AMOUNT
- See Also:
-
SERIALIZED_NAME_ORIGINAL_CURRENCY
- See Also:
-
SERIALIZED_NAME_PAYMENT_TYPE
- See Also:
-
SERIALIZED_NAME_REQUESTED_AMOUNT
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_USD
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
FundingWalletTransfer
public FundingWalletTransfer()
-
-
Method Details
-
accountId
-
getAccountId
Get accountId- Returns:
- accountId
-
setAccountId
-
createdAt
-
getCreatedAt
Get createdAt- Returns:
- createdAt
-
setCreatedAt
-
direction
-
getDirection
Get direction- Returns:
- direction
-
setDirection
-
fees
-
addFeesItem
-
getFees
Get fees- Returns:
- fees
-
setFees
-
id
-
getId
Get id- Returns:
- id
-
setId
-
originalAmount
-
getOriginalAmount
The amount you should expect to receive, calculated as requested amount - fees- Returns:
- originalAmount
-
setOriginalAmount
-
originalCurrency
-
getOriginalCurrency
The currency of the withdrawn amount, 3-letter ISO code- Returns:
- originalCurrency
-
setOriginalCurrency
-
paymentType
-
getPaymentType
Get paymentType- Returns:
- paymentType
-
setPaymentType
-
requestedAmount
-
getRequestedAmount
The amount sent as part of the withdrawal creation- Returns:
- requestedAmount
-
setRequestedAmount
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
updatedAt
-
getUpdatedAt
Get updatedAt- Returns:
- updatedAt
-
setUpdatedAt
-
usd
-
getUsd
Get usd- Returns:
- usd
-
setUsd
-
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 FundingWalletTransfer 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 FundingWalletTransfer
-
fromJson
Create an instance of FundingWalletTransfer given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FundingWalletTransfer
- Throws:
IOException- if the JSON string is invalid with respect to FundingWalletTransfer
-
toJson
Convert an instance of FundingWalletTransfer to an JSON string- Returns:
- JSON string
-