Class PostFeeBankModel
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.model.PostFeeBankModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-16T11:03:41.270269Z[Etc/UTC]") public class PostFeeBankModel extends Object
PostFeeBankModel
-
-
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, in the currency of the parent trading configuration, to apply when charging a fee.BigIntegergetSpreadFee()The percentage amount, in basis points, to apply when charging a fee.PostFeeBankModel.TypeEnumgetType()The fee's typeinthashCode()voidsetFixedFee(BigInteger fixedFee)voidsetSpreadFee(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.- Returns:
- spreadFee
-
setSpreadFee
public void setSpreadFee(BigInteger spreadFee)
-
fixedFee
public PostFeeBankModel fixedFee(BigInteger fixedFee)
-
getFixedFee
@Nullable public BigInteger getFixedFee()
The fixed amount, in the currency of the parent trading configuration, to apply when charging a fee.- Returns:
- fixedFee
-
setFixedFee
public void setFixedFee(BigInteger fixedFee)
-
-