Skip to content

Latest commit

 

History

History
585 lines (314 loc) · 19 KB

Application.md

File metadata and controls

585 lines (314 loc) · 19 KB

Application

Properties

Name Type Description Notes
Id Pointer to int32 Internal ID of this entity.
Created Pointer to time.Time The time this entity was created.
Modified Pointer to time.Time The time this entity was last modified.
AccountId Pointer to int32 The ID of the account that owns this entity.
Name Pointer to string The name of this application.
Description Pointer to string A longer description of the application. [optional]
Timezone Pointer to string A string containing an IANA timezone descriptor.
Currency Pointer to string The default currency for new customer sessions.
CaseSensitivity Pointer to string The case sensitivity behavior to check coupon codes in the campaigns of this Application. [optional]
Attributes Pointer to map[string]interface{} Arbitrary properties associated with this campaign. [optional]
Limits Pointer to []LimitConfig Default limits for campaigns created in this application. [optional]
DefaultDiscountScope Pointer to string The default scope to apply `setDiscount` effects on if no scope was provided with the effect. [optional]
EnableCascadingDiscounts Pointer to bool Indicates if discounts should cascade for this Application. [optional]
EnableFlattenedCartItems Pointer to bool Indicates if cart items of quantity larger than one should be separated into different items of quantity one. [optional]
AttributesSettings Pointer to AttributesSettings [optional]
Sandbox Pointer to bool Indicates if this is a live or sandbox Application. [optional]
EnablePartialDiscounts Pointer to bool Indicates if this Application supports partial discounts. [optional]
DefaultDiscountAdditionalCostPerItemScope Pointer to string The default scope to apply `setDiscountPerItem` effects on if no scope was provided with the effect. [optional]
DefaultEvaluationGroupId Pointer to int32 The ID of the default campaign evaluation group to which new campaigns will be added unless a different group is selected when creating the campaign. [optional]
DefaultCartItemFilterId Pointer to int32 The ID of the default Cart-Item-Filter for this application. [optional]
EnableCampaignStateManagement Pointer to bool Indicates whether the campaign staging and revisions feature is enabled for the Application. Important: After this feature is enabled, it cannot be disabled. [optional]
LoyaltyPrograms Pointer to []LoyaltyProgram An array containing all the loyalty programs to which this application is subscribed.

Methods

GetId

func (o *Application) GetId() int32

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *Application) GetIdOk() (int32, bool)

GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasId

func (o *Application) HasId() bool

HasId returns a boolean if a field has been set.

SetId

func (o *Application) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

GetCreated

func (o *Application) GetCreated() time.Time

GetCreated returns the Created field if non-nil, zero value otherwise.

GetCreatedOk

func (o *Application) GetCreatedOk() (time.Time, bool)

GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasCreated

func (o *Application) HasCreated() bool

HasCreated returns a boolean if a field has been set.

SetCreated

func (o *Application) SetCreated(v time.Time)

SetCreated gets a reference to the given time.Time and assigns it to the Created field.

GetModified

func (o *Application) GetModified() time.Time

GetModified returns the Modified field if non-nil, zero value otherwise.

GetModifiedOk

func (o *Application) GetModifiedOk() (time.Time, bool)

GetModifiedOk returns a tuple with the Modified field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasModified

func (o *Application) HasModified() bool

HasModified returns a boolean if a field has been set.

SetModified

func (o *Application) SetModified(v time.Time)

SetModified gets a reference to the given time.Time and assigns it to the Modified field.

GetAccountId

func (o *Application) GetAccountId() int32

GetAccountId returns the AccountId field if non-nil, zero value otherwise.

GetAccountIdOk

func (o *Application) GetAccountIdOk() (int32, bool)

GetAccountIdOk returns a tuple with the AccountId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasAccountId

func (o *Application) HasAccountId() bool

HasAccountId returns a boolean if a field has been set.

SetAccountId

func (o *Application) SetAccountId(v int32)

SetAccountId gets a reference to the given int32 and assigns it to the AccountId field.

GetName

func (o *Application) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *Application) GetNameOk() (string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasName

func (o *Application) HasName() bool

HasName returns a boolean if a field has been set.

SetName

func (o *Application) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

GetDescription

func (o *Application) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *Application) GetDescriptionOk() (string, bool)

GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasDescription

func (o *Application) HasDescription() bool

HasDescription returns a boolean if a field has been set.

SetDescription

func (o *Application) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

GetTimezone

func (o *Application) GetTimezone() string

GetTimezone returns the Timezone field if non-nil, zero value otherwise.

GetTimezoneOk

func (o *Application) GetTimezoneOk() (string, bool)

GetTimezoneOk returns a tuple with the Timezone field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasTimezone

func (o *Application) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

SetTimezone

func (o *Application) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

GetCurrency

func (o *Application) GetCurrency() string

GetCurrency returns the Currency field if non-nil, zero value otherwise.

GetCurrencyOk

func (o *Application) GetCurrencyOk() (string, bool)

GetCurrencyOk returns a tuple with the Currency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasCurrency

func (o *Application) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

SetCurrency

func (o *Application) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

GetCaseSensitivity

func (o *Application) GetCaseSensitivity() string

GetCaseSensitivity returns the CaseSensitivity field if non-nil, zero value otherwise.

GetCaseSensitivityOk

func (o *Application) GetCaseSensitivityOk() (string, bool)

GetCaseSensitivityOk returns a tuple with the CaseSensitivity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasCaseSensitivity

func (o *Application) HasCaseSensitivity() bool

HasCaseSensitivity returns a boolean if a field has been set.

SetCaseSensitivity

func (o *Application) SetCaseSensitivity(v string)

SetCaseSensitivity gets a reference to the given string and assigns it to the CaseSensitivity field.

GetAttributes

func (o *Application) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field if non-nil, zero value otherwise.

GetAttributesOk

func (o *Application) GetAttributesOk() (map[string]interface{}, bool)

GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasAttributes

func (o *Application) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

SetAttributes

func (o *Application) SetAttributes(v map[string]interface{})

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

GetLimits

func (o *Application) GetLimits() []LimitConfig

GetLimits returns the Limits field if non-nil, zero value otherwise.

GetLimitsOk

func (o *Application) GetLimitsOk() ([]LimitConfig, bool)

GetLimitsOk returns a tuple with the Limits field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasLimits

func (o *Application) HasLimits() bool

HasLimits returns a boolean if a field has been set.

SetLimits

func (o *Application) SetLimits(v []LimitConfig)

SetLimits gets a reference to the given []LimitConfig and assigns it to the Limits field.

GetDefaultDiscountScope

func (o *Application) GetDefaultDiscountScope() string

GetDefaultDiscountScope returns the DefaultDiscountScope field if non-nil, zero value otherwise.

GetDefaultDiscountScopeOk

func (o *Application) GetDefaultDiscountScopeOk() (string, bool)

GetDefaultDiscountScopeOk returns a tuple with the DefaultDiscountScope field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasDefaultDiscountScope

func (o *Application) HasDefaultDiscountScope() bool

HasDefaultDiscountScope returns a boolean if a field has been set.

SetDefaultDiscountScope

func (o *Application) SetDefaultDiscountScope(v string)

SetDefaultDiscountScope gets a reference to the given string and assigns it to the DefaultDiscountScope field.

GetEnableCascadingDiscounts

func (o *Application) GetEnableCascadingDiscounts() bool

GetEnableCascadingDiscounts returns the EnableCascadingDiscounts field if non-nil, zero value otherwise.

GetEnableCascadingDiscountsOk

func (o *Application) GetEnableCascadingDiscountsOk() (bool, bool)

GetEnableCascadingDiscountsOk returns a tuple with the EnableCascadingDiscounts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasEnableCascadingDiscounts

func (o *Application) HasEnableCascadingDiscounts() bool

HasEnableCascadingDiscounts returns a boolean if a field has been set.

SetEnableCascadingDiscounts

func (o *Application) SetEnableCascadingDiscounts(v bool)

SetEnableCascadingDiscounts gets a reference to the given bool and assigns it to the EnableCascadingDiscounts field.

GetEnableFlattenedCartItems

func (o *Application) GetEnableFlattenedCartItems() bool

GetEnableFlattenedCartItems returns the EnableFlattenedCartItems field if non-nil, zero value otherwise.

GetEnableFlattenedCartItemsOk

func (o *Application) GetEnableFlattenedCartItemsOk() (bool, bool)

GetEnableFlattenedCartItemsOk returns a tuple with the EnableFlattenedCartItems field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasEnableFlattenedCartItems

func (o *Application) HasEnableFlattenedCartItems() bool

HasEnableFlattenedCartItems returns a boolean if a field has been set.

SetEnableFlattenedCartItems

func (o *Application) SetEnableFlattenedCartItems(v bool)

SetEnableFlattenedCartItems gets a reference to the given bool and assigns it to the EnableFlattenedCartItems field.

GetAttributesSettings

func (o *Application) GetAttributesSettings() AttributesSettings

GetAttributesSettings returns the AttributesSettings field if non-nil, zero value otherwise.

GetAttributesSettingsOk

func (o *Application) GetAttributesSettingsOk() (AttributesSettings, bool)

GetAttributesSettingsOk returns a tuple with the AttributesSettings field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasAttributesSettings

func (o *Application) HasAttributesSettings() bool

HasAttributesSettings returns a boolean if a field has been set.

SetAttributesSettings

func (o *Application) SetAttributesSettings(v AttributesSettings)

SetAttributesSettings gets a reference to the given AttributesSettings and assigns it to the AttributesSettings field.

GetSandbox

func (o *Application) GetSandbox() bool

GetSandbox returns the Sandbox field if non-nil, zero value otherwise.

GetSandboxOk

func (o *Application) GetSandboxOk() (bool, bool)

GetSandboxOk returns a tuple with the Sandbox field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasSandbox

func (o *Application) HasSandbox() bool

HasSandbox returns a boolean if a field has been set.

SetSandbox

func (o *Application) SetSandbox(v bool)

SetSandbox gets a reference to the given bool and assigns it to the Sandbox field.

GetEnablePartialDiscounts

func (o *Application) GetEnablePartialDiscounts() bool

GetEnablePartialDiscounts returns the EnablePartialDiscounts field if non-nil, zero value otherwise.

GetEnablePartialDiscountsOk

func (o *Application) GetEnablePartialDiscountsOk() (bool, bool)

GetEnablePartialDiscountsOk returns a tuple with the EnablePartialDiscounts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasEnablePartialDiscounts

func (o *Application) HasEnablePartialDiscounts() bool

HasEnablePartialDiscounts returns a boolean if a field has been set.

SetEnablePartialDiscounts

func (o *Application) SetEnablePartialDiscounts(v bool)

SetEnablePartialDiscounts gets a reference to the given bool and assigns it to the EnablePartialDiscounts field.

GetDefaultDiscountAdditionalCostPerItemScope

func (o *Application) GetDefaultDiscountAdditionalCostPerItemScope() string

GetDefaultDiscountAdditionalCostPerItemScope returns the DefaultDiscountAdditionalCostPerItemScope field if non-nil, zero value otherwise.

GetDefaultDiscountAdditionalCostPerItemScopeOk

func (o *Application) GetDefaultDiscountAdditionalCostPerItemScopeOk() (string, bool)

GetDefaultDiscountAdditionalCostPerItemScopeOk returns a tuple with the DefaultDiscountAdditionalCostPerItemScope field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasDefaultDiscountAdditionalCostPerItemScope

func (o *Application) HasDefaultDiscountAdditionalCostPerItemScope() bool

HasDefaultDiscountAdditionalCostPerItemScope returns a boolean if a field has been set.

SetDefaultDiscountAdditionalCostPerItemScope

func (o *Application) SetDefaultDiscountAdditionalCostPerItemScope(v string)

SetDefaultDiscountAdditionalCostPerItemScope gets a reference to the given string and assigns it to the DefaultDiscountAdditionalCostPerItemScope field.

GetDefaultEvaluationGroupId

func (o *Application) GetDefaultEvaluationGroupId() int32

GetDefaultEvaluationGroupId returns the DefaultEvaluationGroupId field if non-nil, zero value otherwise.

GetDefaultEvaluationGroupIdOk

func (o *Application) GetDefaultEvaluationGroupIdOk() (int32, bool)

GetDefaultEvaluationGroupIdOk returns a tuple with the DefaultEvaluationGroupId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasDefaultEvaluationGroupId

func (o *Application) HasDefaultEvaluationGroupId() bool

HasDefaultEvaluationGroupId returns a boolean if a field has been set.

SetDefaultEvaluationGroupId

func (o *Application) SetDefaultEvaluationGroupId(v int32)

SetDefaultEvaluationGroupId gets a reference to the given int32 and assigns it to the DefaultEvaluationGroupId field.

GetDefaultCartItemFilterId

func (o *Application) GetDefaultCartItemFilterId() int32

GetDefaultCartItemFilterId returns the DefaultCartItemFilterId field if non-nil, zero value otherwise.

GetDefaultCartItemFilterIdOk

func (o *Application) GetDefaultCartItemFilterIdOk() (int32, bool)

GetDefaultCartItemFilterIdOk returns a tuple with the DefaultCartItemFilterId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasDefaultCartItemFilterId

func (o *Application) HasDefaultCartItemFilterId() bool

HasDefaultCartItemFilterId returns a boolean if a field has been set.

SetDefaultCartItemFilterId

func (o *Application) SetDefaultCartItemFilterId(v int32)

SetDefaultCartItemFilterId gets a reference to the given int32 and assigns it to the DefaultCartItemFilterId field.

GetEnableCampaignStateManagement

func (o *Application) GetEnableCampaignStateManagement() bool

GetEnableCampaignStateManagement returns the EnableCampaignStateManagement field if non-nil, zero value otherwise.

GetEnableCampaignStateManagementOk

func (o *Application) GetEnableCampaignStateManagementOk() (bool, bool)

GetEnableCampaignStateManagementOk returns a tuple with the EnableCampaignStateManagement field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasEnableCampaignStateManagement

func (o *Application) HasEnableCampaignStateManagement() bool

HasEnableCampaignStateManagement returns a boolean if a field has been set.

SetEnableCampaignStateManagement

func (o *Application) SetEnableCampaignStateManagement(v bool)

SetEnableCampaignStateManagement gets a reference to the given bool and assigns it to the EnableCampaignStateManagement field.

GetLoyaltyPrograms

func (o *Application) GetLoyaltyPrograms() []LoyaltyProgram

GetLoyaltyPrograms returns the LoyaltyPrograms field if non-nil, zero value otherwise.

GetLoyaltyProgramsOk

func (o *Application) GetLoyaltyProgramsOk() ([]LoyaltyProgram, bool)

GetLoyaltyProgramsOk returns a tuple with the LoyaltyPrograms field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasLoyaltyPrograms

func (o *Application) HasLoyaltyPrograms() bool

HasLoyaltyPrograms returns a boolean if a field has been set.

SetLoyaltyPrograms

func (o *Application) SetLoyaltyPrograms(v []LoyaltyProgram)

SetLoyaltyPrograms gets a reference to the given []LoyaltyProgram and assigns it to the LoyaltyPrograms field.

[Back to Model list] [Back to API list] [Back to README]