ultracart_api 3.6.33 → 3.6.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 78d767703384b231b7f3f83c12855cfbe21e46b37982cf9eb9a504b0148e8895
4
- data.tar.gz: be4f6fffdab4748cfe2c2507723172f2eee93d185d5264a45ed4f1e72f3724d6
3
+ metadata.gz: 6705accb4394733982b91a400dd4f68e421738be21d65e3bffddabe2e824ef4b
4
+ data.tar.gz: ca13492314107e533491c1e8e8a58ee86b0b05945d4860a749e0d56398ed7aa1
5
5
  SHA512:
6
- metadata.gz: 857852675cb2fcf98643fa4383e261084d78016bca39ef709f78a0fd2432e7d80fededb91534ca0d6f794552116cc4217e6946c7668f87b77612c8b7422979b3
7
- data.tar.gz: 65680ff7d5465a3a83093d19ef46ad7814cca4fee519c31712ed89ffccb322332ea89e33eb450cd9c9c5d55bfe4ee67c184c3103acf1c676652f27e9467349d7
6
+ metadata.gz: c4545ada7fe3fa04126db819dc5e585ef841d0e08f21d54027d6e8dfa0df03d669a2f773423eb41578ed617375cc0228acc3e6a71c5862303f5a6110d76b1f57
7
+ data.tar.gz: 5c88df8aeb5d1b7371318e77cb1c974ea3a76e22fff749ffc4106dd4d0c227f2fff99821fa4cf4fbe8a1680de17fbae54f03722204e02dcc6ea79076bec1cb0e
data/README.md CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: 2.0.0
10
- - Package version: 3.6.33
10
+ - Package version: 3.6.37
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
13
13
 
@@ -24,15 +24,15 @@ gem build ultracart_api.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./ultracart_api-3.6.33.gem
27
+ gem install ./ultracart_api-3.6.37.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.6.33.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.6.37.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'ultracart_api', '~> 3.6.33'
35
+ gem 'ultracart_api', '~> 3.6.37'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1128,6 +1128,10 @@ Not every change is committed to every SDK.
1128
1128
 
1129
1129
  | Version | Date | Comments |
1130
1130
  | --: | :-: | --- |
1131
+ | 3.6.37 | 02/04/2022 | insurance type for insurance payments |
1132
+ | 3.6.36 | 12/29/2021 | Mail actual post card flag added to test method |
1133
+ | 3.6.35 | 12/14/2021 | Add cancel_auto_order option to the accounts receivable retry configuration |
1134
+ | 3.6.34 | 12/14/2021 | add evening phone E.164 fields to order billing/shipping objects |
1131
1135
  | 3.6.33 | 12/13/2021 | automation testing |
1132
1136
  | 3.6.32 | 12/10/2021 | testing automation - message 4 |
1133
1137
  | 3.6.25 | 12/06/2021 | sdk automation testing. no changes to actual sdk |
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **active** | **BOOLEAN** | True if the retry should run daily. False puts the retry service into an inactive state for this merchant. | [optional]
7
7
  **allow_process_linked_accounts** | **BOOLEAN** | True if this account has linked accounts that it can process. | [optional]
8
+ **cancel_auto_order** | **BOOLEAN** | If true also cancel the auto order if the order is rejected at the end | [optional]
8
9
  **current_service_plan** | **String** | The current service plan that the account is on. | [optional]
9
10
  **daily_activity_list** | [**Array<AccountsReceivableRetryDayActivity>**](AccountsReceivableRetryDayActivity.md) | A list of days and what actions should take place on those days after an order reaches accounts receivable | [optional]
10
11
  **managed_by_linked_account_merchant_id** | **BOOLEAN** | If not null, this account is managed by the specified parent merchant id. | [optional]
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **esp_commseq_postcard_uuid** | **String** | | [optional]
12
12
  **esp_commseq_step_uuid** | **String** | | [optional]
13
13
  **esp_commseq_uuid** | **String** | | [optional]
14
+ **mail_card** | **BOOLEAN** | | [optional]
14
15
  **name** | **String** | | [optional]
15
16
  **order_id** | **String** | | [optional]
16
17
  **postal_code** | **String** | | [optional]
data/docs/OrderBilling.md CHANGED
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
13
13
  **day_phone_e164** | **String** | Day time phone (E164 format) | [optional]
14
14
  **email** | **String** | Email | [optional]
15
15
  **evening_phone** | **String** | Evening phone | [optional]
16
+ **evening_phone_e164** | **String** | Evening phone (E164 format) | [optional]
16
17
  **first_name** | **String** | First name | [optional]
17
18
  **last_name** | **String** | Last name | [optional]
18
19
  **postal_code** | **String** | Postal code | [optional]
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **application_id** | **String** | application id | [optional]
7
7
  **claim_id** | **String** | claim id | [optional]
8
+ **insurance_type** | **String** | insurance type | [optional]
8
9
  **refund_claim_id** | **String** | refund claim id | [optional]
9
10
 
10
11
 
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
12
12
  **day_phone_e164** | **String** | Day time phone (E164 format) | [optional]
13
13
  **delivery_date** | **String** | Date the customer is requesting delivery on. Typically used for perishable product delivery. | [optional]
14
14
  **evening_phone** | **String** | Evening phone | [optional]
15
+ **evening_phone_e164** | **String** | Evening phone (E164 format) | [optional]
15
16
  **first_name** | **String** | First name | [optional]
16
17
  **last_name** | **String** | Last name | [optional]
17
18
  **least_cost_route** | **BOOLEAN** | If true, instructs UltraCart to apply the cheapest shipping method to this order. Used only for channel partner order inserts. | [optional]
@@ -9,5 +9,6 @@ Name | Type | Description | Notes
9
9
  **gacid** | **String** | Google Analytics CID (Cookie) | [optional]
10
10
  **glcid** | **String** | Google Adwords Click Id (Parameter) | [optional]
11
11
  **msclkid** | **String** | Bing Click Id (Parameter | [optional]
12
+ **ttclid** | **String** | TikTok Click Id (Parameter | [optional]
12
13
 
13
14
 
@@ -20,6 +20,9 @@ module UltracartClient
20
20
  # True if this account has linked accounts that it can process.
21
21
  attr_accessor :allow_process_linked_accounts
22
22
 
23
+ # If true also cancel the auto order if the order is rejected at the end
24
+ attr_accessor :cancel_auto_order
25
+
23
26
  # The current service plan that the account is on.
24
27
  attr_accessor :current_service_plan
25
28
 
@@ -61,6 +64,7 @@ module UltracartClient
61
64
  {
62
65
  :'active' => :'active',
63
66
  :'allow_process_linked_accounts' => :'allow_process_linked_accounts',
67
+ :'cancel_auto_order' => :'cancel_auto_order',
64
68
  :'current_service_plan' => :'current_service_plan',
65
69
  :'daily_activity_list' => :'daily_activity_list',
66
70
  :'managed_by_linked_account_merchant_id' => :'managed_by_linked_account_merchant_id',
@@ -81,6 +85,7 @@ module UltracartClient
81
85
  {
82
86
  :'active' => :'BOOLEAN',
83
87
  :'allow_process_linked_accounts' => :'BOOLEAN',
88
+ :'cancel_auto_order' => :'BOOLEAN',
84
89
  :'current_service_plan' => :'String',
85
90
  :'daily_activity_list' => :'Array<AccountsReceivableRetryDayActivity>',
86
91
  :'managed_by_linked_account_merchant_id' => :'BOOLEAN',
@@ -112,6 +117,10 @@ module UltracartClient
112
117
  self.allow_process_linked_accounts = attributes[:'allow_process_linked_accounts']
113
118
  end
114
119
 
120
+ if attributes.has_key?(:'cancel_auto_order')
121
+ self.cancel_auto_order = attributes[:'cancel_auto_order']
122
+ end
123
+
115
124
  if attributes.has_key?(:'current_service_plan')
116
125
  self.current_service_plan = attributes[:'current_service_plan']
117
126
  end
@@ -185,6 +194,7 @@ module UltracartClient
185
194
  self.class == o.class &&
186
195
  active == o.active &&
187
196
  allow_process_linked_accounts == o.allow_process_linked_accounts &&
197
+ cancel_auto_order == o.cancel_auto_order &&
188
198
  current_service_plan == o.current_service_plan &&
189
199
  daily_activity_list == o.daily_activity_list &&
190
200
  managed_by_linked_account_merchant_id == o.managed_by_linked_account_merchant_id &&
@@ -208,7 +218,7 @@ module UltracartClient
208
218
  # Calculates hash code according to all attributes.
209
219
  # @return [Fixnum] Hash code
210
220
  def hash
211
- [active, allow_process_linked_accounts, current_service_plan, daily_activity_list, managed_by_linked_account_merchant_id, merchant_id, notify_emails, notify_rejections, notify_successes, process_linked_accounts, processing_percentage, reject_at_end, trial_mode, trial_mode_expiration_dts].hash
221
+ [active, allow_process_linked_accounts, cancel_auto_order, current_service_plan, daily_activity_list, managed_by_linked_account_merchant_id, merchant_id, notify_emails, notify_rejections, notify_successes, process_linked_accounts, processing_percentage, reject_at_end, trial_mode, trial_mode_expiration_dts].hash
212
222
  end
213
223
 
214
224
  # Builds the object from hash
@@ -30,6 +30,8 @@ module UltracartClient
30
30
 
31
31
  attr_accessor :esp_commseq_uuid
32
32
 
33
+ attr_accessor :mail_card
34
+
33
35
  attr_accessor :name
34
36
 
35
37
  attr_accessor :order_id
@@ -49,6 +51,7 @@ module UltracartClient
49
51
  :'esp_commseq_postcard_uuid' => :'esp_commseq_postcard_uuid',
50
52
  :'esp_commseq_step_uuid' => :'esp_commseq_step_uuid',
51
53
  :'esp_commseq_uuid' => :'esp_commseq_uuid',
54
+ :'mail_card' => :'mail_card',
52
55
  :'name' => :'name',
53
56
  :'order_id' => :'order_id',
54
57
  :'postal_code' => :'postal_code',
@@ -67,6 +70,7 @@ module UltracartClient
67
70
  :'esp_commseq_postcard_uuid' => :'String',
68
71
  :'esp_commseq_step_uuid' => :'String',
69
72
  :'esp_commseq_uuid' => :'String',
73
+ :'mail_card' => :'BOOLEAN',
70
74
  :'name' => :'String',
71
75
  :'order_id' => :'String',
72
76
  :'postal_code' => :'String',
@@ -116,6 +120,10 @@ module UltracartClient
116
120
  self.esp_commseq_uuid = attributes[:'esp_commseq_uuid']
117
121
  end
118
122
 
123
+ if attributes.has_key?(:'mail_card')
124
+ self.mail_card = attributes[:'mail_card']
125
+ end
126
+
119
127
  if attributes.has_key?(:'name')
120
128
  self.name = attributes[:'name']
121
129
  end
@@ -159,6 +167,7 @@ module UltracartClient
159
167
  esp_commseq_postcard_uuid == o.esp_commseq_postcard_uuid &&
160
168
  esp_commseq_step_uuid == o.esp_commseq_step_uuid &&
161
169
  esp_commseq_uuid == o.esp_commseq_uuid &&
170
+ mail_card == o.mail_card &&
162
171
  name == o.name &&
163
172
  order_id == o.order_id &&
164
173
  postal_code == o.postal_code &&
@@ -174,7 +183,7 @@ module UltracartClient
174
183
  # Calculates hash code according to all attributes.
175
184
  # @return [Fixnum] Hash code
176
185
  def hash
177
- [address_1, address_2, cart_id, cart_item_ids, city, esp_commseq_postcard_uuid, esp_commseq_step_uuid, esp_commseq_uuid, name, order_id, postal_code, state].hash
186
+ [address_1, address_2, cart_id, cart_item_ids, city, esp_commseq_postcard_uuid, esp_commseq_step_uuid, esp_commseq_uuid, mail_card, name, order_id, postal_code, state].hash
178
187
  end
179
188
 
180
189
  # Builds the object from hash
@@ -44,6 +44,9 @@ module UltracartClient
44
44
  # Evening phone
45
45
  attr_accessor :evening_phone
46
46
 
47
+ # Evening phone (E164 format)
48
+ attr_accessor :evening_phone_e164
49
+
47
50
  # First name
48
51
  attr_accessor :first_name
49
52
 
@@ -72,6 +75,7 @@ module UltracartClient
72
75
  :'day_phone_e164' => :'day_phone_e164',
73
76
  :'email' => :'email',
74
77
  :'evening_phone' => :'evening_phone',
78
+ :'evening_phone_e164' => :'evening_phone_e164',
75
79
  :'first_name' => :'first_name',
76
80
  :'last_name' => :'last_name',
77
81
  :'postal_code' => :'postal_code',
@@ -93,6 +97,7 @@ module UltracartClient
93
97
  :'day_phone_e164' => :'String',
94
98
  :'email' => :'String',
95
99
  :'evening_phone' => :'String',
100
+ :'evening_phone_e164' => :'String',
96
101
  :'first_name' => :'String',
97
102
  :'last_name' => :'String',
98
103
  :'postal_code' => :'String',
@@ -151,6 +156,10 @@ module UltracartClient
151
156
  self.evening_phone = attributes[:'evening_phone']
152
157
  end
153
158
 
159
+ if attributes.has_key?(:'evening_phone_e164')
160
+ self.evening_phone_e164 = attributes[:'evening_phone_e164']
161
+ end
162
+
154
163
  if attributes.has_key?(:'first_name')
155
164
  self.first_name = attributes[:'first_name']
156
165
  end
@@ -212,6 +221,10 @@ module UltracartClient
212
221
  invalid_properties.push('invalid value for "evening_phone", the character length must be smaller than or equal to 25.')
213
222
  end
214
223
 
224
+ if !@evening_phone_e164.nil? && @evening_phone_e164.to_s.length > 25
225
+ invalid_properties.push('invalid value for "evening_phone_e164", the character length must be smaller than or equal to 25.')
226
+ end
227
+
215
228
  if !@first_name.nil? && @first_name.to_s.length > 30
216
229
  invalid_properties.push('invalid value for "first_name", the character length must be smaller than or equal to 30.')
217
230
  end
@@ -247,6 +260,7 @@ module UltracartClient
247
260
  return false if !@day_phone_e164.nil? && @day_phone_e164.to_s.length > 25
248
261
  return false if !@email.nil? && @email.to_s.length > 100
249
262
  return false if !@evening_phone.nil? && @evening_phone.to_s.length > 25
263
+ return false if !@evening_phone_e164.nil? && @evening_phone_e164.to_s.length > 25
250
264
  return false if !@first_name.nil? && @first_name.to_s.length > 30
251
265
  return false if !@last_name.nil? && @last_name.to_s.length > 30
252
266
  return false if !@postal_code.nil? && @postal_code.to_s.length > 20
@@ -345,6 +359,16 @@ module UltracartClient
345
359
  @evening_phone = evening_phone
346
360
  end
347
361
 
362
+ # Custom attribute writer method with validation
363
+ # @param [Object] evening_phone_e164 Value to be assigned
364
+ def evening_phone_e164=(evening_phone_e164)
365
+ if !evening_phone_e164.nil? && evening_phone_e164.to_s.length > 25
366
+ fail ArgumentError, 'invalid value for "evening_phone_e164", the character length must be smaller than or equal to 25.'
367
+ end
368
+
369
+ @evening_phone_e164 = evening_phone_e164
370
+ end
371
+
348
372
  # Custom attribute writer method with validation
349
373
  # @param [Object] first_name Value to be assigned
350
374
  def first_name=(first_name)
@@ -410,6 +434,7 @@ module UltracartClient
410
434
  day_phone_e164 == o.day_phone_e164 &&
411
435
  email == o.email &&
412
436
  evening_phone == o.evening_phone &&
437
+ evening_phone_e164 == o.evening_phone_e164 &&
413
438
  first_name == o.first_name &&
414
439
  last_name == o.last_name &&
415
440
  postal_code == o.postal_code &&
@@ -426,7 +451,7 @@ module UltracartClient
426
451
  # Calculates hash code according to all attributes.
427
452
  # @return [Fixnum] Hash code
428
453
  def hash
429
- [address1, address2, cc_emails, city, company, country_code, day_phone, day_phone_e164, email, evening_phone, first_name, last_name, postal_code, state_region, title].hash
454
+ [address1, address2, cc_emails, city, company, country_code, day_phone, day_phone_e164, email, evening_phone, evening_phone_e164, first_name, last_name, postal_code, state_region, title].hash
430
455
  end
431
456
 
432
457
  # Builds the object from hash
@@ -20,6 +20,9 @@ module UltracartClient
20
20
  # claim id
21
21
  attr_accessor :claim_id
22
22
 
23
+ # insurance type
24
+ attr_accessor :insurance_type
25
+
23
26
  # refund claim id
24
27
  attr_accessor :refund_claim_id
25
28
 
@@ -28,6 +31,7 @@ module UltracartClient
28
31
  {
29
32
  :'application_id' => :'application_id',
30
33
  :'claim_id' => :'claim_id',
34
+ :'insurance_type' => :'insurance_type',
31
35
  :'refund_claim_id' => :'refund_claim_id'
32
36
  }
33
37
  end
@@ -37,6 +41,7 @@ module UltracartClient
37
41
  {
38
42
  :'application_id' => :'String',
39
43
  :'claim_id' => :'String',
44
+ :'insurance_type' => :'String',
40
45
  :'refund_claim_id' => :'String'
41
46
  }
42
47
  end
@@ -57,6 +62,10 @@ module UltracartClient
57
62
  self.claim_id = attributes[:'claim_id']
58
63
  end
59
64
 
65
+ if attributes.has_key?(:'insurance_type')
66
+ self.insurance_type = attributes[:'insurance_type']
67
+ end
68
+
60
69
  if attributes.has_key?(:'refund_claim_id')
61
70
  self.refund_claim_id = attributes[:'refund_claim_id']
62
71
  end
@@ -82,6 +91,7 @@ module UltracartClient
82
91
  self.class == o.class &&
83
92
  application_id == o.application_id &&
84
93
  claim_id == o.claim_id &&
94
+ insurance_type == o.insurance_type &&
85
95
  refund_claim_id == o.refund_claim_id
86
96
  end
87
97
 
@@ -94,7 +104,7 @@ module UltracartClient
94
104
  # Calculates hash code according to all attributes.
95
105
  # @return [Fixnum] Hash code
96
106
  def hash
97
- [application_id, claim_id, refund_claim_id].hash
107
+ [application_id, claim_id, insurance_type, refund_claim_id].hash
98
108
  end
99
109
 
100
110
  # Builds the object from hash
@@ -41,6 +41,9 @@ module UltracartClient
41
41
  # Evening phone
42
42
  attr_accessor :evening_phone
43
43
 
44
+ # Evening phone (E164 format)
45
+ attr_accessor :evening_phone_e164
46
+
44
47
  # First name
45
48
  attr_accessor :first_name
46
49
 
@@ -112,6 +115,7 @@ module UltracartClient
112
115
  :'day_phone_e164' => :'day_phone_e164',
113
116
  :'delivery_date' => :'delivery_date',
114
117
  :'evening_phone' => :'evening_phone',
118
+ :'evening_phone_e164' => :'evening_phone_e164',
115
119
  :'first_name' => :'first_name',
116
120
  :'last_name' => :'last_name',
117
121
  :'least_cost_route' => :'least_cost_route',
@@ -147,6 +151,7 @@ module UltracartClient
147
151
  :'day_phone_e164' => :'String',
148
152
  :'delivery_date' => :'String',
149
153
  :'evening_phone' => :'String',
154
+ :'evening_phone_e164' => :'String',
150
155
  :'first_name' => :'String',
151
156
  :'last_name' => :'String',
152
157
  :'least_cost_route' => :'BOOLEAN',
@@ -214,6 +219,10 @@ module UltracartClient
214
219
  self.evening_phone = attributes[:'evening_phone']
215
220
  end
216
221
 
222
+ if attributes.has_key?(:'evening_phone_e164')
223
+ self.evening_phone_e164 = attributes[:'evening_phone_e164']
224
+ end
225
+
217
226
  if attributes.has_key?(:'first_name')
218
227
  self.first_name = attributes[:'first_name']
219
228
  end
@@ -337,6 +346,10 @@ module UltracartClient
337
346
  invalid_properties.push('invalid value for "evening_phone", the character length must be smaller than or equal to 25.')
338
347
  end
339
348
 
349
+ if !@evening_phone_e164.nil? && @evening_phone_e164.to_s.length > 25
350
+ invalid_properties.push('invalid value for "evening_phone_e164", the character length must be smaller than or equal to 25.')
351
+ end
352
+
340
353
  if !@first_name.nil? && @first_name.to_s.length > 30
341
354
  invalid_properties.push('invalid value for "first_name", the character length must be smaller than or equal to 30.')
342
355
  end
@@ -383,6 +396,7 @@ module UltracartClient
383
396
  return false if !@day_phone.nil? && @day_phone.to_s.length > 25
384
397
  return false if !@day_phone_e164.nil? && @day_phone_e164.to_s.length > 25
385
398
  return false if !@evening_phone.nil? && @evening_phone.to_s.length > 25
399
+ return false if !@evening_phone_e164.nil? && @evening_phone_e164.to_s.length > 25
386
400
  return false if !@first_name.nil? && @first_name.to_s.length > 30
387
401
  return false if !@last_name.nil? && @last_name.to_s.length > 30
388
402
  return false if !@postal_code.nil? && @postal_code.to_s.length > 20
@@ -474,6 +488,16 @@ module UltracartClient
474
488
  @evening_phone = evening_phone
475
489
  end
476
490
 
491
+ # Custom attribute writer method with validation
492
+ # @param [Object] evening_phone_e164 Value to be assigned
493
+ def evening_phone_e164=(evening_phone_e164)
494
+ if !evening_phone_e164.nil? && evening_phone_e164.to_s.length > 25
495
+ fail ArgumentError, 'invalid value for "evening_phone_e164", the character length must be smaller than or equal to 25.'
496
+ end
497
+
498
+ @evening_phone_e164 = evening_phone_e164
499
+ end
500
+
477
501
  # Custom attribute writer method with validation
478
502
  # @param [Object] first_name Value to be assigned
479
503
  def first_name=(first_name)
@@ -568,6 +592,7 @@ module UltracartClient
568
592
  day_phone_e164 == o.day_phone_e164 &&
569
593
  delivery_date == o.delivery_date &&
570
594
  evening_phone == o.evening_phone &&
595
+ evening_phone_e164 == o.evening_phone_e164 &&
571
596
  first_name == o.first_name &&
572
597
  last_name == o.last_name &&
573
598
  least_cost_route == o.least_cost_route &&
@@ -599,7 +624,7 @@ module UltracartClient
599
624
  # Calculates hash code according to all attributes.
600
625
  # @return [Fixnum] Hash code
601
626
  def hash
602
- [address1, address2, city, company, country_code, day_phone, day_phone_e164, delivery_date, evening_phone, first_name, last_name, least_cost_route, least_cost_route_shipping_methods, lift_gate, postal_code, rma, ship_on_date, ship_to_residential, shipping_3rd_party_account_number, shipping_date, shipping_department_status, shipping_method, shipping_method_accounting_code, special_instructions, state_region, title, tracking_number_details, tracking_numbers, weight].hash
627
+ [address1, address2, city, company, country_code, day_phone, day_phone_e164, delivery_date, evening_phone, evening_phone_e164, first_name, last_name, least_cost_route, least_cost_route_shipping_methods, lift_gate, postal_code, rma, ship_on_date, ship_to_residential, shipping_3rd_party_account_number, shipping_date, shipping_department_status, shipping_method, shipping_method_accounting_code, special_instructions, state_region, title, tracking_number_details, tracking_numbers, weight].hash
603
628
  end
604
629
 
605
630
  # Builds the object from hash
@@ -32,6 +32,9 @@ module UltracartClient
32
32
  # Bing Click Id (Parameter
33
33
  attr_accessor :msclkid
34
34
 
35
+ # TikTok Click Id (Parameter
36
+ attr_accessor :ttclid
37
+
35
38
  # Attribute mapping from ruby-style variable name to JSON key.
36
39
  def self.attribute_map
37
40
  {
@@ -40,7 +43,8 @@ module UltracartClient
40
43
  :'fbp' => :'fbp',
41
44
  :'gacid' => :'gacid',
42
45
  :'glcid' => :'glcid',
43
- :'msclkid' => :'msclkid'
46
+ :'msclkid' => :'msclkid',
47
+ :'ttclid' => :'ttclid'
44
48
  }
45
49
  end
46
50
 
@@ -52,7 +56,8 @@ module UltracartClient
52
56
  :'fbp' => :'String',
53
57
  :'gacid' => :'String',
54
58
  :'glcid' => :'String',
55
- :'msclkid' => :'String'
59
+ :'msclkid' => :'String',
60
+ :'ttclid' => :'String'
56
61
  }
57
62
  end
58
63
 
@@ -87,6 +92,10 @@ module UltracartClient
87
92
  if attributes.has_key?(:'msclkid')
88
93
  self.msclkid = attributes[:'msclkid']
89
94
  end
95
+
96
+ if attributes.has_key?(:'ttclid')
97
+ self.ttclid = attributes[:'ttclid']
98
+ end
90
99
  end
91
100
 
92
101
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -112,7 +121,8 @@ module UltracartClient
112
121
  fbp == o.fbp &&
113
122
  gacid == o.gacid &&
114
123
  glcid == o.glcid &&
115
- msclkid == o.msclkid
124
+ msclkid == o.msclkid &&
125
+ ttclid == o.ttclid
116
126
  end
117
127
 
118
128
  # @see the `==` method
@@ -124,7 +134,7 @@ module UltracartClient
124
134
  # Calculates hash code according to all attributes.
125
135
  # @return [Fixnum] Hash code
126
136
  def hash
127
- [fbc, fbclid, fbp, gacid, glcid, msclkid].hash
137
+ [fbc, fbclid, fbp, gacid, glcid, msclkid, ttclid].hash
128
138
  end
129
139
 
130
140
  # Builds the object from hash
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.6.33'
14
+ VERSION = '3.6.37'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultracart_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.33
4
+ version: 3.6.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-13 00:00:00.000000000 Z
11
+ date: 2022-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus