Package io.voucherify.client.model
Class ManagementProjectsBrandingUpdateRequestBodyCockpits
java.lang.Object
io.voucherify.client.model.ManagementProjectsBrandingUpdateRequestBodyCockpits
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManagementProjectsBrandingUpdateRequestBodyCockpits
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 ManagementProjectsBrandingUpdateRequestBodyCockpits given an JSON stringIndicates if the campaign overview is turned on for customers.Indicates if the discount coupon overview is turned on for customers.Defines the URL for the double opt-in consent.Indicates if the gift card overview is turned on for customers.Indicates if the loyalty campaign overview is turned on for customers.Indicates if the referral campaign overview is turned on for customers.getTheme()Determines the color scheme of the customer cockpit.Indicates if the double opt-in option is turned on.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 ManagementProjectsBrandingUpdateRequestBodyCockpits 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
-
ManagementProjectsBrandingUpdateRequestBodyCockpits
public ManagementProjectsBrandingUpdateRequestBodyCockpits()
-
-
Method Details
-
campaignsOverviewEnabled
public ManagementProjectsBrandingUpdateRequestBodyCockpits campaignsOverviewEnabled(Boolean campaignsOverviewEnabled) -
getCampaignsOverviewEnabled
Indicates if the campaign overview is turned on for customers.- Returns:
- campaignsOverviewEnabled
-
setCampaignsOverviewEnabled
-
loyaltyEnabled
-
getLoyaltyEnabled
Indicates if the loyalty campaign overview is turned on for customers.- Returns:
- loyaltyEnabled
-
setLoyaltyEnabled
-
giftCardsEnabled
public ManagementProjectsBrandingUpdateRequestBodyCockpits giftCardsEnabled(Boolean giftCardsEnabled) -
getGiftCardsEnabled
Indicates if the gift card overview is turned on for customers.- Returns:
- giftCardsEnabled
-
setGiftCardsEnabled
-
couponsEnabled
-
getCouponsEnabled
Indicates if the discount coupon overview is turned on for customers.- Returns:
- couponsEnabled
-
setCouponsEnabled
-
referralsEnabled
public ManagementProjectsBrandingUpdateRequestBodyCockpits referralsEnabled(Boolean referralsEnabled) -
getReferralsEnabled
Indicates if the referral campaign overview is turned on for customers.- Returns:
- referralsEnabled
-
setReferralsEnabled
-
theme
-
getTheme
Determines the color scheme of the customer cockpit.- Returns:
- theme
-
setTheme
-
useCustomDoubleOptInRedirectUrl
public ManagementProjectsBrandingUpdateRequestBodyCockpits useCustomDoubleOptInRedirectUrl(Boolean useCustomDoubleOptInRedirectUrl) -
getUseCustomDoubleOptInRedirectUrl
Indicates if the double opt-in option is turned on.- Returns:
- useCustomDoubleOptInRedirectUrl
-
setUseCustomDoubleOptInRedirectUrl
-
customDoubleOptInRedirectUrl
public ManagementProjectsBrandingUpdateRequestBodyCockpits customDoubleOptInRedirectUrl(String customDoubleOptInRedirectUrl) -
getCustomDoubleOptInRedirectUrl
Defines the URL for the double opt-in consent.- Returns:
- customDoubleOptInRedirectUrl
-
setCustomDoubleOptInRedirectUrl
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static ManagementProjectsBrandingUpdateRequestBodyCockpits fromJson(String jsonString) throws IOException Create an instance of ManagementProjectsBrandingUpdateRequestBodyCockpits given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ManagementProjectsBrandingUpdateRequestBodyCockpits
- Throws:
IOException- if the JSON string is invalid with respect to ManagementProjectsBrandingUpdateRequestBodyCockpits
-
toJson
Convert an instance of ManagementProjectsBrandingUpdateRequestBodyCockpits to an JSON string- Returns:
- JSON string
-