ultracart_api 4.0.214 → 4.0.215
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/ChannelPartnerOrder.md +20 -0
- data/docs/ConversationPbxAudio.md +2 -0
- data/docs/OrderUtm.md +12 -0
- 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: 521074a5d1a6dfd7258769ecc711b401db9cb5143f60b2b4431b7c611b5319b6
|
4
|
+
data.tar.gz: 316beb1ac49bfdb9a0218808603b1477ca22173fee876a95642be0a66f46ab6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a32b0a4ea581e23941c3092a01665869759756b16a7b5bcf174dcd8f9f04667cefb6248b75416c91a15ace75328b57d0ea1f4e3dde9687706f934e089e9eff1
|
7
|
+
data.tar.gz: 7a36687d83a28ba2064ff07584efb048fb244e4fce17687724e7e6086bb49cb2edd8c8a39b5eaa7358e0752922ac1e4544cb2518f259a260c3abb7ecf2b25b1e
|
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.
|
10
|
+
- Package version: 4.0.215
|
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.
|
27
|
+
gem install ./ultracart_api-4.0.215.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./ultracart_api-4.0.
|
30
|
+
(for development, run `gem install --dev ./ultracart_api-4.0.215.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.
|
36
|
+
gem 'ultracart_api', '~> 4.0.215'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1513,6 +1513,7 @@ Not every change is committed to every SDK.
|
|
1513
1513
|
|
1514
1514
|
| Version | Date | Comments |
|
1515
1515
|
| --: | :-: | --- |
|
1516
|
+
| 4.0.215 | 05/08/2024 | added echeck fields to channel partner order import |
|
1516
1517
|
| 4.0.214 | 05/02/2024 | conversation - new method to load pbx audio usage |
|
1517
1518
|
| 4.0.213 | 05/02/2024 | autoorder - fields to record merge association and tstamp |
|
1518
1519
|
| 4.0.212 | 05/01/2024 | getConversationPbxAudioUploadUrl - fix the response obj def |
|
data/docs/ChannelPartnerOrder.md
CHANGED
@@ -43,6 +43,16 @@
|
|
43
43
|
| **custom_field6** | **String** | Custom field 6 | [optional] |
|
44
44
|
| **custom_field7** | **String** | Custom field 7 | [optional] |
|
45
45
|
| **delivery_date** | **String** | Date the customer is requesting delivery on. Typically used for perishable product delivery. | [optional] |
|
46
|
+
| **echeck_bank_aba_code** | **String** | eCheck bank ABA code | [optional] |
|
47
|
+
| **echeck_bank_account_name** | **String** | eCheck bank account name | [optional] |
|
48
|
+
| **echeck_bank_account_number** | **String** | eCheck bank account number | [optional] |
|
49
|
+
| **echeck_bank_account_type** | **String** | eCheck bank account type | [optional] |
|
50
|
+
| **echeck_bank_name** | **String** | eCheck bank name | [optional] |
|
51
|
+
| **echeck_bank_owner_type** | **String** | eCheck bank owner type | [optional] |
|
52
|
+
| **echeck_customer_tax_id** | **String** | eCheck customer tax id | [optional] |
|
53
|
+
| **echeck_drivers_license_dob** | **String** | eCheck drivers license dob | [optional] |
|
54
|
+
| **echeck_drivers_license_number** | **String** | eCheck drivers license number | [optional] |
|
55
|
+
| **echeck_drivers_license_state** | **String** | eCheck drivers license state | [optional] |
|
46
56
|
| **email** | **String** | Email | [optional] |
|
47
57
|
| **gift** | **Boolean** | True if this order is a gift | [optional] |
|
48
58
|
| **gift_email** | **String** | Email address of the gift recipient | [optional] |
|
@@ -131,6 +141,16 @@ instance = UltracartClient::ChannelPartnerOrder.new(
|
|
131
141
|
custom_field6: null,
|
132
142
|
custom_field7: null,
|
133
143
|
delivery_date: null,
|
144
|
+
echeck_bank_aba_code: null,
|
145
|
+
echeck_bank_account_name: null,
|
146
|
+
echeck_bank_account_number: null,
|
147
|
+
echeck_bank_account_type: null,
|
148
|
+
echeck_bank_name: null,
|
149
|
+
echeck_bank_owner_type: null,
|
150
|
+
echeck_customer_tax_id: null,
|
151
|
+
echeck_drivers_license_dob: null,
|
152
|
+
echeck_drivers_license_number: null,
|
153
|
+
echeck_drivers_license_state: null,
|
134
154
|
email: null,
|
135
155
|
gift: null,
|
136
156
|
gift_email: null,
|
@@ -11,6 +11,7 @@
|
|
11
11
|
| **filename** | **String** | Filename | [optional] |
|
12
12
|
| **merchant_id** | **String** | Merchant Id | [optional] |
|
13
13
|
| **mime_type** | **String** | Mime Type | [optional] |
|
14
|
+
| **url** | **String** | URL | [optional] |
|
14
15
|
| **user_id** | **Integer** | User Id | [optional] |
|
15
16
|
| **version** | **Integer** | Version | [optional] |
|
16
17
|
|
@@ -27,6 +28,7 @@ instance = UltracartClient::ConversationPbxAudio.new(
|
|
27
28
|
filename: null,
|
28
29
|
merchant_id: null,
|
29
30
|
mime_type: null,
|
31
|
+
url: null,
|
30
32
|
user_id: null,
|
31
33
|
version: null
|
32
34
|
)
|
data/docs/OrderUtm.md
CHANGED
@@ -17,6 +17,12 @@
|
|
17
17
|
| **fbclid** | **String** | | [optional] |
|
18
18
|
| **gbraid** | **String** | | [optional] |
|
19
19
|
| **glcid** | **String** | | [optional] |
|
20
|
+
| **itm_campaign** | **String** | | [optional] |
|
21
|
+
| **itm_content** | **String** | | [optional] |
|
22
|
+
| **itm_id** | **String** | | [optional] |
|
23
|
+
| **itm_medium** | **String** | | [optional] |
|
24
|
+
| **itm_source** | **String** | | [optional] |
|
25
|
+
| **itm_term** | **String** | | [optional] |
|
20
26
|
| **msclkid** | **String** | | [optional] |
|
21
27
|
| **ttclid** | **String** | | [optional] |
|
22
28
|
| **uc_message_id** | **String** | | [optional] |
|
@@ -48,6 +54,12 @@ instance = UltracartClient::OrderUtm.new(
|
|
48
54
|
fbclid: null,
|
49
55
|
gbraid: null,
|
50
56
|
glcid: null,
|
57
|
+
itm_campaign: null,
|
58
|
+
itm_content: null,
|
59
|
+
itm_id: null,
|
60
|
+
itm_medium: null,
|
61
|
+
itm_source: null,
|
62
|
+
itm_term: null,
|
51
63
|
msclkid: null,
|
52
64
|
ttclid: null,
|
53
65
|
uc_message_id: null,
|
@@ -132,6 +132,36 @@ module UltracartClient
|
|
132
132
|
# Date the customer is requesting delivery on. Typically used for perishable product delivery.
|
133
133
|
attr_accessor :delivery_date
|
134
134
|
|
135
|
+
# eCheck bank ABA code
|
136
|
+
attr_accessor :echeck_bank_aba_code
|
137
|
+
|
138
|
+
# eCheck bank account name
|
139
|
+
attr_accessor :echeck_bank_account_name
|
140
|
+
|
141
|
+
# eCheck bank account number
|
142
|
+
attr_accessor :echeck_bank_account_number
|
143
|
+
|
144
|
+
# eCheck bank account type
|
145
|
+
attr_accessor :echeck_bank_account_type
|
146
|
+
|
147
|
+
# eCheck bank name
|
148
|
+
attr_accessor :echeck_bank_name
|
149
|
+
|
150
|
+
# eCheck bank owner type
|
151
|
+
attr_accessor :echeck_bank_owner_type
|
152
|
+
|
153
|
+
# eCheck customer tax id
|
154
|
+
attr_accessor :echeck_customer_tax_id
|
155
|
+
|
156
|
+
# eCheck drivers license dob
|
157
|
+
attr_accessor :echeck_drivers_license_dob
|
158
|
+
|
159
|
+
# eCheck drivers license number
|
160
|
+
attr_accessor :echeck_drivers_license_number
|
161
|
+
|
162
|
+
# eCheck drivers license state
|
163
|
+
attr_accessor :echeck_drivers_license_state
|
164
|
+
|
135
165
|
# Email
|
136
166
|
attr_accessor :email
|
137
167
|
|
@@ -321,6 +351,16 @@ module UltracartClient
|
|
321
351
|
:'custom_field6' => :'custom_field6',
|
322
352
|
:'custom_field7' => :'custom_field7',
|
323
353
|
:'delivery_date' => :'delivery_date',
|
354
|
+
:'echeck_bank_aba_code' => :'echeck_bank_aba_code',
|
355
|
+
:'echeck_bank_account_name' => :'echeck_bank_account_name',
|
356
|
+
:'echeck_bank_account_number' => :'echeck_bank_account_number',
|
357
|
+
:'echeck_bank_account_type' => :'echeck_bank_account_type',
|
358
|
+
:'echeck_bank_name' => :'echeck_bank_name',
|
359
|
+
:'echeck_bank_owner_type' => :'echeck_bank_owner_type',
|
360
|
+
:'echeck_customer_tax_id' => :'echeck_customer_tax_id',
|
361
|
+
:'echeck_drivers_license_dob' => :'echeck_drivers_license_dob',
|
362
|
+
:'echeck_drivers_license_number' => :'echeck_drivers_license_number',
|
363
|
+
:'echeck_drivers_license_state' => :'echeck_drivers_license_state',
|
324
364
|
:'email' => :'email',
|
325
365
|
:'gift' => :'gift',
|
326
366
|
:'gift_email' => :'gift_email',
|
@@ -413,6 +453,16 @@ module UltracartClient
|
|
413
453
|
:'custom_field6' => :'String',
|
414
454
|
:'custom_field7' => :'String',
|
415
455
|
:'delivery_date' => :'String',
|
456
|
+
:'echeck_bank_aba_code' => :'String',
|
457
|
+
:'echeck_bank_account_name' => :'String',
|
458
|
+
:'echeck_bank_account_number' => :'String',
|
459
|
+
:'echeck_bank_account_type' => :'String',
|
460
|
+
:'echeck_bank_name' => :'String',
|
461
|
+
:'echeck_bank_owner_type' => :'String',
|
462
|
+
:'echeck_customer_tax_id' => :'String',
|
463
|
+
:'echeck_drivers_license_dob' => :'String',
|
464
|
+
:'echeck_drivers_license_number' => :'String',
|
465
|
+
:'echeck_drivers_license_state' => :'String',
|
416
466
|
:'email' => :'String',
|
417
467
|
:'gift' => :'Boolean',
|
418
468
|
:'gift_email' => :'String',
|
@@ -637,6 +687,46 @@ module UltracartClient
|
|
637
687
|
self.delivery_date = attributes[:'delivery_date']
|
638
688
|
end
|
639
689
|
|
690
|
+
if attributes.key?(:'echeck_bank_aba_code')
|
691
|
+
self.echeck_bank_aba_code = attributes[:'echeck_bank_aba_code']
|
692
|
+
end
|
693
|
+
|
694
|
+
if attributes.key?(:'echeck_bank_account_name')
|
695
|
+
self.echeck_bank_account_name = attributes[:'echeck_bank_account_name']
|
696
|
+
end
|
697
|
+
|
698
|
+
if attributes.key?(:'echeck_bank_account_number')
|
699
|
+
self.echeck_bank_account_number = attributes[:'echeck_bank_account_number']
|
700
|
+
end
|
701
|
+
|
702
|
+
if attributes.key?(:'echeck_bank_account_type')
|
703
|
+
self.echeck_bank_account_type = attributes[:'echeck_bank_account_type']
|
704
|
+
end
|
705
|
+
|
706
|
+
if attributes.key?(:'echeck_bank_name')
|
707
|
+
self.echeck_bank_name = attributes[:'echeck_bank_name']
|
708
|
+
end
|
709
|
+
|
710
|
+
if attributes.key?(:'echeck_bank_owner_type')
|
711
|
+
self.echeck_bank_owner_type = attributes[:'echeck_bank_owner_type']
|
712
|
+
end
|
713
|
+
|
714
|
+
if attributes.key?(:'echeck_customer_tax_id')
|
715
|
+
self.echeck_customer_tax_id = attributes[:'echeck_customer_tax_id']
|
716
|
+
end
|
717
|
+
|
718
|
+
if attributes.key?(:'echeck_drivers_license_dob')
|
719
|
+
self.echeck_drivers_license_dob = attributes[:'echeck_drivers_license_dob']
|
720
|
+
end
|
721
|
+
|
722
|
+
if attributes.key?(:'echeck_drivers_license_number')
|
723
|
+
self.echeck_drivers_license_number = attributes[:'echeck_drivers_license_number']
|
724
|
+
end
|
725
|
+
|
726
|
+
if attributes.key?(:'echeck_drivers_license_state')
|
727
|
+
self.echeck_drivers_license_state = attributes[:'echeck_drivers_license_state']
|
728
|
+
end
|
729
|
+
|
640
730
|
if attributes.key?(:'email')
|
641
731
|
self.email = attributes[:'email']
|
642
732
|
end
|
@@ -988,10 +1078,14 @@ module UltracartClient
|
|
988
1078
|
return false if !@custom_field5.nil? && @custom_field5.to_s.length > 75
|
989
1079
|
return false if !@custom_field6.nil? && @custom_field6.to_s.length > 50
|
990
1080
|
return false if !@custom_field7.nil? && @custom_field7.to_s.length > 50
|
1081
|
+
echeck_bank_account_type_validator = EnumAttributeValidator.new('String', ["Checking", "Savings"])
|
1082
|
+
return false unless echeck_bank_account_type_validator.valid?(@echeck_bank_account_type)
|
1083
|
+
echeck_bank_owner_type_validator = EnumAttributeValidator.new('String', ["Business", "Personal"])
|
1084
|
+
return false unless echeck_bank_owner_type_validator.valid?(@echeck_bank_owner_type)
|
991
1085
|
return false if !@email.nil? && @email.to_s.length > 100
|
992
1086
|
return false if !@gift_email.nil? && @gift_email.to_s.length > 100
|
993
1087
|
return false if !@gift_message.nil? && @gift_message.to_s.length > 10000
|
994
|
-
payment_method_validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Check", "COD", "Credit Card", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Wire Transfer"])
|
1088
|
+
payment_method_validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Check", "COD", "Credit Card", "eCheck", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Wire Transfer"])
|
995
1089
|
return false unless payment_method_validator.valid?(@payment_method)
|
996
1090
|
return false if !@screen_branding_theme_code.nil? && @screen_branding_theme_code.to_s.length > 10
|
997
1091
|
return false if !@shipto_address1.nil? && @shipto_address1.to_s.length > 50
|
@@ -1210,6 +1304,26 @@ module UltracartClient
|
|
1210
1304
|
@custom_field7 = custom_field7
|
1211
1305
|
end
|
1212
1306
|
|
1307
|
+
# Custom attribute writer method checking allowed values (enum).
|
1308
|
+
# @param [Object] echeck_bank_account_type Object to be assigned
|
1309
|
+
def echeck_bank_account_type=(echeck_bank_account_type)
|
1310
|
+
validator = EnumAttributeValidator.new('String', ["Checking", "Savings"])
|
1311
|
+
unless validator.valid?(echeck_bank_account_type)
|
1312
|
+
fail ArgumentError, "invalid value for \"echeck_bank_account_type\", must be one of #{validator.allowable_values}."
|
1313
|
+
end
|
1314
|
+
@echeck_bank_account_type = echeck_bank_account_type
|
1315
|
+
end
|
1316
|
+
|
1317
|
+
# Custom attribute writer method checking allowed values (enum).
|
1318
|
+
# @param [Object] echeck_bank_owner_type Object to be assigned
|
1319
|
+
def echeck_bank_owner_type=(echeck_bank_owner_type)
|
1320
|
+
validator = EnumAttributeValidator.new('String', ["Business", "Personal"])
|
1321
|
+
unless validator.valid?(echeck_bank_owner_type)
|
1322
|
+
fail ArgumentError, "invalid value for \"echeck_bank_owner_type\", must be one of #{validator.allowable_values}."
|
1323
|
+
end
|
1324
|
+
@echeck_bank_owner_type = echeck_bank_owner_type
|
1325
|
+
end
|
1326
|
+
|
1213
1327
|
# Custom attribute writer method with validation
|
1214
1328
|
# @param [Object] email Value to be assigned
|
1215
1329
|
def email=(email)
|
@@ -1243,7 +1357,7 @@ module UltracartClient
|
|
1243
1357
|
# Custom attribute writer method checking allowed values (enum).
|
1244
1358
|
# @param [Object] payment_method Object to be assigned
|
1245
1359
|
def payment_method=(payment_method)
|
1246
|
-
validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Check", "COD", "Credit Card", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Wire Transfer"])
|
1360
|
+
validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Check", "COD", "Credit Card", "eCheck", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Wire Transfer"])
|
1247
1361
|
unless validator.valid?(payment_method)
|
1248
1362
|
fail ArgumentError, "invalid value for \"payment_method\", must be one of #{validator.allowable_values}."
|
1249
1363
|
end
|
@@ -1434,6 +1548,16 @@ module UltracartClient
|
|
1434
1548
|
custom_field6 == o.custom_field6 &&
|
1435
1549
|
custom_field7 == o.custom_field7 &&
|
1436
1550
|
delivery_date == o.delivery_date &&
|
1551
|
+
echeck_bank_aba_code == o.echeck_bank_aba_code &&
|
1552
|
+
echeck_bank_account_name == o.echeck_bank_account_name &&
|
1553
|
+
echeck_bank_account_number == o.echeck_bank_account_number &&
|
1554
|
+
echeck_bank_account_type == o.echeck_bank_account_type &&
|
1555
|
+
echeck_bank_name == o.echeck_bank_name &&
|
1556
|
+
echeck_bank_owner_type == o.echeck_bank_owner_type &&
|
1557
|
+
echeck_customer_tax_id == o.echeck_customer_tax_id &&
|
1558
|
+
echeck_drivers_license_dob == o.echeck_drivers_license_dob &&
|
1559
|
+
echeck_drivers_license_number == o.echeck_drivers_license_number &&
|
1560
|
+
echeck_drivers_license_state == o.echeck_drivers_license_state &&
|
1437
1561
|
email == o.email &&
|
1438
1562
|
gift == o.gift &&
|
1439
1563
|
gift_email == o.gift_email &&
|
@@ -1487,7 +1611,7 @@ module UltracartClient
|
|
1487
1611
|
# Calculates hash code according to all attributes.
|
1488
1612
|
# @return [Integer] Hash code
|
1489
1613
|
def hash
|
1490
|
-
[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
|
1614
|
+
[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
|
1491
1615
|
end
|
1492
1616
|
|
1493
1617
|
# Builds the object from hash
|
@@ -36,6 +36,9 @@ module UltracartClient
|
|
36
36
|
# Mime Type
|
37
37
|
attr_accessor :mime_type
|
38
38
|
|
39
|
+
# URL
|
40
|
+
attr_accessor :url
|
41
|
+
|
39
42
|
# User Id
|
40
43
|
attr_accessor :user_id
|
41
44
|
|
@@ -52,6 +55,7 @@ module UltracartClient
|
|
52
55
|
:'filename' => :'filename',
|
53
56
|
:'merchant_id' => :'merchant_id',
|
54
57
|
:'mime_type' => :'mime_type',
|
58
|
+
:'url' => :'url',
|
55
59
|
:'user_id' => :'user_id',
|
56
60
|
:'version' => :'version'
|
57
61
|
}
|
@@ -72,6 +76,7 @@ module UltracartClient
|
|
72
76
|
:'filename' => :'String',
|
73
77
|
:'merchant_id' => :'String',
|
74
78
|
:'mime_type' => :'String',
|
79
|
+
:'url' => :'String',
|
75
80
|
:'user_id' => :'Integer',
|
76
81
|
:'version' => :'Integer'
|
77
82
|
}
|
@@ -126,6 +131,10 @@ module UltracartClient
|
|
126
131
|
self.mime_type = attributes[:'mime_type']
|
127
132
|
end
|
128
133
|
|
134
|
+
if attributes.key?(:'url')
|
135
|
+
self.url = attributes[:'url']
|
136
|
+
end
|
137
|
+
|
129
138
|
if attributes.key?(:'user_id')
|
130
139
|
self.user_id = attributes[:'user_id']
|
131
140
|
end
|
@@ -250,6 +259,7 @@ module UltracartClient
|
|
250
259
|
filename == o.filename &&
|
251
260
|
merchant_id == o.merchant_id &&
|
252
261
|
mime_type == o.mime_type &&
|
262
|
+
url == o.url &&
|
253
263
|
user_id == o.user_id &&
|
254
264
|
version == o.version
|
255
265
|
end
|
@@ -263,7 +273,7 @@ module UltracartClient
|
|
263
273
|
# Calculates hash code according to all attributes.
|
264
274
|
# @return [Integer] Hash code
|
265
275
|
def hash
|
266
|
-
[audio_s3_listing_key, conversation_pbx_audio_uuid, default_hold_music, description, filename, merchant_id, mime_type, user_id, version].hash
|
276
|
+
[audio_s3_listing_key, conversation_pbx_audio_uuid, default_hold_music, description, filename, merchant_id, mime_type, url, user_id, version].hash
|
267
277
|
end
|
268
278
|
|
269
279
|
# Builds the object from hash
|
@@ -42,6 +42,18 @@ module UltracartClient
|
|
42
42
|
|
43
43
|
attr_accessor :glcid
|
44
44
|
|
45
|
+
attr_accessor :itm_campaign
|
46
|
+
|
47
|
+
attr_accessor :itm_content
|
48
|
+
|
49
|
+
attr_accessor :itm_id
|
50
|
+
|
51
|
+
attr_accessor :itm_medium
|
52
|
+
|
53
|
+
attr_accessor :itm_source
|
54
|
+
|
55
|
+
attr_accessor :itm_term
|
56
|
+
|
45
57
|
attr_accessor :msclkid
|
46
58
|
|
47
59
|
attr_accessor :ttclid
|
@@ -80,6 +92,12 @@ module UltracartClient
|
|
80
92
|
:'fbclid' => :'fbclid',
|
81
93
|
:'gbraid' => :'gbraid',
|
82
94
|
:'glcid' => :'glcid',
|
95
|
+
:'itm_campaign' => :'itm_campaign',
|
96
|
+
:'itm_content' => :'itm_content',
|
97
|
+
:'itm_id' => :'itm_id',
|
98
|
+
:'itm_medium' => :'itm_medium',
|
99
|
+
:'itm_source' => :'itm_source',
|
100
|
+
:'itm_term' => :'itm_term',
|
83
101
|
:'msclkid' => :'msclkid',
|
84
102
|
:'ttclid' => :'ttclid',
|
85
103
|
:'uc_message_id' => :'uc_message_id',
|
@@ -115,6 +133,12 @@ module UltracartClient
|
|
115
133
|
:'fbclid' => :'String',
|
116
134
|
:'gbraid' => :'String',
|
117
135
|
:'glcid' => :'String',
|
136
|
+
:'itm_campaign' => :'String',
|
137
|
+
:'itm_content' => :'String',
|
138
|
+
:'itm_id' => :'String',
|
139
|
+
:'itm_medium' => :'String',
|
140
|
+
:'itm_source' => :'String',
|
141
|
+
:'itm_term' => :'String',
|
118
142
|
:'msclkid' => :'String',
|
119
143
|
:'ttclid' => :'String',
|
120
144
|
:'uc_message_id' => :'String',
|
@@ -202,6 +226,30 @@ module UltracartClient
|
|
202
226
|
self.glcid = attributes[:'glcid']
|
203
227
|
end
|
204
228
|
|
229
|
+
if attributes.key?(:'itm_campaign')
|
230
|
+
self.itm_campaign = attributes[:'itm_campaign']
|
231
|
+
end
|
232
|
+
|
233
|
+
if attributes.key?(:'itm_content')
|
234
|
+
self.itm_content = attributes[:'itm_content']
|
235
|
+
end
|
236
|
+
|
237
|
+
if attributes.key?(:'itm_id')
|
238
|
+
self.itm_id = attributes[:'itm_id']
|
239
|
+
end
|
240
|
+
|
241
|
+
if attributes.key?(:'itm_medium')
|
242
|
+
self.itm_medium = attributes[:'itm_medium']
|
243
|
+
end
|
244
|
+
|
245
|
+
if attributes.key?(:'itm_source')
|
246
|
+
self.itm_source = attributes[:'itm_source']
|
247
|
+
end
|
248
|
+
|
249
|
+
if attributes.key?(:'itm_term')
|
250
|
+
self.itm_term = attributes[:'itm_term']
|
251
|
+
end
|
252
|
+
|
205
253
|
if attributes.key?(:'msclkid')
|
206
254
|
self.msclkid = attributes[:'msclkid']
|
207
255
|
end
|
@@ -278,6 +326,12 @@ module UltracartClient
|
|
278
326
|
fbclid == o.fbclid &&
|
279
327
|
gbraid == o.gbraid &&
|
280
328
|
glcid == o.glcid &&
|
329
|
+
itm_campaign == o.itm_campaign &&
|
330
|
+
itm_content == o.itm_content &&
|
331
|
+
itm_id == o.itm_id &&
|
332
|
+
itm_medium == o.itm_medium &&
|
333
|
+
itm_source == o.itm_source &&
|
334
|
+
itm_term == o.itm_term &&
|
281
335
|
msclkid == o.msclkid &&
|
282
336
|
ttclid == o.ttclid &&
|
283
337
|
uc_message_id == o.uc_message_id &&
|
@@ -300,7 +354,7 @@ module UltracartClient
|
|
300
354
|
# Calculates hash code according to all attributes.
|
301
355
|
# @return [Integer] Hash code
|
302
356
|
def hash
|
303
|
-
[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
|
357
|
+
[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
|
304
358
|
end
|
305
359
|
|
306
360
|
# 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: 4.0.
|
4
|
+
version: 4.0.215
|
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-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|