Class PostQuoteEntryBankModel
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.model.PostQuoteEntryBankModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-10-30T01:31:57.062146Z[Etc/UTC]") public class PostQuoteEntryBankModel extends Object
Request body for quote account creation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPostQuoteEntryBankModel.TypeEnumThe type of account
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DELIVER_AMOUNTstatic StringJSON_PROPERTY_GUIDstatic StringJSON_PROPERTY_RECEIVE_AMOUNTstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description PostQuoteEntryBankModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PostQuoteEntryBankModeldeliverAmount(BigInteger deliverAmount)booleanequals(Object o)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.StringgetGuid()The guid of the accountBigIntegergetReceiveAmount()The amount to be received in base units of the currency: currency is \"asset\" for buy and \"counter_asset\" for sell for trade quotes.PostQuoteEntryBankModel.TypeEnumgetType()The type of accountPostQuoteEntryBankModelguid(String guid)inthashCode()PostQuoteEntryBankModelreceiveAmount(BigInteger receiveAmount)voidsetDeliverAmount(BigInteger deliverAmount)voidsetGuid(String guid)voidsetReceiveAmount(BigInteger receiveAmount)voidsetType(PostQuoteEntryBankModel.TypeEnum type)StringtoString()PostQuoteEntryBankModeltype(PostQuoteEntryBankModel.TypeEnum type)
-
-
-
Field Detail
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_GUID
public static final String JSON_PROPERTY_GUID
- 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
-
-
Method Detail
-
type
public PostQuoteEntryBankModel type(PostQuoteEntryBankModel.TypeEnum type)
-
getType
@Nonnull public PostQuoteEntryBankModel.TypeEnum getType()
The type of account- Returns:
- type
-
setType
public void setType(PostQuoteEntryBankModel.TypeEnum type)
-
guid
public PostQuoteEntryBankModel guid(String guid)
-
setGuid
public void setGuid(String guid)
-
receiveAmount
public PostQuoteEntryBankModel 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 PostQuoteEntryBankModel 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)
-
-