Class PostFeeBankModel
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.model.PostFeeBankModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-02-05T20:37:24.412177Z[Etc/UTC]") public class PostFeeBankModel extends Object
Request body for fee creation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPostFeeBankModel.TypeEnumThe fee's type
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_FIXED_FEEstatic StringJSON_PROPERTY_SPREAD_FEEstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description PostFeeBankModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)PostFeeBankModelfixedFee(BigInteger fixedFee)BigIntegergetFixedFee()The fixed amount to apply when charging a fee; for trades, the fiat asset is used.org.openapitools.jackson.nullable.JsonNullable<BigInteger>getFixedFee_JsonNullable()BigIntegergetSpreadFee()The percentage amount, in basis points, to apply when charging a fee.org.openapitools.jackson.nullable.JsonNullable<BigInteger>getSpreadFee_JsonNullable()PostFeeBankModel.TypeEnumgetType()The fee's typeinthashCode()voidsetFixedFee(BigInteger fixedFee)voidsetFixedFee_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<BigInteger> fixedFee)voidsetSpreadFee(BigInteger spreadFee)voidsetSpreadFee_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<BigInteger> spreadFee)voidsetType(PostFeeBankModel.TypeEnum type)PostFeeBankModelspreadFee(BigInteger spreadFee)StringtoString()PostFeeBankModeltype(PostFeeBankModel.TypeEnum type)
-
-
-
Field Detail
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SPREAD_FEE
public static final String JSON_PROPERTY_SPREAD_FEE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FIXED_FEE
public static final String JSON_PROPERTY_FIXED_FEE
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public PostFeeBankModel type(PostFeeBankModel.TypeEnum type)
-
getType
@Nonnull public PostFeeBankModel.TypeEnum getType()
The fee's type- Returns:
- type
-
setType
public void setType(PostFeeBankModel.TypeEnum type)
-
spreadFee
public PostFeeBankModel spreadFee(BigInteger spreadFee)
-
getSpreadFee
@Nullable public BigInteger getSpreadFee()
The percentage amount, in basis points, to apply when charging a fee. Required when type is spread.- Returns:
- spreadFee
-
getSpreadFee_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<BigInteger> getSpreadFee_JsonNullable()
-
setSpreadFee_JsonNullable
public void setSpreadFee_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<BigInteger> spreadFee)
-
setSpreadFee
public void setSpreadFee(BigInteger spreadFee)
-
fixedFee
public PostFeeBankModel fixedFee(BigInteger fixedFee)
-
getFixedFee
@Nullable public BigInteger getFixedFee()
The fixed amount to apply when charging a fee; for trades, the fiat asset is used. Required when type is fixed.- Returns:
- fixedFee
-
getFixedFee_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<BigInteger> getFixedFee_JsonNullable()
-
setFixedFee_JsonNullable
public void setFixedFee_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<BigInteger> fixedFee)
-
setFixedFee
public void setFixedFee(BigInteger fixedFee)
-
-