Class TradeBankModel


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2025-03-26T19:37:50.858262Z[Etc/UTC]")
    public class TradeBankModel
    extends Object
    TradeBankModel
    • Constructor Detail

      • TradeBankModel

        public TradeBankModel()
    • Method Detail

      • getGuid

        @Nullable
        public String getGuid()
        Auto-generated unique identifier for the trade.
        Returns:
        guid
      • setGuid

        public void setGuid​(String guid)
      • getTradeType

        @Nullable
        public String getTradeType()
        The type of trade; one of platform, liquidation, or exit.
        Returns:
        tradeType
      • setTradeType

        public void setTradeType​(String tradeType)
      • getCustomerGuid

        @Nullable
        public String getCustomerGuid()
        The associated customer's identifier.
        Returns:
        customerGuid
      • getCustomerGuid_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<String> getCustomerGuid_JsonNullable()
      • setCustomerGuid_JsonNullable

        public void setCustomerGuid_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<String> customerGuid)
      • setCustomerGuid

        public void setCustomerGuid​(String customerGuid)
      • getQuoteGuid

        @Nullable
        public String getQuoteGuid()
        The associated quote's identifier.
        Returns:
        quoteGuid
      • setQuoteGuid

        public void setQuoteGuid​(String quoteGuid)
      • getSymbol

        @Nullable
        public String getSymbol()
        The trade symbol the pricing is related to. Format is asset-counter_asset, e.g., BTC-USD.
        Returns:
        symbol
      • setSymbol

        public void setSymbol​(String symbol)
      • getSide

        @Nullable
        public String getSide()
        The direction of the trade; one of buy or sell.
        Returns:
        side
      • setSide

        public void setSide​(String side)
      • getState

        @Nullable
        public String getState()
        The state of the trade; one of storing, pending, cancelled, completed, settling, or failed.
        Returns:
        state
      • setState

        public void setState​(String state)
      • getFailureCode

        @Nullable
        public String getFailureCode()
        The failure code for failed trades; one of non_sufficient_funds, unsupported, limit_exceeded, expired_quote, or market_volatility.
        Returns:
        failureCode
      • getFailureCode_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<String> getFailureCode_JsonNullable()
      • setFailureCode_JsonNullable

        public void setFailureCode_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<String> failureCode)
      • setFailureCode

        public void setFailureCode​(String failureCode)
      • getReceiveAmount

        @Nullable
        public BigInteger getReceiveAmount()
        The amount to be received in base units of the currency: currency is \"asset\" for buy and \"counter_asset\" for sell.
        Returns:
        receiveAmount
      • setReceiveAmount

        public void setReceiveAmount​(BigInteger receiveAmount)
      • getDeliverAmount

        @Nullable
        public BigInteger getDeliverAmount()
        The amount to be delivered in base units of the currency: currency is \"counter_asset\" for buy and \"asset\" for sell.
        Returns:
        deliverAmount
      • setDeliverAmount

        public void setDeliverAmount​(BigInteger deliverAmount)
      • getFee

        @Nullable
        public BigInteger getFee()
        The fee associated with the trade. Denominated in \"counter_asset\" base units
        Returns:
        fee
      • getReferenceTradeGuid

        @Nullable
        public String getReferenceTradeGuid()
        The guid of the related trade. Only present on `exit` trades.
        Returns:
        referenceTradeGuid
      • getReferenceTradeGuid_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<String> getReferenceTradeGuid_JsonNullable()
      • setReferenceTradeGuid_JsonNullable

        public void setReferenceTradeGuid_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<String> referenceTradeGuid)
      • setReferenceTradeGuid

        public void setReferenceTradeGuid​(String referenceTradeGuid)
      • getCreatedAt

        @Nullable
        public OffsetDateTime getCreatedAt()
        ISO8601 datetime the record was created at.
        Returns:
        createdAt
      • setCreatedAt

        public void setCreatedAt​(OffsetDateTime createdAt)
      • getUpdatedAt

        @Nullable
        public OffsetDateTime getUpdatedAt()
        ISO8601 datetime the record was last updated at.
        Returns:
        updatedAt
      • setUpdatedAt

        public void setUpdatedAt​(OffsetDateTime updatedAt)
      • getLabels

        @Nullable
        public List<String> getLabels()
        The labels associated with the trade.
        Returns:
        labels
      • getLabels_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<List<String>> getLabels_JsonNullable()
      • setLabels_JsonNullable

        public void setLabels_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<List<String>> labels)
      • setLabels

        public void setLabels​(List<String> labels)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object