ultracart_api 3.10.197 → 3.10.199
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 +6 -4
- data/docs/CartCheckout.md +1 -0
- data/docs/ChannelPartnerOrder.md +10 -0
- data/docs/ConversationPbxAudio.md +1 -0
- data/docs/OrderUtm.md +6 -0
- data/lib/ultracart_api/models/cart_checkout.rb +11 -1
- data/lib/ultracart_api/models/channel_partner_order.rb +127 -3
- data/lib/ultracart_api/models/conversation_pbx_audio.rb +11 -1
- data/lib/ultracart_api/models/order_utm.rb +55 -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: 846dcc45fbb936c21e7a6c0384e87e715c96a601a2807c2e51be9ffbf3213e88
|
|
4
|
+
data.tar.gz: 503f29233d9263c25a1471b9f85c5b99c875a085a4153fed56e4e798c50af954
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ea5b9281152077dc7e94a38dfbc4425cbf770b7365798f392ce70574b03e0c461b5788bc22305015ee5176e4e6d96cfb104ea0be6c95cf7fc44512c79be2b304
|
|
7
|
+
data.tar.gz: 2ddb9caee4b1094d9dbe627098a7e74b0cf59c8b684c9cfdbe5cce6377428aa023dc3311dab2799481efb1e8578b3611b11d335d59beb7813cdbcaa0cdd42f17
|
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.10.
|
|
10
|
+
- Package version: 3.10.199
|
|
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.10.
|
|
27
|
+
gem install ./ultracart_api-3.10.199.gem
|
|
28
28
|
```
|
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.10.
|
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.10.199.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.10.
|
|
35
|
+
gem 'ultracart_api', '~> 3.10.199'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -1505,6 +1505,8 @@ Not every change is committed to every SDK.
|
|
|
1505
1505
|
|
|
1506
1506
|
| Version | Date | Comments |
|
|
1507
1507
|
| --: | :-: | --- |
|
|
1508
|
+
| 3.10.199 | 05/13/2024 | conversation pbx - allow nullable day of week in time range |
|
|
1509
|
+
| 3.10.198 | 05/08/2024 | added echeck fields to channel partner order import |
|
|
1508
1510
|
| 3.10.197 | 05/02/2024 | conversation - new method to load pbx audio usage |
|
|
1509
1511
|
| 3.10.196 | 05/02/2024 | autoorder - fields to record merge association and tstamp |
|
|
1510
1512
|
| 3.10.195 | 05/01/2024 | getConversationPbxAudioUploadUrl - fix the response obj def |
|
data/docs/CartCheckout.md
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
6
|
**comments** | **String** | Comments from the customer. Rarely used on the single page checkout. | [optional]
|
|
7
|
+
**current_step** | **String** | Current step of the checkout (read only) | [optional]
|
|
7
8
|
**custom_field1** | **String** | Custom field 1 | [optional]
|
|
8
9
|
**custom_field10** | **String** | Custom field 10 | [optional]
|
|
9
10
|
**custom_field2** | **String** | Custom field 2 | [optional]
|
data/docs/ChannelPartnerOrder.md
CHANGED
|
@@ -42,6 +42,16 @@ Name | Type | Description | Notes
|
|
|
42
42
|
**custom_field6** | **String** | Custom field 6 | [optional]
|
|
43
43
|
**custom_field7** | **String** | Custom field 7 | [optional]
|
|
44
44
|
**delivery_date** | **String** | Date the customer is requesting delivery on. Typically used for perishable product delivery. | [optional]
|
|
45
|
+
**echeck_bank_aba_code** | **String** | eCheck bank ABA code | [optional]
|
|
46
|
+
**echeck_bank_account_name** | **String** | eCheck bank account name | [optional]
|
|
47
|
+
**echeck_bank_account_number** | **String** | eCheck bank account number | [optional]
|
|
48
|
+
**echeck_bank_account_type** | **String** | eCheck bank account type | [optional]
|
|
49
|
+
**echeck_bank_name** | **String** | eCheck bank name | [optional]
|
|
50
|
+
**echeck_bank_owner_type** | **String** | eCheck bank owner type | [optional]
|
|
51
|
+
**echeck_customer_tax_id** | **String** | eCheck customer tax id | [optional]
|
|
52
|
+
**echeck_drivers_license_dob** | **String** | eCheck drivers license dob | [optional]
|
|
53
|
+
**echeck_drivers_license_number** | **String** | eCheck drivers license number | [optional]
|
|
54
|
+
**echeck_drivers_license_state** | **String** | eCheck drivers license state | [optional]
|
|
45
55
|
**email** | **String** | Email | [optional]
|
|
46
56
|
**gift** | **BOOLEAN** | True if this order is a gift | [optional]
|
|
47
57
|
**gift_email** | **String** | Email address of the gift recipient | [optional]
|
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**filename** | **String** | Filename | [optional]
|
|
11
11
|
**merchant_id** | **String** | Merchant Id | [optional]
|
|
12
12
|
**mime_type** | **String** | Mime Type | [optional]
|
|
13
|
+
**url** | **String** | URL | [optional]
|
|
13
14
|
**user_id** | **Integer** | User Id | [optional]
|
|
14
15
|
**version** | **Integer** | Version | [optional]
|
|
15
16
|
|
data/docs/OrderUtm.md
CHANGED
|
@@ -16,6 +16,12 @@ Name | Type | Description | Notes
|
|
|
16
16
|
**fbclid** | **String** | | [optional]
|
|
17
17
|
**gbraid** | **String** | | [optional]
|
|
18
18
|
**glcid** | **String** | | [optional]
|
|
19
|
+
**itm_campaign** | **String** | | [optional]
|
|
20
|
+
**itm_content** | **String** | | [optional]
|
|
21
|
+
**itm_id** | **String** | | [optional]
|
|
22
|
+
**itm_medium** | **String** | | [optional]
|
|
23
|
+
**itm_source** | **String** | | [optional]
|
|
24
|
+
**itm_term** | **String** | | [optional]
|
|
19
25
|
**msclkid** | **String** | | [optional]
|
|
20
26
|
**ttclid** | **String** | | [optional]
|
|
21
27
|
**uc_message_id** | **String** | | [optional]
|
|
@@ -17,6 +17,9 @@ module UltracartClient
|
|
|
17
17
|
# Comments from the customer. Rarely used on the single page checkout.
|
|
18
18
|
attr_accessor :comments
|
|
19
19
|
|
|
20
|
+
# Current step of the checkout (read only)
|
|
21
|
+
attr_accessor :current_step
|
|
22
|
+
|
|
20
23
|
# Custom field 1
|
|
21
24
|
attr_accessor :custom_field1
|
|
22
25
|
|
|
@@ -69,6 +72,7 @@ module UltracartClient
|
|
|
69
72
|
def self.attribute_map
|
|
70
73
|
{
|
|
71
74
|
:'comments' => :'comments',
|
|
75
|
+
:'current_step' => :'current_step',
|
|
72
76
|
:'custom_field1' => :'custom_field1',
|
|
73
77
|
:'custom_field10' => :'custom_field10',
|
|
74
78
|
:'custom_field2' => :'custom_field2',
|
|
@@ -92,6 +96,7 @@ module UltracartClient
|
|
|
92
96
|
def self.swagger_types
|
|
93
97
|
{
|
|
94
98
|
:'comments' => :'String',
|
|
99
|
+
:'current_step' => :'String',
|
|
95
100
|
:'custom_field1' => :'String',
|
|
96
101
|
:'custom_field10' => :'String',
|
|
97
102
|
:'custom_field2' => :'String',
|
|
@@ -123,6 +128,10 @@ module UltracartClient
|
|
|
123
128
|
self.comments = attributes[:'comments']
|
|
124
129
|
end
|
|
125
130
|
|
|
131
|
+
if attributes.has_key?(:'current_step')
|
|
132
|
+
self.current_step = attributes[:'current_step']
|
|
133
|
+
end
|
|
134
|
+
|
|
126
135
|
if attributes.has_key?(:'custom_field1')
|
|
127
136
|
self.custom_field1 = attributes[:'custom_field1']
|
|
128
137
|
end
|
|
@@ -402,6 +411,7 @@ module UltracartClient
|
|
|
402
411
|
return true if self.equal?(o)
|
|
403
412
|
self.class == o.class &&
|
|
404
413
|
comments == o.comments &&
|
|
414
|
+
current_step == o.current_step &&
|
|
405
415
|
custom_field1 == o.custom_field1 &&
|
|
406
416
|
custom_field10 == o.custom_field10 &&
|
|
407
417
|
custom_field2 == o.custom_field2 &&
|
|
@@ -429,7 +439,7 @@ module UltracartClient
|
|
|
429
439
|
# Calculates hash code according to all attributes.
|
|
430
440
|
# @return [Fixnum] Hash code
|
|
431
441
|
def hash
|
|
432
|
-
[comments, custom_field1, custom_field10, custom_field2, custom_field3, custom_field4, custom_field5, custom_field6, custom_field7, custom_field8, custom_field9, ip_address, return_code, return_url, screen_branding_theme_code, storefront_host_name, user_agent].hash
|
|
442
|
+
[comments, current_step, custom_field1, custom_field10, custom_field2, custom_field3, custom_field4, custom_field5, custom_field6, custom_field7, custom_field8, custom_field9, ip_address, return_code, return_url, screen_branding_theme_code, storefront_host_name, user_agent].hash
|
|
433
443
|
end
|
|
434
444
|
|
|
435
445
|
# Builds the object from hash
|
|
@@ -131,6 +131,36 @@ module UltracartClient
|
|
|
131
131
|
# Date the customer is requesting delivery on. Typically used for perishable product delivery.
|
|
132
132
|
attr_accessor :delivery_date
|
|
133
133
|
|
|
134
|
+
# eCheck bank ABA code
|
|
135
|
+
attr_accessor :echeck_bank_aba_code
|
|
136
|
+
|
|
137
|
+
# eCheck bank account name
|
|
138
|
+
attr_accessor :echeck_bank_account_name
|
|
139
|
+
|
|
140
|
+
# eCheck bank account number
|
|
141
|
+
attr_accessor :echeck_bank_account_number
|
|
142
|
+
|
|
143
|
+
# eCheck bank account type
|
|
144
|
+
attr_accessor :echeck_bank_account_type
|
|
145
|
+
|
|
146
|
+
# eCheck bank name
|
|
147
|
+
attr_accessor :echeck_bank_name
|
|
148
|
+
|
|
149
|
+
# eCheck bank owner type
|
|
150
|
+
attr_accessor :echeck_bank_owner_type
|
|
151
|
+
|
|
152
|
+
# eCheck customer tax id
|
|
153
|
+
attr_accessor :echeck_customer_tax_id
|
|
154
|
+
|
|
155
|
+
# eCheck drivers license dob
|
|
156
|
+
attr_accessor :echeck_drivers_license_dob
|
|
157
|
+
|
|
158
|
+
# eCheck drivers license number
|
|
159
|
+
attr_accessor :echeck_drivers_license_number
|
|
160
|
+
|
|
161
|
+
# eCheck drivers license state
|
|
162
|
+
attr_accessor :echeck_drivers_license_state
|
|
163
|
+
|
|
134
164
|
# Email
|
|
135
165
|
attr_accessor :email
|
|
136
166
|
|
|
@@ -320,6 +350,16 @@ module UltracartClient
|
|
|
320
350
|
:'custom_field6' => :'custom_field6',
|
|
321
351
|
:'custom_field7' => :'custom_field7',
|
|
322
352
|
:'delivery_date' => :'delivery_date',
|
|
353
|
+
:'echeck_bank_aba_code' => :'echeck_bank_aba_code',
|
|
354
|
+
:'echeck_bank_account_name' => :'echeck_bank_account_name',
|
|
355
|
+
:'echeck_bank_account_number' => :'echeck_bank_account_number',
|
|
356
|
+
:'echeck_bank_account_type' => :'echeck_bank_account_type',
|
|
357
|
+
:'echeck_bank_name' => :'echeck_bank_name',
|
|
358
|
+
:'echeck_bank_owner_type' => :'echeck_bank_owner_type',
|
|
359
|
+
:'echeck_customer_tax_id' => :'echeck_customer_tax_id',
|
|
360
|
+
:'echeck_drivers_license_dob' => :'echeck_drivers_license_dob',
|
|
361
|
+
:'echeck_drivers_license_number' => :'echeck_drivers_license_number',
|
|
362
|
+
:'echeck_drivers_license_state' => :'echeck_drivers_license_state',
|
|
323
363
|
:'email' => :'email',
|
|
324
364
|
:'gift' => :'gift',
|
|
325
365
|
:'gift_email' => :'gift_email',
|
|
@@ -407,6 +447,16 @@ module UltracartClient
|
|
|
407
447
|
:'custom_field6' => :'String',
|
|
408
448
|
:'custom_field7' => :'String',
|
|
409
449
|
:'delivery_date' => :'String',
|
|
450
|
+
:'echeck_bank_aba_code' => :'String',
|
|
451
|
+
:'echeck_bank_account_name' => :'String',
|
|
452
|
+
:'echeck_bank_account_number' => :'String',
|
|
453
|
+
:'echeck_bank_account_type' => :'String',
|
|
454
|
+
:'echeck_bank_name' => :'String',
|
|
455
|
+
:'echeck_bank_owner_type' => :'String',
|
|
456
|
+
:'echeck_customer_tax_id' => :'String',
|
|
457
|
+
:'echeck_drivers_license_dob' => :'String',
|
|
458
|
+
:'echeck_drivers_license_number' => :'String',
|
|
459
|
+
:'echeck_drivers_license_state' => :'String',
|
|
410
460
|
:'email' => :'String',
|
|
411
461
|
:'gift' => :'BOOLEAN',
|
|
412
462
|
:'gift_email' => :'String',
|
|
@@ -618,6 +668,46 @@ module UltracartClient
|
|
|
618
668
|
self.delivery_date = attributes[:'delivery_date']
|
|
619
669
|
end
|
|
620
670
|
|
|
671
|
+
if attributes.has_key?(:'echeck_bank_aba_code')
|
|
672
|
+
self.echeck_bank_aba_code = attributes[:'echeck_bank_aba_code']
|
|
673
|
+
end
|
|
674
|
+
|
|
675
|
+
if attributes.has_key?(:'echeck_bank_account_name')
|
|
676
|
+
self.echeck_bank_account_name = attributes[:'echeck_bank_account_name']
|
|
677
|
+
end
|
|
678
|
+
|
|
679
|
+
if attributes.has_key?(:'echeck_bank_account_number')
|
|
680
|
+
self.echeck_bank_account_number = attributes[:'echeck_bank_account_number']
|
|
681
|
+
end
|
|
682
|
+
|
|
683
|
+
if attributes.has_key?(:'echeck_bank_account_type')
|
|
684
|
+
self.echeck_bank_account_type = attributes[:'echeck_bank_account_type']
|
|
685
|
+
end
|
|
686
|
+
|
|
687
|
+
if attributes.has_key?(:'echeck_bank_name')
|
|
688
|
+
self.echeck_bank_name = attributes[:'echeck_bank_name']
|
|
689
|
+
end
|
|
690
|
+
|
|
691
|
+
if attributes.has_key?(:'echeck_bank_owner_type')
|
|
692
|
+
self.echeck_bank_owner_type = attributes[:'echeck_bank_owner_type']
|
|
693
|
+
end
|
|
694
|
+
|
|
695
|
+
if attributes.has_key?(:'echeck_customer_tax_id')
|
|
696
|
+
self.echeck_customer_tax_id = attributes[:'echeck_customer_tax_id']
|
|
697
|
+
end
|
|
698
|
+
|
|
699
|
+
if attributes.has_key?(:'echeck_drivers_license_dob')
|
|
700
|
+
self.echeck_drivers_license_dob = attributes[:'echeck_drivers_license_dob']
|
|
701
|
+
end
|
|
702
|
+
|
|
703
|
+
if attributes.has_key?(:'echeck_drivers_license_number')
|
|
704
|
+
self.echeck_drivers_license_number = attributes[:'echeck_drivers_license_number']
|
|
705
|
+
end
|
|
706
|
+
|
|
707
|
+
if attributes.has_key?(:'echeck_drivers_license_state')
|
|
708
|
+
self.echeck_drivers_license_state = attributes[:'echeck_drivers_license_state']
|
|
709
|
+
end
|
|
710
|
+
|
|
621
711
|
if attributes.has_key?(:'email')
|
|
622
712
|
self.email = attributes[:'email']
|
|
623
713
|
end
|
|
@@ -969,10 +1059,14 @@ module UltracartClient
|
|
|
969
1059
|
return false if !@custom_field5.nil? && @custom_field5.to_s.length > 75
|
|
970
1060
|
return false if !@custom_field6.nil? && @custom_field6.to_s.length > 50
|
|
971
1061
|
return false if !@custom_field7.nil? && @custom_field7.to_s.length > 50
|
|
1062
|
+
echeck_bank_account_type_validator = EnumAttributeValidator.new('String', ['Checking', 'Savings'])
|
|
1063
|
+
return false unless echeck_bank_account_type_validator.valid?(@echeck_bank_account_type)
|
|
1064
|
+
echeck_bank_owner_type_validator = EnumAttributeValidator.new('String', ['Business', 'Personal'])
|
|
1065
|
+
return false unless echeck_bank_owner_type_validator.valid?(@echeck_bank_owner_type)
|
|
972
1066
|
return false if !@email.nil? && @email.to_s.length > 100
|
|
973
1067
|
return false if !@gift_email.nil? && @gift_email.to_s.length > 100
|
|
974
1068
|
return false if !@gift_message.nil? && @gift_message.to_s.length > 10000
|
|
975
|
-
payment_method_validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Check', 'COD', 'Credit Card', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Wire Transfer'])
|
|
1069
|
+
payment_method_validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Check', 'COD', 'Credit Card', 'eCheck', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Wire Transfer'])
|
|
976
1070
|
return false unless payment_method_validator.valid?(@payment_method)
|
|
977
1071
|
return false if !@screen_branding_theme_code.nil? && @screen_branding_theme_code.to_s.length > 10
|
|
978
1072
|
return false if !@shipto_address1.nil? && @shipto_address1.to_s.length > 50
|
|
@@ -1191,6 +1285,26 @@ module UltracartClient
|
|
|
1191
1285
|
@custom_field7 = custom_field7
|
|
1192
1286
|
end
|
|
1193
1287
|
|
|
1288
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1289
|
+
# @param [Object] echeck_bank_account_type Object to be assigned
|
|
1290
|
+
def echeck_bank_account_type=(echeck_bank_account_type)
|
|
1291
|
+
validator = EnumAttributeValidator.new('String', ['Checking', 'Savings'])
|
|
1292
|
+
unless validator.valid?(echeck_bank_account_type)
|
|
1293
|
+
fail ArgumentError, 'invalid value for "echeck_bank_account_type", must be one of #{validator.allowable_values}.'
|
|
1294
|
+
end
|
|
1295
|
+
@echeck_bank_account_type = echeck_bank_account_type
|
|
1296
|
+
end
|
|
1297
|
+
|
|
1298
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1299
|
+
# @param [Object] echeck_bank_owner_type Object to be assigned
|
|
1300
|
+
def echeck_bank_owner_type=(echeck_bank_owner_type)
|
|
1301
|
+
validator = EnumAttributeValidator.new('String', ['Business', 'Personal'])
|
|
1302
|
+
unless validator.valid?(echeck_bank_owner_type)
|
|
1303
|
+
fail ArgumentError, 'invalid value for "echeck_bank_owner_type", must be one of #{validator.allowable_values}.'
|
|
1304
|
+
end
|
|
1305
|
+
@echeck_bank_owner_type = echeck_bank_owner_type
|
|
1306
|
+
end
|
|
1307
|
+
|
|
1194
1308
|
# Custom attribute writer method with validation
|
|
1195
1309
|
# @param [Object] email Value to be assigned
|
|
1196
1310
|
def email=(email)
|
|
@@ -1224,7 +1338,7 @@ module UltracartClient
|
|
|
1224
1338
|
# Custom attribute writer method checking allowed values (enum).
|
|
1225
1339
|
# @param [Object] payment_method Object to be assigned
|
|
1226
1340
|
def payment_method=(payment_method)
|
|
1227
|
-
validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Check', 'COD', 'Credit Card', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Wire Transfer'])
|
|
1341
|
+
validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Check', 'COD', 'Credit Card', 'eCheck', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Wire Transfer'])
|
|
1228
1342
|
unless validator.valid?(payment_method)
|
|
1229
1343
|
fail ArgumentError, 'invalid value for "payment_method", must be one of #{validator.allowable_values}.'
|
|
1230
1344
|
end
|
|
@@ -1415,6 +1529,16 @@ module UltracartClient
|
|
|
1415
1529
|
custom_field6 == o.custom_field6 &&
|
|
1416
1530
|
custom_field7 == o.custom_field7 &&
|
|
1417
1531
|
delivery_date == o.delivery_date &&
|
|
1532
|
+
echeck_bank_aba_code == o.echeck_bank_aba_code &&
|
|
1533
|
+
echeck_bank_account_name == o.echeck_bank_account_name &&
|
|
1534
|
+
echeck_bank_account_number == o.echeck_bank_account_number &&
|
|
1535
|
+
echeck_bank_account_type == o.echeck_bank_account_type &&
|
|
1536
|
+
echeck_bank_name == o.echeck_bank_name &&
|
|
1537
|
+
echeck_bank_owner_type == o.echeck_bank_owner_type &&
|
|
1538
|
+
echeck_customer_tax_id == o.echeck_customer_tax_id &&
|
|
1539
|
+
echeck_drivers_license_dob == o.echeck_drivers_license_dob &&
|
|
1540
|
+
echeck_drivers_license_number == o.echeck_drivers_license_number &&
|
|
1541
|
+
echeck_drivers_license_state == o.echeck_drivers_license_state &&
|
|
1418
1542
|
email == o.email &&
|
|
1419
1543
|
gift == o.gift &&
|
|
1420
1544
|
gift_email == o.gift_email &&
|
|
@@ -1468,7 +1592,7 @@ module UltracartClient
|
|
|
1468
1592
|
# Calculates hash code according to all attributes.
|
|
1469
1593
|
# @return [Fixnum] Hash code
|
|
1470
1594
|
def hash
|
|
1471
|
-
[advertising_source, affiliate_id, affiliate_sub_id, arbitrary_shipping_handling_total, arbitrary_tax, arbitrary_tax_rate, arbitrary_taxable_subtotal, associate_with_customer_profile_if_present, auto_approve_purchase_order, billto_address1, billto_address2, billto_city, billto_company, billto_country_code, billto_day_phone, billto_evening_phone, billto_first_name, billto_last_name, billto_postal_code, billto_state_region, billto_title, cc_email, channel_partner_order_id, consider_recurring, coupons, credit_card_authorization_amount, credit_card_authorization_dts, credit_card_authorization_number, credit_card_expiration_month, credit_card_expiration_year, credit_card_type, custom_field1, custom_field2, custom_field3, custom_field4, custom_field5, custom_field6, custom_field7, delivery_date, email, gift, gift_email, gift_message, hosted_fields_card_token, hosted_fields_cvv_token, insurance_application_id, insurance_claim_id, ip_address, items, least_cost_route, least_cost_route_shipping_methods, mailing_list_opt_in, no_realtime_payment_processing, payment_method, purchase_order_number, rotating_transaction_gateway_code, sales_rep_code, screen_branding_theme_code, ship_on_date, ship_to_residential, shipping_method, shipto_address1, shipto_address2, shipto_city, shipto_company, shipto_country_code, shipto_day_phone, shipto_evening_phone, shipto_first_name, shipto_last_name, shipto_postal_code, shipto_state_region, shipto_title, skip_payment_processing, special_instructions, store_completed, store_if_payment_declines, tax_county, tax_exempt, transaction, treat_warnings_as_errors].hash
|
|
1595
|
+
[advertising_source, affiliate_id, affiliate_sub_id, arbitrary_shipping_handling_total, arbitrary_tax, arbitrary_tax_rate, arbitrary_taxable_subtotal, associate_with_customer_profile_if_present, auto_approve_purchase_order, billto_address1, billto_address2, billto_city, billto_company, billto_country_code, billto_day_phone, billto_evening_phone, billto_first_name, billto_last_name, billto_postal_code, billto_state_region, billto_title, cc_email, channel_partner_order_id, consider_recurring, coupons, credit_card_authorization_amount, credit_card_authorization_dts, credit_card_authorization_number, credit_card_expiration_month, credit_card_expiration_year, credit_card_type, custom_field1, custom_field2, custom_field3, custom_field4, custom_field5, custom_field6, custom_field7, delivery_date, echeck_bank_aba_code, echeck_bank_account_name, echeck_bank_account_number, echeck_bank_account_type, echeck_bank_name, echeck_bank_owner_type, echeck_customer_tax_id, echeck_drivers_license_dob, echeck_drivers_license_number, echeck_drivers_license_state, email, gift, gift_email, gift_message, hosted_fields_card_token, hosted_fields_cvv_token, insurance_application_id, insurance_claim_id, ip_address, items, least_cost_route, least_cost_route_shipping_methods, mailing_list_opt_in, no_realtime_payment_processing, payment_method, purchase_order_number, rotating_transaction_gateway_code, sales_rep_code, screen_branding_theme_code, ship_on_date, ship_to_residential, shipping_method, shipto_address1, shipto_address2, shipto_city, shipto_company, shipto_country_code, shipto_day_phone, shipto_evening_phone, shipto_first_name, shipto_last_name, shipto_postal_code, shipto_state_region, shipto_title, skip_payment_processing, special_instructions, store_completed, store_if_payment_declines, tax_county, tax_exempt, transaction, treat_warnings_as_errors].hash
|
|
1472
1596
|
end
|
|
1473
1597
|
|
|
1474
1598
|
# Builds the object from hash
|
|
@@ -35,6 +35,9 @@ module UltracartClient
|
|
|
35
35
|
# Mime Type
|
|
36
36
|
attr_accessor :mime_type
|
|
37
37
|
|
|
38
|
+
# URL
|
|
39
|
+
attr_accessor :url
|
|
40
|
+
|
|
38
41
|
# User Id
|
|
39
42
|
attr_accessor :user_id
|
|
40
43
|
|
|
@@ -51,6 +54,7 @@ module UltracartClient
|
|
|
51
54
|
:'filename' => :'filename',
|
|
52
55
|
:'merchant_id' => :'merchant_id',
|
|
53
56
|
:'mime_type' => :'mime_type',
|
|
57
|
+
:'url' => :'url',
|
|
54
58
|
:'user_id' => :'user_id',
|
|
55
59
|
:'version' => :'version'
|
|
56
60
|
}
|
|
@@ -66,6 +70,7 @@ module UltracartClient
|
|
|
66
70
|
:'filename' => :'String',
|
|
67
71
|
:'merchant_id' => :'String',
|
|
68
72
|
:'mime_type' => :'String',
|
|
73
|
+
:'url' => :'String',
|
|
69
74
|
:'user_id' => :'Integer',
|
|
70
75
|
:'version' => :'Integer'
|
|
71
76
|
}
|
|
@@ -107,6 +112,10 @@ module UltracartClient
|
|
|
107
112
|
self.mime_type = attributes[:'mime_type']
|
|
108
113
|
end
|
|
109
114
|
|
|
115
|
+
if attributes.has_key?(:'url')
|
|
116
|
+
self.url = attributes[:'url']
|
|
117
|
+
end
|
|
118
|
+
|
|
110
119
|
if attributes.has_key?(:'user_id')
|
|
111
120
|
self.user_id = attributes[:'user_id']
|
|
112
121
|
end
|
|
@@ -231,6 +240,7 @@ module UltracartClient
|
|
|
231
240
|
filename == o.filename &&
|
|
232
241
|
merchant_id == o.merchant_id &&
|
|
233
242
|
mime_type == o.mime_type &&
|
|
243
|
+
url == o.url &&
|
|
234
244
|
user_id == o.user_id &&
|
|
235
245
|
version == o.version
|
|
236
246
|
end
|
|
@@ -244,7 +254,7 @@ module UltracartClient
|
|
|
244
254
|
# Calculates hash code according to all attributes.
|
|
245
255
|
# @return [Fixnum] Hash code
|
|
246
256
|
def hash
|
|
247
|
-
[audio_s3_listing_key, conversation_pbx_audio_uuid, default_hold_music, description, filename, merchant_id, mime_type, user_id, version].hash
|
|
257
|
+
[audio_s3_listing_key, conversation_pbx_audio_uuid, default_hold_music, description, filename, merchant_id, mime_type, url, user_id, version].hash
|
|
248
258
|
end
|
|
249
259
|
|
|
250
260
|
# Builds the object from hash
|
|
@@ -41,6 +41,18 @@ module UltracartClient
|
|
|
41
41
|
|
|
42
42
|
attr_accessor :glcid
|
|
43
43
|
|
|
44
|
+
attr_accessor :itm_campaign
|
|
45
|
+
|
|
46
|
+
attr_accessor :itm_content
|
|
47
|
+
|
|
48
|
+
attr_accessor :itm_id
|
|
49
|
+
|
|
50
|
+
attr_accessor :itm_medium
|
|
51
|
+
|
|
52
|
+
attr_accessor :itm_source
|
|
53
|
+
|
|
54
|
+
attr_accessor :itm_term
|
|
55
|
+
|
|
44
56
|
attr_accessor :msclkid
|
|
45
57
|
|
|
46
58
|
attr_accessor :ttclid
|
|
@@ -79,6 +91,12 @@ module UltracartClient
|
|
|
79
91
|
:'fbclid' => :'fbclid',
|
|
80
92
|
:'gbraid' => :'gbraid',
|
|
81
93
|
:'glcid' => :'glcid',
|
|
94
|
+
:'itm_campaign' => :'itm_campaign',
|
|
95
|
+
:'itm_content' => :'itm_content',
|
|
96
|
+
:'itm_id' => :'itm_id',
|
|
97
|
+
:'itm_medium' => :'itm_medium',
|
|
98
|
+
:'itm_source' => :'itm_source',
|
|
99
|
+
:'itm_term' => :'itm_term',
|
|
82
100
|
:'msclkid' => :'msclkid',
|
|
83
101
|
:'ttclid' => :'ttclid',
|
|
84
102
|
:'uc_message_id' => :'uc_message_id',
|
|
@@ -109,6 +127,12 @@ module UltracartClient
|
|
|
109
127
|
:'fbclid' => :'String',
|
|
110
128
|
:'gbraid' => :'String',
|
|
111
129
|
:'glcid' => :'String',
|
|
130
|
+
:'itm_campaign' => :'String',
|
|
131
|
+
:'itm_content' => :'String',
|
|
132
|
+
:'itm_id' => :'String',
|
|
133
|
+
:'itm_medium' => :'String',
|
|
134
|
+
:'itm_source' => :'String',
|
|
135
|
+
:'itm_term' => :'String',
|
|
112
136
|
:'msclkid' => :'String',
|
|
113
137
|
:'ttclid' => :'String',
|
|
114
138
|
:'uc_message_id' => :'String',
|
|
@@ -183,6 +207,30 @@ module UltracartClient
|
|
|
183
207
|
self.glcid = attributes[:'glcid']
|
|
184
208
|
end
|
|
185
209
|
|
|
210
|
+
if attributes.has_key?(:'itm_campaign')
|
|
211
|
+
self.itm_campaign = attributes[:'itm_campaign']
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
if attributes.has_key?(:'itm_content')
|
|
215
|
+
self.itm_content = attributes[:'itm_content']
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
if attributes.has_key?(:'itm_id')
|
|
219
|
+
self.itm_id = attributes[:'itm_id']
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
if attributes.has_key?(:'itm_medium')
|
|
223
|
+
self.itm_medium = attributes[:'itm_medium']
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
if attributes.has_key?(:'itm_source')
|
|
227
|
+
self.itm_source = attributes[:'itm_source']
|
|
228
|
+
end
|
|
229
|
+
|
|
230
|
+
if attributes.has_key?(:'itm_term')
|
|
231
|
+
self.itm_term = attributes[:'itm_term']
|
|
232
|
+
end
|
|
233
|
+
|
|
186
234
|
if attributes.has_key?(:'msclkid')
|
|
187
235
|
self.msclkid = attributes[:'msclkid']
|
|
188
236
|
end
|
|
@@ -259,6 +307,12 @@ module UltracartClient
|
|
|
259
307
|
fbclid == o.fbclid &&
|
|
260
308
|
gbraid == o.gbraid &&
|
|
261
309
|
glcid == o.glcid &&
|
|
310
|
+
itm_campaign == o.itm_campaign &&
|
|
311
|
+
itm_content == o.itm_content &&
|
|
312
|
+
itm_id == o.itm_id &&
|
|
313
|
+
itm_medium == o.itm_medium &&
|
|
314
|
+
itm_source == o.itm_source &&
|
|
315
|
+
itm_term == o.itm_term &&
|
|
262
316
|
msclkid == o.msclkid &&
|
|
263
317
|
ttclid == o.ttclid &&
|
|
264
318
|
uc_message_id == o.uc_message_id &&
|
|
@@ -281,7 +335,7 @@ module UltracartClient
|
|
|
281
335
|
# Calculates hash code according to all attributes.
|
|
282
336
|
# @return [Fixnum] Hash code
|
|
283
337
|
def hash
|
|
284
|
-
[attribution_first_click_subtotal, attribution_first_click_total, attribution_last_click_subtotal, attribution_last_click_total, attribution_linear_subtotal, attribution_linear_total, attribution_position_based_subtotal, attribution_position_based_total, click_dts, facebook_ad_id, fbclid, gbraid, glcid, msclkid, ttclid, uc_message_id, utm_campaign, utm_content, utm_id, utm_medium, utm_source, utm_term, vmcid, wbraid].hash
|
|
338
|
+
[attribution_first_click_subtotal, attribution_first_click_total, attribution_last_click_subtotal, attribution_last_click_total, attribution_linear_subtotal, attribution_linear_total, attribution_position_based_subtotal, attribution_position_based_total, click_dts, facebook_ad_id, fbclid, gbraid, glcid, itm_campaign, itm_content, itm_id, itm_medium, itm_source, itm_term, msclkid, ttclid, uc_message_id, utm_campaign, utm_content, utm_id, utm_medium, utm_source, utm_term, vmcid, wbraid].hash
|
|
285
339
|
end
|
|
286
340
|
|
|
287
341
|
# 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.10.
|
|
4
|
+
version: 3.10.199
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- UltraCart
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-05-
|
|
11
|
+
date: 2024-05-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|