docs/QuoteBankModel

CybridApiBank::QuoteBankModel

Properties

Name Type Description Notes
guid String Auto-generated unique identifier for the quote. [optional]
product_type String The type of product the quote is for; one of trading, trading_exit, funding, crypto_transfer, inter_account, or lightning_transfer. [optional]
bank_guid String The unique identifier for the bank. [optional]
customer_guid String The unique identifier for the customer. [optional]
symbol String Symbol the quote was requested for. Format is \“asset-counter_asset\” in uppercase. Populated for trade quotes. [optional]
side String The direction of the quote; one of buy, sell, deposit, or withdrawal. [optional]
receive_amount Integer The amount to be received in base units of the currency: currency is \“asset\” for buy and \“counter_asset\” for sell for trade quotes. [optional]
deliver_amount Integer The amount to be delivered in base units of the currency: currency is \“counter_asset\” for buy and \“asset\” for sell for trade quotes. [optional]
fee Integer The fee associated with the trade. Denominated in \“counter_asset\” base units for trade quotes. [optional]
created_at Time ISO8601 datetime the record was created at. [optional]
updated_at Time ISO8601 datetime the record was last updated at. [optional]
issued_at Time ISO8601 datetime the quote was created at. [optional]
expires_at Time ISO8601 datetime the quote is expiring at. Populated for trading quotes. [optional]
asset String The asset code the quote was requested for. Populated for book transfer and funding quotes. [optional]
network_fee Integer The network fee in base units of network_fee_asset. Only present on crypto_transfer quotes. [optional]
network_fee_asset String The asset code of the network fee. [optional]
network_address String The network address to pay the invoice to. Populated for lightning_transfer quotes. [optional]
entries Array<QuoteEntryBankModel> The quote entries for a batch transfer quote [optional]
trade_guid String The unique identifier for the trade. [optional]
transfer_guid String The unique identifier for the transfer. [optional]

Example

require 'cybrid_api_bank_ruby'

instance = CybridApiBank::QuoteBankModel.new(
  guid: null,
  product_type: null,
  bank_guid: null,
  customer_guid: null,
  symbol: null,
  side: null,
  receive_amount: null,
  deliver_amount: null,
  fee: null,
  created_at: null,
  updated_at: null,
  issued_at: null,
  expires_at: null,
  asset: null,
  network_fee: null,
  network_fee_asset: null,
  network_address: null,
  entries: null,
  trade_guid: null,
  transfer_guid: null
)