Name |
Type |
Description |
Notes |
name |
String |
The name of this application. |
|
description |
String |
A longer description of the application. |
[optional] |
timezone |
String |
A string containing an IANA timezone descriptor. |
|
currency |
String |
The default currency for new customer sessions. |
|
case_sensitivity |
String |
The case sensitivity behavior to check coupon codes in the campaigns of this Application. |
[optional] |
attributes |
Object |
Arbitrary properties associated with this campaign. |
[optional] |
limits |
Array<LimitConfig> |
Default limits for campaigns created in this application. |
[optional] |
default_discount_scope |
String |
The default scope to apply `setDiscount` effects on if no scope was provided with the effect. |
[optional] |
enable_cascading_discounts |
Boolean |
Indicates if discounts should cascade for this Application. |
[optional] |
enable_flattened_cart_items |
Boolean |
Indicates if cart items of quantity larger than one should be separated into different items of quantity one. |
[optional] |
attributes_settings |
AttributesSettings |
|
[optional] |
sandbox |
Boolean |
Indicates if this is a live or sandbox Application. |
[optional] |
enable_partial_discounts |
Boolean |
Indicates if this Application supports partial discounts. |
[optional] |
default_discount_additional_cost_per_item_scope |
String |
The default scope to apply `setDiscountPerItem` effects on if no scope was provided with the effect. |
[optional] |
key |
String |
Hex key for HMAC-signing API calls as coming from this application (16 hex digits). |
[optional] |
enable_campaign_state_management |
Boolean |
Indicates whether the campaign staging and revisions feature is enabled for the Application. Important: After this feature is enabled, it cannot be disabled. |
[optional] |
require 'TalonOne'
instance = TalonOne::NewApplication.new(name: My Application,
description: A test Application,
timezone: Europe/Berlin,
currency: EUR,
case_sensitivity: sensitive,
attributes: null,
limits: null,
default_discount_scope: null,
enable_cascading_discounts: null,
enable_flattened_cart_items: null,
attributes_settings: null,
sandbox: null,
enable_partial_discounts: false,
default_discount_additional_cost_per_item_scope: null,
key: null,
enable_campaign_state_management: false)