Class QuoteBankModel
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.model.QuoteBankModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-05-14T20:28:49.102946Z[Etc/UTC]") public class QuoteBankModel extends Object
QuoteBankModel
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ASSETstatic StringJSON_PROPERTY_BANK_GUIDstatic StringJSON_PROPERTY_CREATED_ATstatic StringJSON_PROPERTY_CUSTOMER_GUIDstatic StringJSON_PROPERTY_DELIVER_AMOUNTstatic StringJSON_PROPERTY_ENTRIESstatic StringJSON_PROPERTY_EXPIRES_ATstatic StringJSON_PROPERTY_FEEstatic StringJSON_PROPERTY_GUIDstatic StringJSON_PROPERTY_ISSUED_ATstatic StringJSON_PROPERTY_NETWORK_ADDRESSstatic StringJSON_PROPERTY_NETWORK_FEEstatic StringJSON_PROPERTY_NETWORK_FEE_ASSETstatic StringJSON_PROPERTY_PRODUCT_TYPEstatic StringJSON_PROPERTY_RECEIVE_AMOUNTstatic StringJSON_PROPERTY_SIDEstatic StringJSON_PROPERTY_SYMBOLstatic StringJSON_PROPERTY_TRADE_GUIDstatic StringJSON_PROPERTY_TRANSFER_GUIDstatic StringJSON_PROPERTY_UPDATED_AT
-
Constructor Summary
Constructors Constructor Description QuoteBankModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuoteBankModeladdEntriesItem(QuoteEntryBankModel entriesItem)QuoteBankModelasset(String asset)QuoteBankModelbankGuid(String bankGuid)QuoteBankModelcreatedAt(OffsetDateTime createdAt)QuoteBankModelcustomerGuid(String customerGuid)QuoteBankModeldeliverAmount(BigInteger deliverAmount)QuoteBankModelentries(List<QuoteEntryBankModel> entries)booleanequals(Object o)QuoteBankModelexpiresAt(OffsetDateTime expiresAt)QuoteBankModelfee(BigInteger fee)StringgetAsset()The asset code the quote was requested for.org.openapitools.jackson.nullable.JsonNullable<String>getAsset_JsonNullable()StringgetBankGuid()The unique identifier for the bank.OffsetDateTimegetCreatedAt()ISO8601 datetime the record was created at.StringgetCustomerGuid()The unique identifier for the customer.BigIntegergetDeliverAmount()The amount to be delivered in base units of the currency: currency is \"counter_asset\" for buy and \"asset\" for sell for trade quotes.List<QuoteEntryBankModel>getEntries()The quote entries for a batch transfer quoteorg.openapitools.jackson.nullable.JsonNullable<List<QuoteEntryBankModel>>getEntries_JsonNullable()OffsetDateTimegetExpiresAt()ISO8601 datetime the quote is expiring at.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>getExpiresAt_JsonNullable()BigIntegergetFee()The fee associated with the trade.StringgetGuid()Auto-generated unique identifier for the quote.OffsetDateTimegetIssuedAt()ISO8601 datetime the quote was created at.StringgetNetworkAddress()The network address to pay the invoice to.org.openapitools.jackson.nullable.JsonNullable<String>getNetworkAddress_JsonNullable()BigIntegergetNetworkFee()The network fee in base units of network_fee_asset.org.openapitools.jackson.nullable.JsonNullable<BigInteger>getNetworkFee_JsonNullable()StringgetNetworkFeeAsset()The asset code of the network fee.org.openapitools.jackson.nullable.JsonNullable<String>getNetworkFeeAsset_JsonNullable()StringgetProductType()The type of product the quote is for; one of trading, trading_exit, funding, crypto_transfer, inter_account, or lightning_transfer.BigIntegergetReceiveAmount()The amount to be received in base units of the currency: currency is \"asset\" for buy and \"counter_asset\" for sell for trade quotes.StringgetSide()The direction of the quote; one of buy, sell, deposit, or withdrawal.StringgetSymbol()Symbol the quote was requested for.org.openapitools.jackson.nullable.JsonNullable<String>getSymbol_JsonNullable()StringgetTradeGuid()The unique identifier for the trade.org.openapitools.jackson.nullable.JsonNullable<String>getTradeGuid_JsonNullable()StringgetTransferGuid()The unique identifier for the transfer.org.openapitools.jackson.nullable.JsonNullable<String>getTransferGuid_JsonNullable()OffsetDateTimegetUpdatedAt()ISO8601 datetime the record was last updated at.QuoteBankModelguid(String guid)inthashCode()QuoteBankModelissuedAt(OffsetDateTime issuedAt)QuoteBankModelnetworkAddress(String networkAddress)QuoteBankModelnetworkFee(BigInteger networkFee)QuoteBankModelnetworkFeeAsset(String networkFeeAsset)QuoteBankModelproductType(String productType)QuoteBankModelreceiveAmount(BigInteger receiveAmount)voidsetAsset(String asset)voidsetAsset_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> asset)voidsetBankGuid(String bankGuid)voidsetCreatedAt(OffsetDateTime createdAt)voidsetCustomerGuid(String customerGuid)voidsetDeliverAmount(BigInteger deliverAmount)voidsetEntries(List<QuoteEntryBankModel> entries)voidsetEntries_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<QuoteEntryBankModel>> entries)voidsetExpiresAt(OffsetDateTime expiresAt)voidsetExpiresAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> expiresAt)voidsetFee(BigInteger fee)voidsetGuid(String guid)voidsetIssuedAt(OffsetDateTime issuedAt)voidsetNetworkAddress(String networkAddress)voidsetNetworkAddress_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> networkAddress)voidsetNetworkFee(BigInteger networkFee)voidsetNetworkFee_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<BigInteger> networkFee)voidsetNetworkFeeAsset(String networkFeeAsset)voidsetNetworkFeeAsset_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> networkFeeAsset)voidsetProductType(String productType)voidsetReceiveAmount(BigInteger receiveAmount)voidsetSide(String side)voidsetSymbol(String symbol)voidsetSymbol_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> symbol)voidsetTradeGuid(String tradeGuid)voidsetTradeGuid_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> tradeGuid)voidsetTransferGuid(String transferGuid)voidsetTransferGuid_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> transferGuid)voidsetUpdatedAt(OffsetDateTime updatedAt)QuoteBankModelside(String side)QuoteBankModelsymbol(String symbol)StringtoString()QuoteBankModeltradeGuid(String tradeGuid)QuoteBankModeltransferGuid(String transferGuid)QuoteBankModelupdatedAt(OffsetDateTime updatedAt)
-
-
-
Field Detail
-
JSON_PROPERTY_GUID
public static final String JSON_PROPERTY_GUID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PRODUCT_TYPE
public static final String JSON_PROPERTY_PRODUCT_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BANK_GUID
public static final String JSON_PROPERTY_BANK_GUID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CUSTOMER_GUID
public static final String JSON_PROPERTY_CUSTOMER_GUID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SYMBOL
public static final String JSON_PROPERTY_SYMBOL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SIDE
public static final String JSON_PROPERTY_SIDE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RECEIVE_AMOUNT
public static final String JSON_PROPERTY_RECEIVE_AMOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DELIVER_AMOUNT
public static final String JSON_PROPERTY_DELIVER_AMOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FEE
public static final String JSON_PROPERTY_FEE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CREATED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UPDATED_AT
public static final String JSON_PROPERTY_UPDATED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ISSUED_AT
public static final String JSON_PROPERTY_ISSUED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXPIRES_AT
public static final String JSON_PROPERTY_EXPIRES_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ASSET
public static final String JSON_PROPERTY_ASSET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NETWORK_FEE
public static final String JSON_PROPERTY_NETWORK_FEE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NETWORK_FEE_ASSET
public static final String JSON_PROPERTY_NETWORK_FEE_ASSET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NETWORK_ADDRESS
public static final String JSON_PROPERTY_NETWORK_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ENTRIES
public static final String JSON_PROPERTY_ENTRIES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRADE_GUID
public static final String JSON_PROPERTY_TRADE_GUID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRANSFER_GUID
public static final String JSON_PROPERTY_TRANSFER_GUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
guid
public QuoteBankModel guid(String guid)
-
getGuid
@Nullable public String getGuid()
Auto-generated unique identifier for the quote.- Returns:
- guid
-
setGuid
public void setGuid(String guid)
-
productType
public QuoteBankModel productType(String productType)
-
getProductType
@Nullable public String getProductType()
The type of product the quote is for; one of trading, trading_exit, funding, crypto_transfer, inter_account, or lightning_transfer.- Returns:
- productType
-
setProductType
public void setProductType(String productType)
-
bankGuid
public QuoteBankModel bankGuid(String bankGuid)
-
getBankGuid
@Nullable public String getBankGuid()
The unique identifier for the bank.- Returns:
- bankGuid
-
setBankGuid
public void setBankGuid(String bankGuid)
-
customerGuid
public QuoteBankModel customerGuid(String customerGuid)
-
getCustomerGuid
@Nullable public String getCustomerGuid()
The unique identifier for the customer.- Returns:
- customerGuid
-
setCustomerGuid
public void setCustomerGuid(String customerGuid)
-
symbol
public QuoteBankModel symbol(String symbol)
-
getSymbol
@Nullable public String getSymbol()
Symbol the quote was requested for. Format is \"asset-counter_asset\" in uppercase. Populated for trade quotes.- 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)
-
side
public QuoteBankModel side(String side)
-
getSide
@Nullable public String getSide()
The direction of the quote; one of buy, sell, deposit, or withdrawal.- Returns:
- side
-
setSide
public void setSide(String side)
-
receiveAmount
public QuoteBankModel receiveAmount(BigInteger receiveAmount)
-
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)
-
deliverAmount
public QuoteBankModel deliverAmount(BigInteger deliverAmount)
-
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)
-
fee
public QuoteBankModel fee(BigInteger fee)
-
getFee
@Nullable public BigInteger getFee()
The fee associated with the trade. Denominated in \"counter_asset\" base units for trade quotes.- Returns:
- fee
-
setFee
public void setFee(BigInteger fee)
-
createdAt
public QuoteBankModel createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
ISO8601 datetime the record was created at.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
updatedAt
public QuoteBankModel updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
ISO8601 datetime the record was last updated at.- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
issuedAt
public QuoteBankModel issuedAt(OffsetDateTime issuedAt)
-
getIssuedAt
@Nullable public OffsetDateTime getIssuedAt()
ISO8601 datetime the quote was created at.- Returns:
- issuedAt
-
setIssuedAt
public void setIssuedAt(OffsetDateTime issuedAt)
-
expiresAt
public QuoteBankModel expiresAt(OffsetDateTime expiresAt)
-
getExpiresAt
@Nullable public OffsetDateTime getExpiresAt()
ISO8601 datetime the quote is expiring at. Populated for trading quotes.- Returns:
- expiresAt
-
getExpiresAt_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getExpiresAt_JsonNullable()
-
setExpiresAt_JsonNullable
public void setExpiresAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> expiresAt)
-
setExpiresAt
public void setExpiresAt(OffsetDateTime expiresAt)
-
asset
public QuoteBankModel asset(String asset)
-
getAsset
@Nullable public String getAsset()
The asset code the quote was requested for. Populated for book transfer and funding quotes.- 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)
-
networkFee
public QuoteBankModel networkFee(BigInteger networkFee)
-
getNetworkFee
@Nullable public BigInteger getNetworkFee()
The network fee in base units of network_fee_asset. Only present on `crypto_transfer` quotes.- Returns:
- networkFee
-
getNetworkFee_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<BigInteger> getNetworkFee_JsonNullable()
-
setNetworkFee_JsonNullable
public void setNetworkFee_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<BigInteger> networkFee)
-
setNetworkFee
public void setNetworkFee(BigInteger networkFee)
-
networkFeeAsset
public QuoteBankModel networkFeeAsset(String networkFeeAsset)
-
getNetworkFeeAsset
@Nullable public String getNetworkFeeAsset()
The asset code of the network fee.- Returns:
- networkFeeAsset
-
getNetworkFeeAsset_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<String> getNetworkFeeAsset_JsonNullable()
-
setNetworkFeeAsset_JsonNullable
public void setNetworkFeeAsset_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> networkFeeAsset)
-
setNetworkFeeAsset
public void setNetworkFeeAsset(String networkFeeAsset)
-
networkAddress
public QuoteBankModel networkAddress(String networkAddress)
-
getNetworkAddress
@Nullable public String getNetworkAddress()
The network address to pay the invoice to. Populated for lightning_transfer quotes.- 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)
-
entries
public QuoteBankModel entries(List<QuoteEntryBankModel> entries)
-
addEntriesItem
public QuoteBankModel addEntriesItem(QuoteEntryBankModel entriesItem)
-
getEntries
@Nullable public List<QuoteEntryBankModel> getEntries()
The quote entries for a batch transfer quote- Returns:
- entries
-
getEntries_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<List<QuoteEntryBankModel>> getEntries_JsonNullable()
-
setEntries_JsonNullable
public void setEntries_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<QuoteEntryBankModel>> entries)
-
setEntries
public void setEntries(List<QuoteEntryBankModel> entries)
-
tradeGuid
public QuoteBankModel tradeGuid(String tradeGuid)
-
getTradeGuid
@Nullable public String getTradeGuid()
The unique identifier for the trade.- Returns:
- tradeGuid
-
getTradeGuid_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<String> getTradeGuid_JsonNullable()
-
setTradeGuid_JsonNullable
public void setTradeGuid_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> tradeGuid)
-
setTradeGuid
public void setTradeGuid(String tradeGuid)
-
transferGuid
public QuoteBankModel transferGuid(String transferGuid)
-
getTransferGuid
@Nullable public String getTransferGuid()
The unique identifier for the transfer.- Returns:
- transferGuid
-
getTransferGuid_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<String> getTransferGuid_JsonNullable()
-
setTransferGuid_JsonNullable
public void setTransferGuid_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> transferGuid)
-
setTransferGuid
public void setTransferGuid(String transferGuid)
-
-