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.25.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 idDeprecated.The currency of the withdrawn amount, 3-letter ISO codeGet paymentTypeThe amount requested when the transfer was created.Get statusThe total amount moved for the transfer.Get updatedAtgetUsd()Get usdinthashCode()originalAmount(BigDecimal originalAmount) Deprecated.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) Deprecated.voidsetOriginalCurrency(String originalCurrency) voidsetPaymentType(FundingDetailPaymentType paymentType) voidsetRequestedAmount(BigDecimal requestedAmount) voidsetStatus(FundingWalletTransferStatus status) voidsetTotalAmount(BigDecimal totalAmount) voidsetUpdatedAt(OffsetDateTime updatedAt) voidstatus(FundingWalletTransferStatus status) toJson()Convert an instance of FundingWalletTransfer to an JSON stringtoString()totalAmount(BigDecimal totalAmount) 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_TOTAL_AMOUNT
- 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
Deprecated. -
getOriginalAmount
Deprecated.**Deprecation notice:** Use `total_amount` for the actual amount debited from the account. Since: 2026-09-22 Sunset: 2026-12-21 --- The amount you should expect to receive, calculated as requested amount - fees.- Returns:
- originalAmount
-
setOriginalAmount
Deprecated. -
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 requested when the transfer was created.- Returns:
- requestedAmount
-
setRequestedAmount
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
totalAmount
-
getTotalAmount
The total amount moved for the transfer. For outgoing transfers with fees added on top, this is the requested amount plus fees (the total debited from the account). For fee-inclusive outgoing withdrawals, fees are taken out of the requested amount, so this equals requested_amount. For incoming transfers, this is the requested amount credited to the account.- Returns:
- totalAmount
-
setTotalAmount
-
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
-