Package io.voucherify.client.model
Class ManagementProjectsBrandingCreateRequestBodyCockpits
java.lang.Object
io.voucherify.client.model.ManagementProjectsBrandingCreateRequestBodyCockpits
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManagementProjectsBrandingCreateRequestBodyCockpits
extends Object
Defines customer cockpit details.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumDetermines the color scheme of the customer cockpit. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncampaignsOverviewEnabled(Boolean campaignsOverviewEnabled) couponsEnabled(Boolean couponsEnabled) customDoubleOptInRedirectUrl(String customDoubleOptInRedirectUrl) booleanCreate an instance of ManagementProjectsBrandingCreateRequestBodyCockpits given an JSON stringEnables the campaign overview for customers.Enables the discount coupon overview for customers.Defines the URL for the double opt-in consent.Enables the gift card overview for customers.Enables the loyalty campaign overview for customers.Enables the referral campaign overview for customers.getTheme()Determines the color scheme of the customer cockpit.Enables the double opt-in option.giftCardsEnabled(Boolean giftCardsEnabled) inthashCode()loyaltyEnabled(Boolean loyaltyEnabled) referralsEnabled(Boolean referralsEnabled) voidsetCampaignsOverviewEnabled(Boolean campaignsOverviewEnabled) voidsetCouponsEnabled(Boolean couponsEnabled) voidsetCustomDoubleOptInRedirectUrl(String customDoubleOptInRedirectUrl) voidsetGiftCardsEnabled(Boolean giftCardsEnabled) voidsetLoyaltyEnabled(Boolean loyaltyEnabled) voidsetReferralsEnabled(Boolean referralsEnabled) voidvoidsetUseCustomDoubleOptInRedirectUrl(Boolean useCustomDoubleOptInRedirectUrl) toJson()Convert an instance of ManagementProjectsBrandingCreateRequestBodyCockpits to an JSON stringtoString()useCustomDoubleOptInRedirectUrl(Boolean useCustomDoubleOptInRedirectUrl)
-
Field Details
-
SERIALIZED_NAME_CAMPAIGNS_OVERVIEW_ENABLED
- See Also:
-
SERIALIZED_NAME_LOYALTY_ENABLED
- See Also:
-
SERIALIZED_NAME_GIFT_CARDS_ENABLED
- See Also:
-
SERIALIZED_NAME_COUPONS_ENABLED
- See Also:
-
SERIALIZED_NAME_REFERRALS_ENABLED
- See Also:
-
SERIALIZED_NAME_THEME
- See Also:
-
SERIALIZED_NAME_USE_CUSTOM_DOUBLE_OPT_IN_REDIRECT_URL
- See Also:
-
SERIALIZED_NAME_CUSTOM_DOUBLE_OPT_IN_REDIRECT_URL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ManagementProjectsBrandingCreateRequestBodyCockpits
public ManagementProjectsBrandingCreateRequestBodyCockpits()
-
-
Method Details
-
campaignsOverviewEnabled
public ManagementProjectsBrandingCreateRequestBodyCockpits campaignsOverviewEnabled(Boolean campaignsOverviewEnabled) -
getCampaignsOverviewEnabled
Enables the campaign overview for customers.- Returns:
- campaignsOverviewEnabled
-
setCampaignsOverviewEnabled
-
loyaltyEnabled
-
getLoyaltyEnabled
Enables the loyalty campaign overview for customers.- Returns:
- loyaltyEnabled
-
setLoyaltyEnabled
-
giftCardsEnabled
public ManagementProjectsBrandingCreateRequestBodyCockpits giftCardsEnabled(Boolean giftCardsEnabled) -
getGiftCardsEnabled
Enables the gift card overview for customers.- Returns:
- giftCardsEnabled
-
setGiftCardsEnabled
-
couponsEnabled
-
getCouponsEnabled
Enables the discount coupon overview for customers.- Returns:
- couponsEnabled
-
setCouponsEnabled
-
referralsEnabled
public ManagementProjectsBrandingCreateRequestBodyCockpits referralsEnabled(Boolean referralsEnabled) -
getReferralsEnabled
Enables the referral campaign overview for customers.- Returns:
- referralsEnabled
-
setReferralsEnabled
-
theme
-
getTheme
Determines the color scheme of the customer cockpit.- Returns:
- theme
-
setTheme
-
useCustomDoubleOptInRedirectUrl
public ManagementProjectsBrandingCreateRequestBodyCockpits useCustomDoubleOptInRedirectUrl(Boolean useCustomDoubleOptInRedirectUrl) -
getUseCustomDoubleOptInRedirectUrl
Enables the double opt-in option. It must be a valid URL format.- Returns:
- useCustomDoubleOptInRedirectUrl
-
setUseCustomDoubleOptInRedirectUrl
-
customDoubleOptInRedirectUrl
public ManagementProjectsBrandingCreateRequestBodyCockpits customDoubleOptInRedirectUrl(String customDoubleOptInRedirectUrl) -
getCustomDoubleOptInRedirectUrl
Defines the URL for the double opt-in consent. It must be a valid URL format.- Returns:
- customDoubleOptInRedirectUrl
-
setCustomDoubleOptInRedirectUrl
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static ManagementProjectsBrandingCreateRequestBodyCockpits fromJson(String jsonString) throws IOException Create an instance of ManagementProjectsBrandingCreateRequestBodyCockpits given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ManagementProjectsBrandingCreateRequestBodyCockpits
- Throws:
IOException- if the JSON string is invalid with respect to ManagementProjectsBrandingCreateRequestBodyCockpits
-
toJson
Convert an instance of ManagementProjectsBrandingCreateRequestBodyCockpits to an JSON string- Returns:
- JSON string
-