Class QuoteBankModel
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.model.QuoteBankModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-08-29T12:34:59.383660Z[Etc/UTC]") public class QuoteBankModel extends Object
QuoteBankModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuoteBankModel.ProductProviderEnumThe provider for the product being quoted.static classQuoteBankModel.ProductTypeEnumThe type of product the quote is for.static classQuoteBankModel.SideEnumThe direction of the quote: either 'buy' or 'sell' for trade quotes; 'deposit' or 'withdrawal' for savings 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_PRODUCT_PROVIDERstatic 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 and currency is always \"asset\" for savings 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.QuoteBankModel.ProductProviderEnumgetProductProvider()The provider for the product being quoted.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 and currency is always \"asset\" for savings quotes.QuoteBankModel.SideEnumgetSide()The direction of the quote: either 'buy' or 'sell' for trade quotes; 'deposit' or 'withdrawal' for savings quotes.StringgetSymbol()Symbol the quote was requested for.QuoteBankModelguid(String guid)inthashCode()QuoteBankModelissuedAt(OffsetDateTime issuedAt)QuoteBankModelproductProvider(QuoteBankModel.ProductProviderEnum productProvider)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)voidsetProductProvider(QuoteBankModel.ProductProviderEnum productProvider)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_ASSET
public static final String JSON_PROPERTY_ASSET
- 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_PRODUCT_PROVIDER
public static final String JSON_PROPERTY_PRODUCT_PROVIDER
- 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)
-
asset
public QuoteBankModel asset(String asset)
-
getAsset
@Nullable public String getAsset()
The asset code the quote was requested for. Populated for savings quotes.- Returns:
- asset
-
setAsset
public void setAsset(String asset)
-
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; 'deposit' or 'withdrawal' for savings 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 and currency is always \"asset\" for savings 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 and currency is always \"asset\" for savings 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 and \"asset\" for savings 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)
-
productProvider
public QuoteBankModel productProvider(QuoteBankModel.ProductProviderEnum productProvider)
-
getProductProvider
@Nullable public QuoteBankModel.ProductProviderEnum getProductProvider()
The provider for the product being quoted. Populated for savings quotes.- Returns:
- productProvider
-
setProductProvider
public void setProductProvider(QuoteBankModel.ProductProviderEnum productProvider)
-
-