Class QuoteBankModel
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.model.QuoteBankModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-04-27T12:41:02.165559Z[Etc/UTC]") public class QuoteBankModel extends Object
QuoteBankModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuoteBankModel.ProductTypeEnumThe type of product the quote is for.static classQuoteBankModel.SideEnumThe direction of the quote: either 'buy' or 'sell' for trade quotes.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ASSETstatic StringJSON_PROPERTY_CUSTOMER_GUIDstatic StringJSON_PROPERTY_DELIVER_AMOUNTstatic StringJSON_PROPERTY_EXPIRES_ATstatic StringJSON_PROPERTY_FEEstatic StringJSON_PROPERTY_GUIDstatic StringJSON_PROPERTY_ISSUED_ATstatic StringJSON_PROPERTY_NETWORK_FEEstatic StringJSON_PROPERTY_NETWORK_FEE_ASSETstatic StringJSON_PROPERTY_PRODUCT_TYPEstatic StringJSON_PROPERTY_RECEIVE_AMOUNTstatic StringJSON_PROPERTY_SIDEstatic StringJSON_PROPERTY_SYMBOL
-
Constructor Summary
Constructors Constructor Description QuoteBankModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuoteBankModelasset(String asset)QuoteBankModelcustomerGuid(String customerGuid)QuoteBankModeldeliverAmount(BigInteger deliverAmount)booleanequals(Object o)QuoteBankModelexpiresAt(OffsetDateTime expiresAt)QuoteBankModelfee(BigInteger fee)StringgetAsset()The asset code the quote was requested for.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.OffsetDateTimegetExpiresAt()ISO8601 datetime the quote is expiring at.BigIntegergetFee()The fee associated with the trade.StringgetGuid()Auto-generated unique identifier for the quote.OffsetDateTimegetIssuedAt()ISO8601 datetime the quote was created at.BigIntegergetNetworkFee()The network fee in base units of network_fee_asset.StringgetNetworkFeeAsset()The asset code of the network fee.QuoteBankModel.ProductTypeEnumgetProductType()The type of product the quote is for.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.QuoteBankModel.SideEnumgetSide()The direction of the quote: either 'buy' or 'sell' for trade quotes.StringgetSymbol()Symbol the quote was requested for.QuoteBankModelguid(String guid)inthashCode()QuoteBankModelissuedAt(OffsetDateTime issuedAt)QuoteBankModelnetworkFee(BigInteger networkFee)QuoteBankModelnetworkFeeAsset(String networkFeeAsset)QuoteBankModelproductType(QuoteBankModel.ProductTypeEnum productType)QuoteBankModelreceiveAmount(BigInteger receiveAmount)voidsetAsset(String asset)voidsetCustomerGuid(String customerGuid)voidsetDeliverAmount(BigInteger deliverAmount)voidsetExpiresAt(OffsetDateTime expiresAt)voidsetFee(BigInteger fee)voidsetGuid(String guid)voidsetIssuedAt(OffsetDateTime issuedAt)voidsetNetworkFee(BigInteger networkFee)voidsetNetworkFeeAsset(String networkFeeAsset)voidsetProductType(QuoteBankModel.ProductTypeEnum productType)voidsetReceiveAmount(BigInteger receiveAmount)voidsetSide(QuoteBankModel.SideEnum side)voidsetSymbol(String symbol)QuoteBankModelside(QuoteBankModel.SideEnum side)QuoteBankModelsymbol(String symbol)StringtoString()
-
-
-
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_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_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
-
-
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(QuoteBankModel.ProductTypeEnum productType)
-
getProductType
@Nullable public QuoteBankModel.ProductTypeEnum getProductType()
The type of product the quote is for.- Returns:
- productType
-
setProductType
public void setProductType(QuoteBankModel.ProductTypeEnum productType)
-
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
-
setSymbol
public void setSymbol(String symbol)
-
side
public QuoteBankModel side(QuoteBankModel.SideEnum side)
-
getSide
@Nullable public QuoteBankModel.SideEnum getSide()
The direction of the quote: either 'buy' or 'sell' for trade quotes.- Returns:
- side
-
setSide
public void setSide(QuoteBankModel.SideEnum 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)
-
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
-
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
-
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
-
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
-
setNetworkFeeAsset
public void setNetworkFeeAsset(String networkFeeAsset)
-
-