Sha256: 41ef4168e801c4d5e98354895c010c2c4748b6b467c31364b45fbb4b769ad5ed

Contents?: true

Size: 1.92 KB

Versions: 6

Compression:

Stored size: 1.92 KB

Contents

# TalonOne::NewCustomerSessionV2

## 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_codes** | **Array<String>** | Any coupon codes entered. | [optional] 
**referral_code** | **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) | All items the customer will be purchasing in this session | [optional] 
**additional_costs** | [**Hash<String, AdditionalCost>**](AdditionalCost.md) | Any costs associated with the session that can not be explicitly attributed to cart items. Examples include shipping costs and service fees. | [optional] 
**identifiers** | **Array<String>** | Identifiers for the customer, this can be used for limits on values such as device ID. | [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::NewCustomerSessionV2.new(profile_id: null,
                                 coupon_codes: null,
                                 referral_code: null,
                                 state: null,
                                 cart_items: null,
                                 additional_costs: null,
                                 identifiers: null,
                                 attributes: null)
```


Version data entries

6 entries across 6 versions & 1 rubygems

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