ultracart_api 3.6.32 → 3.6.36
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 +4 -4
- data/README.md +8 -4
- data/docs/AccountsReceivableRetryConfig.md +1 -0
- data/docs/EmailCommseqPostcardSendTestRequest.md +1 -0
- data/docs/OrderBilling.md +1 -0
- data/docs/OrderShipping.md +1 -0
- data/lib/ultracart_api/models/accounts_receivable_retry_config.rb +11 -1
- data/lib/ultracart_api/models/email_commseq_postcard_send_test_request.rb +10 -1
- data/lib/ultracart_api/models/order_billing.rb +26 -1
- data/lib/ultracart_api/models/order_shipping.rb +26 -1
- data/lib/ultracart_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cbcc4df63b4f8ac14b4b106f7dce28af18f33f8cbbc1223f7896cf3034643815
|
|
4
|
+
data.tar.gz: d9bbb894a947a0549907fc377b509cc62109c224d2ab9759374c10b697e34084
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8717f7643d725a5120749692009df5abd609a6d1ac30a136f798565ed571645e4ea0b0a0fc6d6a602ee85706650c6a39519ab1969076b0103d1cb7a3f9dd92ee
|
|
7
|
+
data.tar.gz: 273cb64d8028b466df086dfeec9e9f1ee64b09c1e4fe83e0bac0d58693d2e3fd44c6c7571a280b8a9104a6cbc7a3aba82bf09efb705308a6996a033d0b840c63
|
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.
|
|
10
|
+
- Package version: 3.6.36
|
|
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.
|
|
27
|
+
gem install ./ultracart_api-3.6.36.gem
|
|
28
28
|
```
|
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.6.
|
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.6.36.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.
|
|
35
|
+
gem 'ultracart_api', '~> 3.6.36'
|
|
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.36 | 12/29/2021 | Mail actual post card flag added to test method |
|
|
1132
|
+
| 3.6.35 | 12/14/2021 | Add cancel_auto_order option to the accounts receivable retry configuration |
|
|
1133
|
+
| 3.6.34 | 12/14/2021 | add evening phone E.164 fields to order billing/shipping objects |
|
|
1134
|
+
| 3.6.33 | 12/13/2021 | automation testing |
|
|
1131
1135
|
| 3.6.32 | 12/10/2021 | testing automation - message 4 |
|
|
1132
1136
|
| 3.6.25 | 12/06/2021 | sdk automation testing. no changes to actual sdk |
|
|
1133
1137
|
| 3.6.24 | 11/30/2021 | return items_invalid_for_coupons for CouponResponse object to drive UI warnings |
|
|
@@ -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]
|
data/docs/OrderShipping.md
CHANGED
|
@@ -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]
|
|
@@ -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
|
|
@@ -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
|
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.
|
|
4
|
+
version: 3.6.36
|
|
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-
|
|
11
|
+
date: 2021-12-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|