Package io.voucherify.client.model
Class RewardsCreateRequestBodyParametersCampaign
java.lang.Object
io.voucherify.client.model.RewardsCreateRequestBodyParametersCampaign
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class RewardsCreateRequestBodyParametersCampaign
extends Object
RewardsCreateRequestBodyParametersCampaign
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of RewardsCreateRequestBodyParametersCampaign given an JSON stringThe incremental points to be added to the current balance on the loyalty card.getId()Get idinthashCode()voidsetBalance(Integer balance) voidtoJson()Convert an instance of RewardsCreateRequestBodyParametersCampaign to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_BALANCE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
RewardsCreateRequestBodyParametersCampaign
public RewardsCreateRequestBodyParametersCampaign()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
balance
-
getBalance
The incremental points to be added to the current balance on the loyalty card. and The incremental amout to be added to the current balance on the gift card. Value is multiplied by 100 to precisely represent 2 decimal places. For example, $100 amount is written as 10000.- Returns:
- balance
-
setBalance
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static RewardsCreateRequestBodyParametersCampaign fromJson(String jsonString) throws IOException Create an instance of RewardsCreateRequestBodyParametersCampaign given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RewardsCreateRequestBodyParametersCampaign
- Throws:
IOException- if the JSON string is invalid with respect to RewardsCreateRequestBodyParametersCampaign
-
toJson
Convert an instance of RewardsCreateRequestBodyParametersCampaign to an JSON string- Returns:
- JSON string
-