Class PostQuoteBankModel


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2024-11-11T12:48:19.022983Z[Etc/UTC]")
    public class PostQuoteBankModel
    extends Object
    Request body for quote creation.
    • Constructor Detail

      • PostQuoteBankModel

        public PostQuoteBankModel()
    • Method Detail

      • getBankGuid

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

        public void setBankGuid​(String bankGuid)
      • getCustomerGuid

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

        public void setDestinationAccountGuid​(String destinationAccountGuid)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object