Package io.voucherify.client.model
Class RewardsUpdateRequestBodyParametersCampaign
java.lang.Object
io.voucherify.client.model.RewardsUpdateRequestBodyParametersCampaign
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class RewardsUpdateRequestBodyParametersCampaign
extends Object
RewardsUpdateRequestBodyParametersCampaign
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of RewardsUpdateRequestBodyParametersCampaign 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 RewardsUpdateRequestBodyParametersCampaign to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_BALANCE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
RewardsUpdateRequestBodyParametersCampaign
public RewardsUpdateRequestBodyParametersCampaign()
-
-
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 amount 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 RewardsUpdateRequestBodyParametersCampaign fromJson(String jsonString) throws IOException Create an instance of RewardsUpdateRequestBodyParametersCampaign given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RewardsUpdateRequestBodyParametersCampaign
- Throws:
IOException- if the JSON string is invalid with respect to RewardsUpdateRequestBodyParametersCampaign
-
toJson
Convert an instance of RewardsUpdateRequestBodyParametersCampaign to an JSON string- Returns:
- JSON string
-