Class PostQuoteBankModel


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2025-06-02T18:31:01.531007Z[Etc/UTC]")
    public class PostQuoteBankModel
    extends Object
    Request body for quote creation.
    • Constructor Detail

      • PostQuoteBankModel

        public PostQuoteBankModel()
    • Method Detail

      • setProductType_JsonNullable

        public void setProductType_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<PostQuoteBankModel.ProductTypeEnum> productType)
      • getBankGuid

        @Nullable
        public String getBankGuid()
        The unique identifier for the bank.
        Returns:
        bankGuid
      • getBankGuid_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<String> getBankGuid_JsonNullable()
      • setBankGuid_JsonNullable

        public void setBankGuid_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<String> bankGuid)
      • setBankGuid

        public void setBankGuid​(String bankGuid)
      • getCustomerGuid

        @Nullable
        public String getCustomerGuid()
        The unique identifier for the customer.
        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)
      • 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 for trade quotes.
        Returns:
        receiveAmount
      • getReceiveAmount_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<BigInteger> getReceiveAmount_JsonNullable()
      • setReceiveAmount_JsonNullable

        public void setReceiveAmount_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<BigInteger> 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 for trade quotes.
        Returns:
        deliverAmount
      • getDeliverAmount_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<BigInteger> getDeliverAmount_JsonNullable()
      • setDeliverAmount_JsonNullable

        public void setDeliverAmount_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<BigInteger> deliverAmount)
      • setDeliverAmount

        public void setDeliverAmount​(BigInteger deliverAmount)
      • getAsset

        @Nullable
        public String getAsset()
        The asset code the quote was requested for. Required when product_type is lightning_transfer, product_type is book_transfer, product_type is funding, product_type is crypto_transfer, or product_type is inter_account.
        Returns:
        asset
      • getAsset_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<String> getAsset_JsonNullable()
      • setAsset_JsonNullable

        public void setAsset_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<String> asset)
      • setAsset

        public void setAsset​(String asset)
      • getNetworkAddress

        @Nullable
        public String getNetworkAddress()
        The network address to pay the invoice to. Required when product_type is lightning_transfer.
        Returns:
        networkAddress
      • getNetworkAddress_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<String> getNetworkAddress_JsonNullable()
      • setNetworkAddress_JsonNullable

        public void setNetworkAddress_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<String> networkAddress)
      • setNetworkAddress

        public void setNetworkAddress​(String networkAddress)
      • getFees

        @Nullable
        public List<PostFeeBankModel> getFees()
        The custom fees associated with the quote Optional when product_type is lightning_transfer, product_type is funding, product_type is trading, product_type is crypto_transfer, or product_type is trading_exit.
        Returns:
        fees
      • getFees_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<List<PostFeeBankModel>> getFees_JsonNullable()
      • setFees_JsonNullable

        public void setFees_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<List<PostFeeBankModel>> fees)
      • getSide

        @Nullable
        public PostQuoteBankModel.SideEnum getSide()
        The direction for trade quotes: either 'buy' or 'sell'. The direction for funding quotes: either 'deposit' or 'withdrawal'. The direction for crypto transfer quotes: 'withdrawal'. Book transfers do not require a side. They are all 'deposit's. Required when product_type is funding, product_type is trading, or product_type is crypto_transfer.
        Returns:
        side
      • setSide_JsonNullable

        public void setSide_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<PostQuoteBankModel.SideEnum> side)
      • getSymbol

        @Nullable
        public String getSymbol()
        Symbol the quote is being requested for. Format is \"asset-counter_asset\" in uppercase. See the Symbols API for a complete list of cryptocurrencies supported. Required when product_type is trading.
        Returns:
        symbol
      • getSymbol_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<String> getSymbol_JsonNullable()
      • setSymbol_JsonNullable

        public void setSymbol_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<String> symbol)
      • setSymbol

        public void setSymbol​(String symbol)
      • getDestinationAccounts

        @Nullable
        public List<PostQuoteEntryBankModel> getDestinationAccounts()
        Destination accounts for batch transactions Optional when product_type is crypto_transfer.
        Returns:
        destinationAccounts
      • getDestinationAccounts_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<List<PostQuoteEntryBankModel>> getDestinationAccounts_JsonNullable()
      • setDestinationAccounts_JsonNullable

        public void setDestinationAccounts_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<List<PostQuoteEntryBankModel>> destinationAccounts)
      • getReferenceTradeGuid

        @Nullable
        public String getReferenceTradeGuid()
        The guid of the related trade. Only present on `exit` trades. Required when product_type is trading_exit.
        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)
      • getSourceAccountGuid

        @Nullable
        public String getSourceAccountGuid()
        The source account's identifier. Required when product_type is inter_account.
        Returns:
        sourceAccountGuid
      • getSourceAccountGuid_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<String> getSourceAccountGuid_JsonNullable()
      • setSourceAccountGuid_JsonNullable

        public void setSourceAccountGuid_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<String> sourceAccountGuid)
      • setSourceAccountGuid

        public void setSourceAccountGuid​(String sourceAccountGuid)
      • getDestinationAccountGuid

        @Nullable
        public String getDestinationAccountGuid()
        The destination account's identifier. Required when product_type is inter_account.
        Returns:
        destinationAccountGuid
      • getDestinationAccountGuid_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<String> getDestinationAccountGuid_JsonNullable()
      • setDestinationAccountGuid_JsonNullable

        public void setDestinationAccountGuid_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<String> destinationAccountGuid)
      • setDestinationAccountGuid

        public void setDestinationAccountGuid​(String destinationAccountGuid)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object