Package io.voucherify.client.model
Class MappingPoints
java.lang.Object
io.voucherify.client.model.MappingPoints
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class MappingPoints
extends Object
MappingPoints
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumGets or Sets type -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic MappingPointsCreate an instance of MappingPoints given an JSON stringMultiplication factor used to multiply the points to obtain the mapped points.Fixed number of points to be applied.getType()Get typeinthashCode()multiplier(BigDecimal multiplier) voidsetMultiplier(BigDecimal multiplier) voidvoidtoJson()Convert an instance of MappingPoints to an JSON stringtoString()type(MappingPoints.TypeEnum type)
-
Field Details
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_MULTIPLIER
- See Also:
-
SERIALIZED_NAME_POINTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
MappingPoints
public MappingPoints()
-
-
Method Details
-
type
-
getType
Get type- Returns:
- type
-
setType
-
multiplier
-
getMultiplier
Multiplication factor used to multiply the points to obtain the mapped points.- Returns:
- multiplier
-
setMultiplier
-
points
-
getPoints
Fixed number of points to be applied.- Returns:
- points
-
setPoints
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of MappingPoints given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MappingPoints
- Throws:
IOException- if the JSON string is invalid with respect to MappingPoints
-
toJson
Convert an instance of MappingPoints to an JSON string- Returns:
- JSON string
-