Package io.voucherify.client.model
Class TemplatesCampaignsCampaignSetupCreateRequestBodyVoucher
java.lang.Object
io.voucherify.client.model.TemplatesCampaignsCampaignSetupCreateRequestBodyVoucher
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class TemplatesCampaignsCampaignSetupCreateRequestBodyVoucher
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncodeConfig(CodeConfig codeConfig) booleanCreate an instance of TemplatesCampaignsCampaignSetupCreateRequestBodyVoucher given an JSON stringGet codeConfigGet redemptioninthashCode()voidsetCodeConfig(CodeConfig codeConfig) voidtoJson()Convert an instance of TemplatesCampaignsCampaignSetupCreateRequestBodyVoucher to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_CODE_CONFIG
- See Also:
-
SERIALIZED_NAME_REDEMPTION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TemplatesCampaignsCampaignSetupCreateRequestBodyVoucher
public TemplatesCampaignsCampaignSetupCreateRequestBodyVoucher()
-
-
Method Details
-
codeConfig
-
getCodeConfig
Get codeConfig- Returns:
- codeConfig
-
setCodeConfig
-
redemption
public TemplatesCampaignsCampaignSetupCreateRequestBodyVoucher redemption(TemplatesCampaignsCampaignSetupCreateRequestBodyVoucherRedemption redemption) -
getRedemption
Get redemption- Returns:
- redemption
-
setRedemption
public void setRedemption(TemplatesCampaignsCampaignSetupCreateRequestBodyVoucherRedemption redemption) -
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static TemplatesCampaignsCampaignSetupCreateRequestBodyVoucher fromJson(String jsonString) throws IOException Create an instance of TemplatesCampaignsCampaignSetupCreateRequestBodyVoucher given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TemplatesCampaignsCampaignSetupCreateRequestBodyVoucher
- Throws:
IOException- if the JSON string is invalid with respect to TemplatesCampaignsCampaignSetupCreateRequestBodyVoucher
-
toJson
Convert an instance of TemplatesCampaignsCampaignSetupCreateRequestBodyVoucher to an JSON string- Returns:
- JSON string
-