Sha256: 684d991297dd54f57b8f8868f79e28c1cdfe5e2afa296cb449dbd01ca0367d56

Contents?: true

Size: 1.69 KB

Versions: 6

Compression:

Stored size: 1.69 KB

Contents

# TalonOne::NewCustomerSession

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**profile_id** | **String** | ID of the customers profile as used within this Talon.One account. May be omitted or set to the empty string if the customer does not yet have a known profile ID. | [optional] 
**coupon** | **String** | Any coupon code entered. | [optional] 
**referral** | **String** | Any referral code entered. | [optional] 
**state** | **String** | Indicates the current state of the session. All sessions must start in the \"open\" state, after which valid transitions are...  1. open -> closed 2. open -> cancelled 3. closed -> cancelled  | [optional] [default to 'open']
**cart_items** | [**Array<CartItem>**](CartItem.md) | Serialized JSON representation. | [optional] 
**identifiers** | **Array<String>** | Identifiers for the customer, this can be used for limits on values such as device ID. | [optional] 
**total** | **Float** | The total sum of the cart in one session. | [optional] 
**attributes** | [**Object**](.md) | A key-value map of the sessions attributes. The potentially valid attributes are configured in your accounts developer settings.  | [optional] 

## Code Sample

```ruby
require 'TalonOne'

instance = TalonOne::NewCustomerSession.new(profile_id: null,
                                 coupon: null,
                                 referral: null,
                                 state: null,
                                 cart_items: null,
                                 identifiers: null,
                                 total: null,
                                 attributes: null)
```


Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
talon_one-2.4.0 docs/NewCustomerSession.md
talon_one-2.3.0 docs/NewCustomerSession.md
talon_one-2.2.0 docs/NewCustomerSession.md
talon_one-2.1.1 docs/NewCustomerSession.md
talon_one-2.1.0 docs/NewCustomerSession.md
talon_one-2.0.0 docs/NewCustomerSession.md