Class PostQuoteBankModel
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.model.PostQuoteBankModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-09-07T15:15:28.155888Z[Etc/UTC]") public class PostQuoteBankModel extends Object
PostQuoteBankModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPostQuoteBankModel.ProductProviderEnumThe provider for the product being quoted.static classPostQuoteBankModel.ProductTypeEnumThe type of product the quote is for.static classPostQuoteBankModel.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_PRODUCT_PROVIDERstatic StringJSON_PROPERTY_PRODUCT_TYPEstatic StringJSON_PROPERTY_RECEIVE_AMOUNTstatic StringJSON_PROPERTY_SIDEstatic StringJSON_PROPERTY_SYMBOL
-
Constructor Summary
Constructors Constructor Description PostQuoteBankModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PostQuoteBankModelasset(String asset)PostQuoteBankModelcustomerGuid(String customerGuid)PostQuoteBankModeldeliverAmount(BigInteger deliverAmount)booleanequals(Object o)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.PostQuoteBankModel.ProductProviderEnumgetProductProvider()The provider for the product being quoted.PostQuoteBankModel.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.PostQuoteBankModel.SideEnumgetSide()The direction of the quote: either 'buy' or 'sell' for trade quotes; 'deposit' or 'withdrawal' for savings quotes.StringgetSymbol()Symbol the quote is being requested for.inthashCode()PostQuoteBankModelproductProvider(PostQuoteBankModel.ProductProviderEnum productProvider)PostQuoteBankModelproductType(PostQuoteBankModel.ProductTypeEnum productType)PostQuoteBankModelreceiveAmount(BigInteger receiveAmount)voidsetAsset(String asset)voidsetCustomerGuid(String customerGuid)voidsetDeliverAmount(BigInteger deliverAmount)voidsetProductProvider(PostQuoteBankModel.ProductProviderEnum productProvider)voidsetProductType(PostQuoteBankModel.ProductTypeEnum productType)voidsetReceiveAmount(BigInteger receiveAmount)voidsetSide(PostQuoteBankModel.SideEnum side)voidsetSymbol(String symbol)PostQuoteBankModelside(PostQuoteBankModel.SideEnum side)PostQuoteBankModelsymbol(String symbol)StringtoString()
-
-
-
Field Detail
-
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_PRODUCT_PROVIDER
public static final String JSON_PROPERTY_PRODUCT_PROVIDER
- See Also:
- Constant Field Values
-
-
Method Detail
-
productType
public PostQuoteBankModel productType(PostQuoteBankModel.ProductTypeEnum productType)
-
getProductType
@Nullable public PostQuoteBankModel.ProductTypeEnum getProductType()
The type of product the quote is for.- Returns:
- productType
-
setProductType
public void setProductType(PostQuoteBankModel.ProductTypeEnum productType)
-
customerGuid
public PostQuoteBankModel customerGuid(String customerGuid)
-
getCustomerGuid
@Nonnull public String getCustomerGuid()
The unique identifier for the customer.- Returns:
- customerGuid
-
setCustomerGuid
public void setCustomerGuid(String customerGuid)
-
symbol
public PostQuoteBankModel symbol(String symbol)
-
getSymbol
@Nullable public String getSymbol()
Symbol the quote is being requested for. Format is \"asset-counter_asset\" in uppercase. See the Symbols API for a complete list of cryptocurrencies supported.- Returns:
- symbol
-
setSymbol
public void setSymbol(String symbol)
-
asset
public PostQuoteBankModel 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 PostQuoteBankModel side(PostQuoteBankModel.SideEnum side)
-
getSide
@Nonnull public PostQuoteBankModel.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(PostQuoteBankModel.SideEnum side)
-
receiveAmount
public PostQuoteBankModel 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 PostQuoteBankModel 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)
-
productProvider
public PostQuoteBankModel productProvider(PostQuoteBankModel.ProductProviderEnum productProvider)
-
getProductProvider
@Nullable public PostQuoteBankModel.ProductProviderEnum getProductProvider()
The provider for the product being quoted. Populated for savings quotes.- Returns:
- productProvider
-
setProductProvider
public void setProductProvider(PostQuoteBankModel.ProductProviderEnum productProvider)
-
-