Class RewardsUpdateRequestBodyParametersCampaign

java.lang.Object
io.voucherify.client.model.RewardsUpdateRequestBodyParametersCampaign

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class RewardsUpdateRequestBodyParametersCampaign extends Object
RewardsUpdateRequestBodyParametersCampaign
  • Field Details

  • Constructor Details

    • RewardsUpdateRequestBodyParametersCampaign

      public RewardsUpdateRequestBodyParametersCampaign()
  • Method Details

    • id

    • getId

      @Nullable public String getId()
      Get id
      Returns:
      id
    • setId

      public void setId(String id)
    • balance

    • getBalance

      @Nullable public Integer 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

      public void setBalance(Integer balance)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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

      public String toJson()
      Convert an instance of RewardsUpdateRequestBodyParametersCampaign to an JSON string
      Returns:
      JSON string