Class QuoteBankModel
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.model.QuoteBankModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-06-09T20:26:03.804462Z[Etc/UTC]") public class QuoteBankModel extends Object
QuoteBankModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuoteBankModel.SideEnumThe direction of the quote: either 'buy' or 'sell'.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CUSTOMER_GUIDstatic StringJSON_PROPERTY_DELIVER_AMOUNTstatic StringJSON_PROPERTY_EXPIRES_ATstatic StringJSON_PROPERTY_FEEstatic StringJSON_PROPERTY_GUIDstatic StringJSON_PROPERTY_ISSUED_ATstatic 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 QuoteBankModelcustomerGuid(String customerGuid)QuoteBankModeldeliverAmount(BigInteger deliverAmount)booleanequals(Object o)QuoteBankModelexpiresAt(OffsetDateTime expiresAt)QuoteBankModelfee(BigInteger fee)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.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.BigIntegergetReceiveAmount()The amount to be received in base units of the currency: currency is \"asset\" for buy and \"counter_asset\" for sell.QuoteBankModel.SideEnumgetSide()The direction of the quote: either 'buy' or 'sell'.StringgetSymbol()Symbol the quote is being requested for.QuoteBankModelguid(String guid)inthashCode()QuoteBankModelissuedAt(OffsetDateTime issuedAt)QuoteBankModelreceiveAmount(BigInteger receiveAmount)voidsetCustomerGuid(String customerGuid)voidsetDeliverAmount(BigInteger deliverAmount)voidsetExpiresAt(OffsetDateTime expiresAt)voidsetFee(BigInteger fee)voidsetGuid(String guid)voidsetIssuedAt(OffsetDateTime issuedAt)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_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
-
-
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)
-
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 is being requested for. Format is \"asset-counter_asset\" in uppercase.- 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'.- 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.- 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.- 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- 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.- Returns:
- expiresAt
-
setExpiresAt
public void setExpiresAt(OffsetDateTime expiresAt)
-
-