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:
  • Field Details

  • Constructor Details

    • FundingWalletTransfer

      public FundingWalletTransfer()
  • Method Details

    • accountId

      public FundingWalletTransfer accountId(@Nullable UUID accountId)
    • getAccountId

      @Nullable public UUID getAccountId()
      Get accountId
      Returns:
      accountId
    • setAccountId

      public void setAccountId(@Nullable UUID accountId)
    • createdAt

      public FundingWalletTransfer createdAt(@Nullable OffsetDateTime createdAt)
    • getCreatedAt

      @Nullable public OffsetDateTime getCreatedAt()
      Get createdAt
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(@Nullable OffsetDateTime createdAt)
    • direction

      public FundingWalletTransfer direction(@Nullable FundingWalletTransferDirection direction)
    • getDirection

      @Nullable public FundingWalletTransferDirection getDirection()
      Get direction
      Returns:
      direction
    • setDirection

      public void setDirection(@Nullable FundingWalletTransferDirection direction)
    • fees

      public FundingWalletTransfer fees(@Nullable List<TransferFee> fees)
    • addFeesItem

      public FundingWalletTransfer addFeesItem(TransferFee feesItem)
    • getFees

      @Nullable public List<TransferFee> getFees()
      Get fees
      Returns:
      fees
    • setFees

      public void setFees(@Nullable List<TransferFee> fees)
    • id

      public FundingWalletTransfer id(@Nullable UUID id)
    • getId

      @Nullable public UUID getId()
      Get id
      Returns:
      id
    • setId

      public void setId(@Nullable UUID id)
    • originalAmount

      public FundingWalletTransfer originalAmount(@Nullable BigDecimal originalAmount)
    • getOriginalAmount

      @Nullable public BigDecimal getOriginalAmount()
      The amount you should expect to receive, calculated as requested amount - fees
      Returns:
      originalAmount
    • setOriginalAmount

      public void setOriginalAmount(@Nullable BigDecimal originalAmount)
    • originalCurrency

      public FundingWalletTransfer originalCurrency(@Nullable String originalCurrency)
    • getOriginalCurrency

      @Nullable public String getOriginalCurrency()
      The currency of the withdrawn amount, 3-letter ISO code
      Returns:
      originalCurrency
    • setOriginalCurrency

      public void setOriginalCurrency(@Nullable String originalCurrency)
    • paymentType

      public FundingWalletTransfer paymentType(@Nullable FundingDetailPaymentType paymentType)
    • getPaymentType

      @Nullable public FundingDetailPaymentType getPaymentType()
      Get paymentType
      Returns:
      paymentType
    • setPaymentType

      public void setPaymentType(@Nullable FundingDetailPaymentType paymentType)
    • requestedAmount

      public FundingWalletTransfer requestedAmount(@Nullable BigDecimal requestedAmount)
    • getRequestedAmount

      @Nullable public BigDecimal getRequestedAmount()
      The amount sent as part of the withdrawal creation
      Returns:
      requestedAmount
    • setRequestedAmount

      public void setRequestedAmount(@Nullable BigDecimal requestedAmount)
    • status

      public FundingWalletTransfer status(@Nullable FundingWalletTransferStatus status)
    • getStatus

      @Nullable public FundingWalletTransferStatus getStatus()
      Get status
      Returns:
      status
    • setStatus

      public void setStatus(@Nullable FundingWalletTransferStatus status)
    • updatedAt

      public FundingWalletTransfer updatedAt(@Nullable OffsetDateTime updatedAt)
    • getUpdatedAt

      @Nullable public OffsetDateTime getUpdatedAt()
      Get updatedAt
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(@Nullable OffsetDateTime updatedAt)
    • usd

      public FundingWalletTransfer usd(@Nullable Usd usd)
    • getUsd

      @Nullable public Usd getUsd()
      Get usd
      Returns:
      usd
    • setUsd

      public void setUsd(@Nullable Usd usd)
    • putAdditionalProperty

      public FundingWalletTransfer putAdditionalProperty(String key, Object value)
      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 property
      value - value of the property
      Returns:
      the FundingWalletTransfer instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static FundingWalletTransfer fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of FundingWalletTransfer to an JSON string
      Returns:
      JSON string