ultracart_api 4.0.56.rc → 4.0.59.rc

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a5c99b11e8fb3701881c7dc1ee38267fee33136000a196a3f69fea713186faa6
4
- data.tar.gz: c285cd611624107cc303e8f695f7567dc4c6620dfd34ec43cd8f0e45ef56b3d0
3
+ metadata.gz: '0878d28ffa7fe2f9d9dae951260f81d8b0aff184ef17e9fe5851f9a0a1952aee'
4
+ data.tar.gz: 9a0257c0a573a3f65254f9ef433705a027b4145a8e60ad4001fe5a42d6bdfc50
5
5
  SHA512:
6
- metadata.gz: 9f9477ed9fa80705fcc33cad4141182679356b2de4b20d072625d4641d8897c13f73b29ab0a0583c458e68bc9f0cb0b05337d4d74bb163d6b4a08d822fdc536e
7
- data.tar.gz: ee50fc3fcc32f7b673f6cc1839bad4b48f240283a62b0220e5f64c2198aac9da0f8f1db306f40b0b1905e4942dfe4156a9e6efd0f71e8d8223ecc15484853cf8
6
+ metadata.gz: a9b076a555858bcbce790169dafa6cd7190a4689e7527039731a06c14614c8bd9703dfa3d6ef86be1881fbdd15df6027b646ce95d729248b776246a260d3c2bf
7
+ data.tar.gz: c9b2049ffe2569fcb49f93bbffad4548ff3f63fc2ccc874bff7f8afa49bdc820c283150412dbd4f29f3b77a3bd212c16a99603d3310b1ec95715c1619caa8a53
data/README.md CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 2.0.0
10
- - Package version: 4.0.56.rc
10
+ - Package version: 4.0.59.rc
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
13
13
 
@@ -24,16 +24,16 @@ gem build ultracart_api.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./ultracart_api-4.0.56.rc.gem
27
+ gem install ./ultracart_api-4.0.59.rc.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.56.rc.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.59.rc.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'ultracart_api', '~> 4.0.56.rc'
36
+ gem 'ultracart_api', '~> 4.0.59.rc'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -889,6 +889,7 @@ Class | Method | HTTP request | Description
889
889
  - [UltracartClient::ItemRestriction](docs/ItemRestriction.md)
890
890
  - [UltracartClient::ItemRestrictionItem](docs/ItemRestrictionItem.md)
891
891
  - [UltracartClient::ItemRevguard](docs/ItemRevguard.md)
892
+ - [UltracartClient::ItemReview](docs/ItemReview.md)
892
893
  - [UltracartClient::ItemReviews](docs/ItemReviews.md)
893
894
  - [UltracartClient::ItemSalesforce](docs/ItemSalesforce.md)
894
895
  - [UltracartClient::ItemShipping](docs/ItemShipping.md)
@@ -1187,6 +1188,9 @@ Not every change is committed to every SDK.
1187
1188
 
1188
1189
  | Version | Date | Comments |
1189
1190
  | --: | :-: | --- |
1191
+ | 4.0.59-RC | 08/30/2022 | storefront comm fields for sms configuration |
1192
+ | 4.0.58-RC | 08/26/2022 | postcard address fields for comm sequence testing |
1193
+ | 4.0.57-RC | 08/22/2022 | exposing individual reviews within item.review object |
1190
1194
  | 4.0.56-RC | 08/19/2022 | order api - added cell phone fields for sms |
1191
1195
  | 4.0.55-RC | 08/12/2022 | internal code to allow merchant login as customer |
1192
1196
  | 4.0.54-RC | 08/11/2022 | fix entry_dts type on gift certificate ledger |
@@ -25,6 +25,8 @@
25
25
  | **revenue_per_customer_formatted** | **String** | Revenue per customer associated with campaign | [optional] |
26
26
  | **scheduled_dts** | **String** | Scheduled date | [optional] |
27
27
  | **screenshot_large_full_url** | **String** | URL to a large full length screenshot | [optional] |
28
+ | **sms_esp_twilio_uuid** | **String** | Twilio Account UUID. Null for none | [optional] |
29
+ | **sms_phone_number** | **String** | Twilio SMS Phone Number. Null for none | [optional] |
28
30
  | **status** | **String** | Status of the campaign of draft, archived, and sent | [optional] |
29
31
  | **status_dts** | **String** | Timestamp when the last status change happened | [optional] |
30
32
  | **storefront_oid** | **Integer** | Storefront oid | [optional] |
@@ -56,6 +58,8 @@ instance = UltracartClient::EmailCampaign.new(
56
58
  revenue_per_customer_formatted: null,
57
59
  scheduled_dts: null,
58
60
  screenshot_large_full_url: null,
61
+ sms_esp_twilio_uuid: null,
62
+ sms_phone_number: null,
59
63
  status: null,
60
64
  status_dts: null,
61
65
  storefront_oid: null
@@ -4,14 +4,20 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **address_1** | **String** | | [optional] |
8
+ | **address_2** | **String** | | [optional] |
7
9
  | **cart_id** | **String** | | [optional] |
8
10
  | **cart_item_ids** | **Array<String>** | | [optional] |
11
+ | **city** | **String** | | [optional] |
9
12
  | **esp_commseq_uuid** | **String** | | [optional] |
13
+ | **mail_card** | **Boolean** | | [optional] |
10
14
  | **name** | **String** | | [optional] |
11
15
  | **order_id** | **String** | | [optional] |
12
16
  | **please_review** | **Boolean** | | [optional] |
17
+ | **postal_code** | **String** | | [optional] |
13
18
  | **send_to_email** | **String** | | [optional] |
14
19
  | **send_to_logged_in_user** | **Boolean** | | [optional] |
20
+ | **state** | **String** | | [optional] |
15
21
 
16
22
  ## Example
17
23
 
@@ -19,14 +25,20 @@
19
25
  require 'ultracart_api'
20
26
 
21
27
  instance = UltracartClient::EmailCommseqSequenceTestRequest.new(
28
+ address_1: null,
29
+ address_2: null,
22
30
  cart_id: null,
23
31
  cart_item_ids: null,
32
+ city: null,
24
33
  esp_commseq_uuid: null,
34
+ mail_card: null,
25
35
  name: null,
26
36
  order_id: null,
27
37
  please_review: null,
38
+ postal_code: null,
28
39
  send_to_email: null,
29
- send_to_logged_in_user: null
40
+ send_to_logged_in_user: null,
41
+ state: null
30
42
  )
31
43
  ```
32
44
 
data/docs/EmailFlow.md CHANGED
@@ -26,6 +26,8 @@
26
26
  | **revenue_formatted** | **String** | Revenue, formatted | [optional] |
27
27
  | **revenue_per_customer_formatted** | **String** | Revenue per customer, formatted | [optional] |
28
28
  | **screenshot_large_full_url** | **String** | URL to a large full length screenshot | [optional] |
29
+ | **sms_esp_twilio_uuid** | **String** | Twilio Account UUID. Null for none | [optional] |
30
+ | **sms_phone_number** | **String** | Twilio SMS Phone Number. Null for none | [optional] |
29
31
  | **status** | **String** | Status of the campaign of draft, archived, active, and inactive | [optional] |
30
32
  | **status_dts** | **String** | Timestamp when the last status change happened | [optional] |
31
33
  | **storefront_oid** | **Integer** | Storefront oid | [optional] |
@@ -61,6 +63,8 @@ instance = UltracartClient::EmailFlow.new(
61
63
  revenue_formatted: null,
62
64
  revenue_per_customer_formatted: null,
63
65
  screenshot_large_full_url: null,
66
+ sms_esp_twilio_uuid: null,
67
+ sms_phone_number: null,
64
68
  status: null,
65
69
  status_dts: null,
66
70
  storefront_oid: null,
@@ -13,6 +13,8 @@
13
13
  | **postcard_from_name** | **String** | | [optional] |
14
14
  | **postcard_from_postal_code** | **String** | | [optional] |
15
15
  | **postcard_from_state** | **String** | | [optional] |
16
+ | **sms_esp_twilio_uuid** | **String** | | [optional] |
17
+ | **sms_phone_number** | **String** | | [optional] |
16
18
  | **transactional_esp_domain_user** | **String** | | [optional] |
17
19
  | **transactional_esp_domain_uuid** | **String** | | [optional] |
18
20
  | **transactional_esp_friendly_name** | **String** | | [optional] |
@@ -32,6 +34,8 @@ instance = UltracartClient::EmailSettings.new(
32
34
  postcard_from_name: null,
33
35
  postcard_from_postal_code: null,
34
36
  postcard_from_state: null,
37
+ sms_esp_twilio_uuid: null,
38
+ sms_phone_number: null,
35
39
  transactional_esp_domain_user: null,
36
40
  transactional_esp_domain_uuid: null,
37
41
  transactional_esp_friendly_name: null
@@ -21,6 +21,7 @@
21
21
  | **paused** | **Boolean** | True if traffic should be paused to this variation | [optional] |
22
22
  | **revenue** | **Float** | Total revenue for this variation | [optional] |
23
23
  | **session_count** | **Integer** | Total sessions for this variation | [optional] |
24
+ | **sms_opt_ins** | **Integer** | SMS Opt Ins for this variation | [optional] |
24
25
  | **traffic_percentage** | **Float** | Percentage of the traffic this variation is currently receiving | [optional] |
25
26
  | **url** | **String** | Url of the variation if this experiment is a url experiment. | [optional] |
26
27
  | **variation_name** | **String** | Name of the variation | [optional] |
@@ -50,6 +51,7 @@ instance = UltracartClient::ExperimentVariation.new(
50
51
  paused: null,
51
52
  revenue: null,
52
53
  session_count: null,
54
+ sms_opt_ins: null,
53
55
  traffic_percentage: null,
54
56
  url: null,
55
57
  variation_name: null,
@@ -14,6 +14,7 @@
14
14
  | **page_view_count** | **Integer** | Total page view count for this variation | [optional] |
15
15
  | **revenue** | **Float** | Total revenue for this variation | [optional] |
16
16
  | **session_count** | **Integer** | Total sessions for this variation | [optional] |
17
+ | **sms_opt_in_count** | **Integer** | Total SMS opt in count for this variation | [optional] |
17
18
  | **stat_dts** | **String** | Date/time that the statistic was created | [optional] |
18
19
 
19
20
  ## Example
@@ -32,6 +33,7 @@ instance = UltracartClient::ExperimentVariationStat.new(
32
33
  page_view_count: null,
33
34
  revenue: null,
34
35
  session_count: null,
36
+ sms_opt_in_count: null,
35
37
  stat_dts: null
36
38
  )
37
39
  ```
@@ -0,0 +1,90 @@
1
+ # UltracartClient::ItemReview
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **customer_profile_oid** | **Integer** | Customer profile object identifier | [optional] |
8
+ | **featured** | **Boolean** | | [optional] |
9
+ | **helperful_no_votes** | **Integer** | | [optional] |
10
+ | **helpful_yes_votes** | **Integer** | | [optional] |
11
+ | **order_id** | **String** | | [optional] |
12
+ | **overall** | **Float** | | [optional] |
13
+ | **rating_name1** | **String** | | [optional] |
14
+ | **rating_name10** | **String** | | [optional] |
15
+ | **rating_name2** | **String** | | [optional] |
16
+ | **rating_name3** | **String** | | [optional] |
17
+ | **rating_name4** | **String** | | [optional] |
18
+ | **rating_name5** | **String** | | [optional] |
19
+ | **rating_name6** | **String** | | [optional] |
20
+ | **rating_name7** | **String** | | [optional] |
21
+ | **rating_name8** | **String** | | [optional] |
22
+ | **rating_name9** | **String** | | [optional] |
23
+ | **rating_score1** | **Float** | | [optional] |
24
+ | **rating_score10** | **Float** | | [optional] |
25
+ | **rating_score2** | **Float** | | [optional] |
26
+ | **rating_score3** | **Float** | | [optional] |
27
+ | **rating_score4** | **Float** | | [optional] |
28
+ | **rating_score5** | **Float** | | [optional] |
29
+ | **rating_score6** | **Float** | | [optional] |
30
+ | **rating_score7** | **Float** | | [optional] |
31
+ | **rating_score8** | **Float** | | [optional] |
32
+ | **rating_score9** | **Float** | | [optional] |
33
+ | **recommend_store_to_friend** | **Integer** | | [optional] |
34
+ | **recommend_to_friend** | **Boolean** | | [optional] |
35
+ | **review** | **String** | | [optional] |
36
+ | **review_oid** | **Integer** | | [optional] |
37
+ | **reviewed_nickname** | **String** | | [optional] |
38
+ | **reviewer_email** | **String** | | [optional] |
39
+ | **reviewer_location** | **String** | | [optional] |
40
+ | **status** | **String** | | [optional] |
41
+ | **store_feedback** | **String** | | [optional] |
42
+ | **submitted_dts** | **String** | Date/time of review submission | [optional] |
43
+ | **title** | **String** | | [optional] |
44
+
45
+ ## Example
46
+
47
+ ```ruby
48
+ require 'ultracart_api'
49
+
50
+ instance = UltracartClient::ItemReview.new(
51
+ customer_profile_oid: null,
52
+ featured: null,
53
+ helperful_no_votes: null,
54
+ helpful_yes_votes: null,
55
+ order_id: null,
56
+ overall: null,
57
+ rating_name1: null,
58
+ rating_name10: null,
59
+ rating_name2: null,
60
+ rating_name3: null,
61
+ rating_name4: null,
62
+ rating_name5: null,
63
+ rating_name6: null,
64
+ rating_name7: null,
65
+ rating_name8: null,
66
+ rating_name9: null,
67
+ rating_score1: null,
68
+ rating_score10: null,
69
+ rating_score2: null,
70
+ rating_score3: null,
71
+ rating_score4: null,
72
+ rating_score5: null,
73
+ rating_score6: null,
74
+ rating_score7: null,
75
+ rating_score8: null,
76
+ rating_score9: null,
77
+ recommend_store_to_friend: null,
78
+ recommend_to_friend: null,
79
+ review: null,
80
+ review_oid: null,
81
+ reviewed_nickname: null,
82
+ reviewer_email: null,
83
+ reviewer_location: null,
84
+ status: null,
85
+ store_feedback: null,
86
+ submitted_dts: null,
87
+ title: null
88
+ )
89
+ ```
90
+
data/docs/ItemReviews.md CHANGED
@@ -6,6 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **has_approved_review** | **Boolean** | True if the item has an approved review | [optional] |
8
8
  | **has_review** | **Boolean** | True if the item has a review | [optional] |
9
+ | **individual_reviews** | [**Array<ItemReview>**](ItemReview.md) | | [optional] |
9
10
  | **review_count** | **Integer** | Number of approved reviews | [optional] |
10
11
  | **review_overall** | **Float** | Overall score of reviews | [optional] |
11
12
  | **review_template_name** | **String** | Review template name | [optional] |
@@ -22,6 +23,7 @@ require 'ultracart_api'
22
23
  instance = UltracartClient::ItemReviews.new(
23
24
  has_approved_review: null,
24
25
  has_review: null,
26
+ individual_reviews: null,
25
27
  review_count: null,
26
28
  review_overall: null,
27
29
  review_template_name: null,
data/docs/OrderApi.md CHANGED
@@ -1366,6 +1366,7 @@ opts = {
1366
1366
  auto_order_cancel: true, # Boolean | Cancel associated auto orders
1367
1367
  manual_refund: true, # Boolean | Consider a manual refund done externally
1368
1368
  reverse_affiliate_transactions: true, # Boolean | Reverse affiliate transactions
1369
+ issue_store_credit: true, # Boolean | Issue a store credit instead of refunding the original payment method, loyalty must be configured on merchant account
1369
1370
  _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
1370
1371
  }
1371
1372
 
@@ -1407,6 +1408,7 @@ end
1407
1408
  | **auto_order_cancel** | **Boolean** | Cancel associated auto orders | [optional][default to false] |
1408
1409
  | **manual_refund** | **Boolean** | Consider a manual refund done externally | [optional][default to false] |
1409
1410
  | **reverse_affiliate_transactions** | **Boolean** | Reverse affiliate transactions | [optional][default to true] |
1411
+ | **issue_store_credit** | **Boolean** | Issue a store credit instead of refunding the original payment method, loyalty must be configured on merchant account | [optional][default to false] |
1410
1412
  | **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
1411
1413
 
1412
1414
  ### Return type
@@ -1292,6 +1292,7 @@ module UltracartClient
1292
1292
  # @option opts [Boolean] :auto_order_cancel Cancel associated auto orders (default to false)
1293
1293
  # @option opts [Boolean] :manual_refund Consider a manual refund done externally (default to false)
1294
1294
  # @option opts [Boolean] :reverse_affiliate_transactions Reverse affiliate transactions (default to true)
1295
+ # @option opts [Boolean] :issue_store_credit Issue a store credit instead of refunding the original payment method, loyalty must be configured on merchant account (default to false)
1295
1296
  # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
1296
1297
  # @return [OrderResponse]
1297
1298
  def refund_order(order_id, order, opts = {})
@@ -1309,6 +1310,7 @@ module UltracartClient
1309
1310
  # @option opts [Boolean] :auto_order_cancel Cancel associated auto orders (default to false)
1310
1311
  # @option opts [Boolean] :manual_refund Consider a manual refund done externally (default to false)
1311
1312
  # @option opts [Boolean] :reverse_affiliate_transactions Reverse affiliate transactions (default to true)
1313
+ # @option opts [Boolean] :issue_store_credit Issue a store credit instead of refunding the original payment method, loyalty must be configured on merchant account (default to false)
1312
1314
  # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
1313
1315
  # @return [Array<(OrderResponse, Integer, Hash)>] OrderResponse data, response status code and response headers
1314
1316
  def refund_order_with_http_info(order_id, order, opts = {})
@@ -1333,6 +1335,7 @@ module UltracartClient
1333
1335
  query_params[:'auto_order_cancel'] = opts[:'auto_order_cancel'] if !opts[:'auto_order_cancel'].nil?
1334
1336
  query_params[:'manual_refund'] = opts[:'manual_refund'] if !opts[:'manual_refund'].nil?
1335
1337
  query_params[:'reverse_affiliate_transactions'] = opts[:'reverse_affiliate_transactions'] if !opts[:'reverse_affiliate_transactions'].nil?
1338
+ query_params[:'issue_store_credit'] = opts[:'issue_store_credit'] if !opts[:'issue_store_credit'].nil?
1336
1339
  query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
1337
1340
 
1338
1341
  # header parameters
@@ -78,6 +78,12 @@ module UltracartClient
78
78
  # URL to a large full length screenshot
79
79
  attr_accessor :screenshot_large_full_url
80
80
 
81
+ # Twilio Account UUID. Null for none
82
+ attr_accessor :sms_esp_twilio_uuid
83
+
84
+ # Twilio SMS Phone Number. Null for none
85
+ attr_accessor :sms_phone_number
86
+
81
87
  # Status of the campaign of draft, archived, and sent
82
88
  attr_accessor :status
83
89
 
@@ -111,6 +117,8 @@ module UltracartClient
111
117
  :'revenue_per_customer_formatted' => :'revenue_per_customer_formatted',
112
118
  :'scheduled_dts' => :'scheduled_dts',
113
119
  :'screenshot_large_full_url' => :'screenshot_large_full_url',
120
+ :'sms_esp_twilio_uuid' => :'sms_esp_twilio_uuid',
121
+ :'sms_phone_number' => :'sms_phone_number',
114
122
  :'status' => :'status',
115
123
  :'status_dts' => :'status_dts',
116
124
  :'storefront_oid' => :'storefront_oid'
@@ -146,6 +154,8 @@ module UltracartClient
146
154
  :'revenue_per_customer_formatted' => :'String',
147
155
  :'scheduled_dts' => :'String',
148
156
  :'screenshot_large_full_url' => :'String',
157
+ :'sms_esp_twilio_uuid' => :'String',
158
+ :'sms_phone_number' => :'String',
149
159
  :'status' => :'String',
150
160
  :'status_dts' => :'String',
151
161
  :'storefront_oid' => :'Integer'
@@ -259,6 +269,14 @@ module UltracartClient
259
269
  self.screenshot_large_full_url = attributes[:'screenshot_large_full_url']
260
270
  end
261
271
 
272
+ if attributes.key?(:'sms_esp_twilio_uuid')
273
+ self.sms_esp_twilio_uuid = attributes[:'sms_esp_twilio_uuid']
274
+ end
275
+
276
+ if attributes.key?(:'sms_phone_number')
277
+ self.sms_phone_number = attributes[:'sms_phone_number']
278
+ end
279
+
262
280
  if attributes.key?(:'status')
263
281
  self.status = attributes[:'status']
264
282
  end
@@ -326,6 +344,8 @@ module UltracartClient
326
344
  revenue_per_customer_formatted == o.revenue_per_customer_formatted &&
327
345
  scheduled_dts == o.scheduled_dts &&
328
346
  screenshot_large_full_url == o.screenshot_large_full_url &&
347
+ sms_esp_twilio_uuid == o.sms_esp_twilio_uuid &&
348
+ sms_phone_number == o.sms_phone_number &&
329
349
  status == o.status &&
330
350
  status_dts == o.status_dts &&
331
351
  storefront_oid == o.storefront_oid
@@ -340,7 +360,7 @@ module UltracartClient
340
360
  # Calculates hash code according to all attributes.
341
361
  # @return [Integer] Hash code
342
362
  def hash
343
- [click_rate_formatted, created_dts, deleted, email_campaign_uuid, email_communication_sequence_uuid, end_once_customer_purchases, end_once_customer_purchases_anywhere, esp_campaign_folder_uuid, esp_domain_user, esp_domain_uuid, esp_friendly_name, library_item_oid, memberships, merchant_id, name, open_rate_formatted, prevent_sending_due_to_spam, revenue_formatted, revenue_per_customer_formatted, scheduled_dts, screenshot_large_full_url, status, status_dts, storefront_oid].hash
363
+ [click_rate_formatted, created_dts, deleted, email_campaign_uuid, email_communication_sequence_uuid, end_once_customer_purchases, end_once_customer_purchases_anywhere, esp_campaign_folder_uuid, esp_domain_user, esp_domain_uuid, esp_friendly_name, library_item_oid, memberships, merchant_id, name, open_rate_formatted, prevent_sending_due_to_spam, revenue_formatted, revenue_per_customer_formatted, scheduled_dts, screenshot_large_full_url, sms_esp_twilio_uuid, sms_phone_number, status, status_dts, storefront_oid].hash
344
364
  end
345
365
 
346
366
  # Builds the object from hash
@@ -15,33 +15,51 @@ require 'time'
15
15
 
16
16
  module UltracartClient
17
17
  class EmailCommseqSequenceTestRequest
18
+ attr_accessor :address_1
19
+
20
+ attr_accessor :address_2
21
+
18
22
  attr_accessor :cart_id
19
23
 
20
24
  attr_accessor :cart_item_ids
21
25
 
26
+ attr_accessor :city
27
+
22
28
  attr_accessor :esp_commseq_uuid
23
29
 
30
+ attr_accessor :mail_card
31
+
24
32
  attr_accessor :name
25
33
 
26
34
  attr_accessor :order_id
27
35
 
28
36
  attr_accessor :please_review
29
37
 
38
+ attr_accessor :postal_code
39
+
30
40
  attr_accessor :send_to_email
31
41
 
32
42
  attr_accessor :send_to_logged_in_user
33
43
 
44
+ attr_accessor :state
45
+
34
46
  # Attribute mapping from ruby-style variable name to JSON key.
35
47
  def self.attribute_map
36
48
  {
49
+ :'address_1' => :'address_1',
50
+ :'address_2' => :'address_2',
37
51
  :'cart_id' => :'cart_id',
38
52
  :'cart_item_ids' => :'cart_item_ids',
53
+ :'city' => :'city',
39
54
  :'esp_commseq_uuid' => :'esp_commseq_uuid',
55
+ :'mail_card' => :'mail_card',
40
56
  :'name' => :'name',
41
57
  :'order_id' => :'order_id',
42
58
  :'please_review' => :'please_review',
59
+ :'postal_code' => :'postal_code',
43
60
  :'send_to_email' => :'send_to_email',
44
- :'send_to_logged_in_user' => :'send_to_logged_in_user'
61
+ :'send_to_logged_in_user' => :'send_to_logged_in_user',
62
+ :'state' => :'state'
45
63
  }
46
64
  end
47
65
 
@@ -53,14 +71,20 @@ module UltracartClient
53
71
  # Attribute type mapping.
54
72
  def self.openapi_types
55
73
  {
74
+ :'address_1' => :'String',
75
+ :'address_2' => :'String',
56
76
  :'cart_id' => :'String',
57
77
  :'cart_item_ids' => :'Array<String>',
78
+ :'city' => :'String',
58
79
  :'esp_commseq_uuid' => :'String',
80
+ :'mail_card' => :'Boolean',
59
81
  :'name' => :'String',
60
82
  :'order_id' => :'String',
61
83
  :'please_review' => :'Boolean',
84
+ :'postal_code' => :'String',
62
85
  :'send_to_email' => :'String',
63
- :'send_to_logged_in_user' => :'Boolean'
86
+ :'send_to_logged_in_user' => :'Boolean',
87
+ :'state' => :'String'
64
88
  }
65
89
  end
66
90
 
@@ -85,6 +109,14 @@ module UltracartClient
85
109
  h[k.to_sym] = v
86
110
  }
87
111
 
112
+ if attributes.key?(:'address_1')
113
+ self.address_1 = attributes[:'address_1']
114
+ end
115
+
116
+ if attributes.key?(:'address_2')
117
+ self.address_2 = attributes[:'address_2']
118
+ end
119
+
88
120
  if attributes.key?(:'cart_id')
89
121
  self.cart_id = attributes[:'cart_id']
90
122
  end
@@ -95,10 +127,18 @@ module UltracartClient
95
127
  end
96
128
  end
97
129
 
130
+ if attributes.key?(:'city')
131
+ self.city = attributes[:'city']
132
+ end
133
+
98
134
  if attributes.key?(:'esp_commseq_uuid')
99
135
  self.esp_commseq_uuid = attributes[:'esp_commseq_uuid']
100
136
  end
101
137
 
138
+ if attributes.key?(:'mail_card')
139
+ self.mail_card = attributes[:'mail_card']
140
+ end
141
+
102
142
  if attributes.key?(:'name')
103
143
  self.name = attributes[:'name']
104
144
  end
@@ -111,6 +151,10 @@ module UltracartClient
111
151
  self.please_review = attributes[:'please_review']
112
152
  end
113
153
 
154
+ if attributes.key?(:'postal_code')
155
+ self.postal_code = attributes[:'postal_code']
156
+ end
157
+
114
158
  if attributes.key?(:'send_to_email')
115
159
  self.send_to_email = attributes[:'send_to_email']
116
160
  end
@@ -118,6 +162,10 @@ module UltracartClient
118
162
  if attributes.key?(:'send_to_logged_in_user')
119
163
  self.send_to_logged_in_user = attributes[:'send_to_logged_in_user']
120
164
  end
165
+
166
+ if attributes.key?(:'state')
167
+ self.state = attributes[:'state']
168
+ end
121
169
  end
122
170
 
123
171
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -138,14 +186,20 @@ module UltracartClient
138
186
  def ==(o)
139
187
  return true if self.equal?(o)
140
188
  self.class == o.class &&
189
+ address_1 == o.address_1 &&
190
+ address_2 == o.address_2 &&
141
191
  cart_id == o.cart_id &&
142
192
  cart_item_ids == o.cart_item_ids &&
193
+ city == o.city &&
143
194
  esp_commseq_uuid == o.esp_commseq_uuid &&
195
+ mail_card == o.mail_card &&
144
196
  name == o.name &&
145
197
  order_id == o.order_id &&
146
198
  please_review == o.please_review &&
199
+ postal_code == o.postal_code &&
147
200
  send_to_email == o.send_to_email &&
148
- send_to_logged_in_user == o.send_to_logged_in_user
201
+ send_to_logged_in_user == o.send_to_logged_in_user &&
202
+ state == o.state
149
203
  end
150
204
 
151
205
  # @see the `==` method
@@ -157,7 +211,7 @@ module UltracartClient
157
211
  # Calculates hash code according to all attributes.
158
212
  # @return [Integer] Hash code
159
213
  def hash
160
- [cart_id, cart_item_ids, esp_commseq_uuid, name, order_id, please_review, send_to_email, send_to_logged_in_user].hash
214
+ [address_1, address_2, cart_id, cart_item_ids, city, esp_commseq_uuid, mail_card, name, order_id, please_review, postal_code, send_to_email, send_to_logged_in_user, state].hash
161
215
  end
162
216
 
163
217
  # Builds the object from hash
@@ -81,6 +81,12 @@ module UltracartClient
81
81
  # URL to a large full length screenshot
82
82
  attr_accessor :screenshot_large_full_url
83
83
 
84
+ # Twilio Account UUID. Null for none
85
+ attr_accessor :sms_esp_twilio_uuid
86
+
87
+ # Twilio SMS Phone Number. Null for none
88
+ attr_accessor :sms_phone_number
89
+
84
90
  # Status of the campaign of draft, archived, active, and inactive
85
91
  attr_accessor :status
86
92
 
@@ -124,6 +130,8 @@ module UltracartClient
124
130
  :'revenue_formatted' => :'revenue_formatted',
125
131
  :'revenue_per_customer_formatted' => :'revenue_per_customer_formatted',
126
132
  :'screenshot_large_full_url' => :'screenshot_large_full_url',
133
+ :'sms_esp_twilio_uuid' => :'sms_esp_twilio_uuid',
134
+ :'sms_phone_number' => :'sms_phone_number',
127
135
  :'status' => :'status',
128
136
  :'status_dts' => :'status_dts',
129
137
  :'storefront_oid' => :'storefront_oid',
@@ -163,6 +171,8 @@ module UltracartClient
163
171
  :'revenue_formatted' => :'String',
164
172
  :'revenue_per_customer_formatted' => :'String',
165
173
  :'screenshot_large_full_url' => :'String',
174
+ :'sms_esp_twilio_uuid' => :'String',
175
+ :'sms_phone_number' => :'String',
166
176
  :'status' => :'String',
167
177
  :'status_dts' => :'String',
168
178
  :'storefront_oid' => :'Integer',
@@ -281,6 +291,14 @@ module UltracartClient
281
291
  self.screenshot_large_full_url = attributes[:'screenshot_large_full_url']
282
292
  end
283
293
 
294
+ if attributes.key?(:'sms_esp_twilio_uuid')
295
+ self.sms_esp_twilio_uuid = attributes[:'sms_esp_twilio_uuid']
296
+ end
297
+
298
+ if attributes.key?(:'sms_phone_number')
299
+ self.sms_phone_number = attributes[:'sms_phone_number']
300
+ end
301
+
284
302
  if attributes.key?(:'status')
285
303
  self.status = attributes[:'status']
286
304
  end
@@ -361,6 +379,8 @@ module UltracartClient
361
379
  revenue_formatted == o.revenue_formatted &&
362
380
  revenue_per_customer_formatted == o.revenue_per_customer_formatted &&
363
381
  screenshot_large_full_url == o.screenshot_large_full_url &&
382
+ sms_esp_twilio_uuid == o.sms_esp_twilio_uuid &&
383
+ sms_phone_number == o.sms_phone_number &&
364
384
  status == o.status &&
365
385
  status_dts == o.status_dts &&
366
386
  storefront_oid == o.storefront_oid &&
@@ -378,7 +398,7 @@ module UltracartClient
378
398
  # Calculates hash code according to all attributes.
379
399
  # @return [Integer] Hash code
380
400
  def hash
381
- [allow_multiple_concurrent_enrollments, back_populating, click_rate_formatted, created_dts, deleted, email_communication_sequence_uuid, email_flow_uuid, end_once_customer_purchases, end_once_customer_purchases_anywhere, enrolled_customers, esp_domain_user, esp_domain_uuid, esp_flow_folder_uuid, esp_friendly_name, filter_profile_equation_json, library_item_oid, merchant_id, name, open_rate_formatted, revenue_formatted, revenue_per_customer_formatted, screenshot_large_full_url, status, status_dts, storefront_oid, trigger_parameter, trigger_parameter_name, trigger_type].hash
401
+ [allow_multiple_concurrent_enrollments, back_populating, click_rate_formatted, created_dts, deleted, email_communication_sequence_uuid, email_flow_uuid, end_once_customer_purchases, end_once_customer_purchases_anywhere, enrolled_customers, esp_domain_user, esp_domain_uuid, esp_flow_folder_uuid, esp_friendly_name, filter_profile_equation_json, library_item_oid, merchant_id, name, open_rate_formatted, revenue_formatted, revenue_per_customer_formatted, screenshot_large_full_url, sms_esp_twilio_uuid, sms_phone_number, status, status_dts, storefront_oid, trigger_parameter, trigger_parameter_name, trigger_type].hash
382
402
  end
383
403
 
384
404
  # Builds the object from hash