Class RewardBankModel
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.model.RewardBankModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-12T12:10:29.752371Z[Etc/UTC]") public class RewardBankModel extends Object
RewardBankModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRewardBankModel.StateEnumThe trade's state
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CREATED_ATstatic StringJSON_PROPERTY_CUSTOMER_GUIDstatic StringJSON_PROPERTY_DELIVER_AMOUNTstatic StringJSON_PROPERTY_FEEstatic StringJSON_PROPERTY_GUIDstatic StringJSON_PROPERTY_QUOTE_GUIDstatic StringJSON_PROPERTY_RECEIVE_AMOUNTstatic StringJSON_PROPERTY_STATEstatic StringJSON_PROPERTY_SYMBOLstatic StringJSON_PROPERTY_TRADE_GUID
-
Constructor Summary
Constructors Constructor Description RewardBankModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RewardBankModelcreatedAt(OffsetDateTime createdAt)RewardBankModelcustomerGuid(String customerGuid)RewardBankModeldeliverAmount(BigInteger deliverAmount)booleanequals(Object o)RewardBankModelfee(BigInteger fee)OffsetDateTimegetCreatedAt()ISO8601 datetime the bank was created at.StringgetCustomerGuid()The associated customer's identifier.BigIntegergetDeliverAmount()The amount to be delivered in base units of the currency: currency is \"counter_asset\" for buy and \"asset\" for sell.BigIntegergetFee()The fee associated with the trade.StringgetGuid()Auto-generated unique identifier for the reward.StringgetQuoteGuid()The associated quote's identifier.BigIntegergetReceiveAmount()The amount to be received in base units of the currency: currency is \"asset\" for buy and \"counter_asset\" for sell.RewardBankModel.StateEnumgetState()The trade's stateStringgetSymbol()The trade symbol the pricing is related to.StringgetTradeGuid()The associated trade's identifier.RewardBankModelguid(String guid)inthashCode()RewardBankModelquoteGuid(String quoteGuid)RewardBankModelreceiveAmount(BigInteger receiveAmount)voidsetCreatedAt(OffsetDateTime createdAt)voidsetCustomerGuid(String customerGuid)voidsetDeliverAmount(BigInteger deliverAmount)voidsetFee(BigInteger fee)voidsetGuid(String guid)voidsetQuoteGuid(String quoteGuid)voidsetReceiveAmount(BigInteger receiveAmount)voidsetState(RewardBankModel.StateEnum state)voidsetSymbol(String symbol)voidsetTradeGuid(String tradeGuid)RewardBankModelstate(RewardBankModel.StateEnum state)RewardBankModelsymbol(String symbol)StringtoString()RewardBankModeltradeGuid(String tradeGuid)
-
-
-
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_QUOTE_GUID
public static final String JSON_PROPERTY_QUOTE_GUID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRADE_GUID
public static final String JSON_PROPERTY_TRADE_GUID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SYMBOL
public static final String JSON_PROPERTY_SYMBOL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATE
public static final String JSON_PROPERTY_STATE
- 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
-
-
Method Detail
-
guid
public RewardBankModel guid(String guid)
-
getGuid
@Nullable public String getGuid()
Auto-generated unique identifier for the reward.- Returns:
- guid
-
setGuid
public void setGuid(String guid)
-
customerGuid
public RewardBankModel customerGuid(String customerGuid)
-
getCustomerGuid
@Nullable public String getCustomerGuid()
The associated customer's identifier.- Returns:
- customerGuid
-
setCustomerGuid
public void setCustomerGuid(String customerGuid)
-
quoteGuid
public RewardBankModel quoteGuid(String quoteGuid)
-
getQuoteGuid
@Nullable public String getQuoteGuid()
The associated quote's identifier.- Returns:
- quoteGuid
-
setQuoteGuid
public void setQuoteGuid(String quoteGuid)
-
tradeGuid
public RewardBankModel tradeGuid(String tradeGuid)
-
getTradeGuid
@Nullable public String getTradeGuid()
The associated trade's identifier.- Returns:
- tradeGuid
-
setTradeGuid
public void setTradeGuid(String tradeGuid)
-
symbol
public RewardBankModel symbol(String symbol)
-
getSymbol
@Nullable public String getSymbol()
The trade symbol the pricing is related to. Format is asset-counter_asset, e.g., BTC-USD.- Returns:
- symbol
-
setSymbol
public void setSymbol(String symbol)
-
state
public RewardBankModel state(RewardBankModel.StateEnum state)
-
getState
@Nullable public RewardBankModel.StateEnum getState()
The trade's state- Returns:
- state
-
setState
public void setState(RewardBankModel.StateEnum state)
-
receiveAmount
public RewardBankModel 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 RewardBankModel 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 RewardBankModel 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)
-
createdAt
public RewardBankModel createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
ISO8601 datetime the bank was created at.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
-