Class RewardsCreateRequestBodyParametersCampaign

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

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

  • Constructor Details

    • RewardsCreateRequestBodyParametersCampaign

      public RewardsCreateRequestBodyParametersCampaign()
  • 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 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

      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 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

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