Package io.voucherify.client.model
Class ManagementProjectsBrandingCreateRequestBodyBrand
java.lang.Object
io.voucherify.client.model.ManagementProjectsBrandingCreateRequestBodyBrand
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManagementProjectsBrandingCreateRequestBodyBrand
extends Object
Defines basic brand details.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of ManagementProjectsBrandingCreateRequestBodyBrand given an JSON stringgetName()Defines brand name.Defines the message that is displayed to customers who opted in an email newsletter.Defines the URL to the brand's privacy policy.Defines the URL to the brand's terms of use.Defines the URL to the brand's website.inthashCode()permissionReminder(String permissionReminder) privacyPolicyUrl(String privacyPolicyUrl) voidvoidsetPermissionReminder(String permissionReminder) voidsetPrivacyPolicyUrl(String privacyPolicyUrl) voidsetTermsOfUseUrl(String termsOfUseUrl) voidsetWebsiteUrl(String websiteUrl) termsOfUseUrl(String termsOfUseUrl) toJson()Convert an instance of ManagementProjectsBrandingCreateRequestBodyBrand to an JSON stringtoString()websiteUrl(String websiteUrl)
-
Field Details
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_PRIVACY_POLICY_URL
- See Also:
-
SERIALIZED_NAME_TERMS_OF_USE_URL
- See Also:
-
SERIALIZED_NAME_PERMISSION_REMINDER
- See Also:
-
SERIALIZED_NAME_WEBSITE_URL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ManagementProjectsBrandingCreateRequestBodyBrand
public ManagementProjectsBrandingCreateRequestBodyBrand()
-
-
Method Details
-
name
-
getName
Defines brand name.- Returns:
- name
-
setName
-
privacyPolicyUrl
-
getPrivacyPolicyUrl
Defines the URL to the brand's privacy policy. It must be a valid URL format.- Returns:
- privacyPolicyUrl
-
setPrivacyPolicyUrl
-
termsOfUseUrl
-
getTermsOfUseUrl
Defines the URL to the brand's terms of use. It must be a valid URL format.- Returns:
- termsOfUseUrl
-
setTermsOfUseUrl
-
permissionReminder
public ManagementProjectsBrandingCreateRequestBodyBrand permissionReminder(String permissionReminder) -
getPermissionReminder
Defines the message that is displayed to customers who opted in an email newsletter.- Returns:
- permissionReminder
-
setPermissionReminder
-
websiteUrl
-
getWebsiteUrl
Defines the URL to the brand's website. It must be a valid URL format.- Returns:
- websiteUrl
-
setWebsiteUrl
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static ManagementProjectsBrandingCreateRequestBodyBrand fromJson(String jsonString) throws IOException Create an instance of ManagementProjectsBrandingCreateRequestBodyBrand given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ManagementProjectsBrandingCreateRequestBodyBrand
- Throws:
IOException- if the JSON string is invalid with respect to ManagementProjectsBrandingCreateRequestBodyBrand
-
toJson
Convert an instance of ManagementProjectsBrandingCreateRequestBodyBrand to an JSON string- Returns:
- JSON string
-