ultracart_api 3.10.181 → 3.10.183
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/docs/ConversationAgentAuth.md +4 -0
- data/docs/CouponAmountOffItems.md +1 -0
- data/docs/CouponBuyOneGetOneLimit.md +1 -0
- data/docs/CouponDiscountItemWithItemPurchase.md +2 -0
- data/docs/CouponFreeItemWithItemPurchase.md +2 -0
- data/docs/CouponPercentOffItemsWithItemsPurchase.md +2 -0
- data/docs/OrderQuery.md +3 -0
- data/docs/Twilio.md +9 -0
- data/lib/ultracart_api/models/conversation_agent_auth.rb +37 -1
- data/lib/ultracart_api/models/coupon_amount_off_items.rb +13 -1
- data/lib/ultracart_api/models/coupon_buy_one_get_one_limit.rb +13 -1
- data/lib/ultracart_api/models/coupon_discount_item_with_item_purchase.rb +28 -4
- data/lib/ultracart_api/models/coupon_free_item_with_item_purchase.rb +28 -4
- data/lib/ultracart_api/models/coupon_percent_off_items_with_items_purchase.rb +28 -4
- data/lib/ultracart_api/models/order_query.rb +31 -1
- data/lib/ultracart_api/models/twilio.rb +85 -4
- 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: 81f310499fb963d5d9c5af3926c4acb4f178f90fcfe909bac74e66f2a4eae5bd
|
4
|
+
data.tar.gz: 4114b3b40507807ab8d059042f638bdd9a7e17256ffc345b4be8e1a28eef8c6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5e16e4ceaaa31e70838a712e5352fb2efc5f69caad8fcecc191bed6ed3194006549ed7efc43605576552a4807d1eb3a48da05d776991f91ae059c90a2c60c21
|
7
|
+
data.tar.gz: be083ee5966d4dc959f6b2ac8f24ba7c4849a7f7e86fc7df5a48e7322d58579a259a463bd7b13e9feb3413c74d0d501e8f2fd68b98c7e3462297912b28389bc4
|
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.183
|
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.183.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.183.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.183'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1398,6 +1398,8 @@ Not every change is committed to every SDK.
|
|
1398
1398
|
|
1399
1399
|
| Version | Date | Comments |
|
1400
1400
|
| --: | :-: | --- |
|
1401
|
+
| 3.10.183 | 02/20/2024 | Add tag support to CouponAmountOffItems, CouponBuyOneGetOneLimit, CouponDiscountItemWithItemPurchase, CouponFreeItemWithItemPurchase, CouponPercentOffItemsWithItemsPurchase |
|
1402
|
+
| 3.10.182 | 01/16/2024 | order query - support searching by custom fields 8 through 10 |
|
1401
1403
|
| 3.10.181 | 01/12/2024 | workflow task - add properties array |
|
1402
1404
|
| 3.10.180 | 01/10/2024 | workflow tasks - support for searching by tags |
|
1403
1405
|
| 3.10.179 | 01/10/2024 | workflow task - add uuids of related tasks and tags |
|
@@ -7,6 +7,10 @@ Name | Type | Description | Notes
|
|
7
7
|
**conversation_participant_name** | **String** | | [optional]
|
8
8
|
**jwt** | **String** | | [optional]
|
9
9
|
**merchant_id** | **String** | | [optional]
|
10
|
+
**pbx_jwt** | **String** | | [optional]
|
11
|
+
**pbx_voice_identity** | **String** | | [optional]
|
12
|
+
**pbx_voice_token** | **String** | | [optional]
|
13
|
+
**pbx_worker_token** | **String** | | [optional]
|
10
14
|
**twilio_accounts** | [**Array<ConversationTwilioAccount>**](ConversationTwilioAccount.md) | | [optional]
|
11
15
|
**websocket_url** | **String** | | [optional]
|
12
16
|
|
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**currency_code** | **String** | The ISO-4217 three letter currency code the customer is viewing prices in | [optional]
|
7
7
|
**discount_amount** | **Float** | The amount of shipping discount | [optional]
|
8
|
+
**item_tags** | **Array<String>** | An optional list of item tags which will receive a discount. | [optional]
|
8
9
|
**items** | **Array<String>** | A list of items which are eligible for the discount amount. | [optional]
|
9
10
|
**limit** | **Integer** | The limit of items which are eligible for the discount amount. | [optional]
|
10
11
|
|
@@ -3,6 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
+
**item_tags** | **Array<String>** | An optional list of item tags which will receive a discount. | [optional]
|
6
7
|
**items** | **Array<String>** | An optional list of items of which one must be purchased to receive free quantity of the same item. | [optional]
|
7
8
|
**limit** | **Integer** | The limit of free items that may be received when purchasing multiple items | [optional]
|
8
9
|
|
@@ -5,8 +5,10 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**currency_code** | **String** | The ISO-4217 three letter currency code the customer is viewing prices in | [optional]
|
7
7
|
**discount_item** | **String** | The item that will be sold at the discount_price when required_purchase_item is purchased. | [optional]
|
8
|
+
**discount_item_tags** | **Array<String>** | An optional list of item tags which will receive a discount of one of the required purchased items is purchased. | [optional]
|
8
9
|
**discount_price** | **Float** | The price (unit cost) of the discounted item | [optional]
|
9
10
|
**limit** | **Integer** | The (optional) maximum quantity of discounted items. | [optional]
|
10
11
|
**required_purchase_item** | **String** | The item that must be purchased for the discount to be applied to the discount item. | [optional]
|
12
|
+
**required_purchase_items_tags** | **Array<String>** | An optional list of item tags which are required to be purchased. | [optional]
|
11
13
|
|
12
14
|
|
@@ -3,9 +3,11 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
+
**item_tags** | **Array<String>** | An optional list of item tags which will receive a discount of one of the required purchased items is purchased. | [optional]
|
6
7
|
**items** | **Array<String>** | A list of free items which will receive a discount if one of the required purchase items is purchased. | [optional]
|
7
8
|
**limit** | **Integer** | The (optional) maximum quantity of discounted items. | [optional]
|
8
9
|
**match_required_purchase_item_to_free_item** | **BOOLEAN** | If true then the free item is matched 1:1 with the free item in the list. | [optional]
|
9
10
|
**required_purchase_items** | **Array<String>** | Required items (at least one from the list) that must be purchased for coupon to be valid | [optional]
|
11
|
+
**required_purchase_items_tags** | **Array<String>** | An optional list of item tags which are required to be purchased. | [optional]
|
10
12
|
|
11
13
|
|
@@ -4,8 +4,10 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**discount_percent** | **Float** | The percentage of subtotal discount | [optional]
|
7
|
+
**item_tags** | **Array<String>** | An optional list of item tags which will receive a discount of one of the required purchased items is purchased. | [optional]
|
7
8
|
**items** | **Array<String>** | A list of items which will receive a discount if one of the required purchase items is purchased. | [optional]
|
8
9
|
**limit** | **Integer** | The (optional) maximum quantity of discounted items. | [optional]
|
9
10
|
**required_purchase_items** | **Array<String>** | Required items (at least one from the list) that must be purchased for coupon to be valid | [optional]
|
11
|
+
**required_purchase_items_tags** | **Array<String>** | An optional list of item tags which are required to be purchased. | [optional]
|
10
12
|
|
11
13
|
|
data/docs/OrderQuery.md
CHANGED
@@ -13,12 +13,15 @@ Name | Type | Description | Notes
|
|
13
13
|
**creation_date_end** | **String** | Date/time that the order was created | [optional]
|
14
14
|
**current_stage** | **String** | Current stage that the order is in. | [optional]
|
15
15
|
**custom_field_1** | **String** | Custom field 1 | [optional]
|
16
|
+
**custom_field_10** | **String** | Custom field 10 | [optional]
|
16
17
|
**custom_field_2** | **String** | Custom field 2 | [optional]
|
17
18
|
**custom_field_3** | **String** | Custom field 3 | [optional]
|
18
19
|
**custom_field_4** | **String** | Custom field 4 | [optional]
|
19
20
|
**custom_field_5** | **String** | Custom field 5 | [optional]
|
20
21
|
**custom_field_6** | **String** | Custom field 6 | [optional]
|
21
22
|
**custom_field_7** | **String** | Custom field 7 | [optional]
|
23
|
+
**custom_field_8** | **String** | Custom field 8 | [optional]
|
24
|
+
**custom_field_9** | **String** | Custom field 9 | [optional]
|
22
25
|
**customer_profile_oid** | **Integer** | The customer profile to find associated orders for | [optional]
|
23
26
|
**email** | **String** | Email | [optional]
|
24
27
|
**first_name** | **String** | First name | [optional]
|
data/docs/Twilio.md
CHANGED
@@ -4,8 +4,17 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**account_sid** | **String** | | [optional]
|
7
|
+
**api_key_id** | **String** | | [optional]
|
8
|
+
**api_key_name** | **String** | | [optional]
|
9
|
+
**api_key_secret** | **String** | | [optional]
|
7
10
|
**auth_token** | **String** | | [optional]
|
8
11
|
**esp_twilio_uuid** | **String** | | [optional]
|
12
|
+
**inbound_twiml_app_sid** | **String** | | [optional]
|
13
|
+
**outbound_twiml_app_sid** | **String** | | [optional]
|
9
14
|
**phone_numbers** | **Array<String>** | | [optional]
|
15
|
+
**private_key_pem** | **String** | | [optional]
|
16
|
+
**public_key_pem** | **String** | | [optional]
|
17
|
+
**public_key_sid** | **String** | | [optional]
|
18
|
+
**twilio_workspace_sid** | **String** | | [optional]
|
10
19
|
|
11
20
|
|
@@ -22,6 +22,14 @@ module UltracartClient
|
|
22
22
|
|
23
23
|
attr_accessor :merchant_id
|
24
24
|
|
25
|
+
attr_accessor :pbx_jwt
|
26
|
+
|
27
|
+
attr_accessor :pbx_voice_identity
|
28
|
+
|
29
|
+
attr_accessor :pbx_voice_token
|
30
|
+
|
31
|
+
attr_accessor :pbx_worker_token
|
32
|
+
|
25
33
|
attr_accessor :twilio_accounts
|
26
34
|
|
27
35
|
attr_accessor :websocket_url
|
@@ -33,6 +41,10 @@ module UltracartClient
|
|
33
41
|
:'conversation_participant_name' => :'conversation_participant_name',
|
34
42
|
:'jwt' => :'jwt',
|
35
43
|
:'merchant_id' => :'merchant_id',
|
44
|
+
:'pbx_jwt' => :'pbx_jwt',
|
45
|
+
:'pbx_voice_identity' => :'pbx_voice_identity',
|
46
|
+
:'pbx_voice_token' => :'pbx_voice_token',
|
47
|
+
:'pbx_worker_token' => :'pbx_worker_token',
|
36
48
|
:'twilio_accounts' => :'twilio_accounts',
|
37
49
|
:'websocket_url' => :'websocket_url'
|
38
50
|
}
|
@@ -45,6 +57,10 @@ module UltracartClient
|
|
45
57
|
:'conversation_participant_name' => :'String',
|
46
58
|
:'jwt' => :'String',
|
47
59
|
:'merchant_id' => :'String',
|
60
|
+
:'pbx_jwt' => :'String',
|
61
|
+
:'pbx_voice_identity' => :'String',
|
62
|
+
:'pbx_voice_token' => :'String',
|
63
|
+
:'pbx_worker_token' => :'String',
|
48
64
|
:'twilio_accounts' => :'Array<ConversationTwilioAccount>',
|
49
65
|
:'websocket_url' => :'String'
|
50
66
|
}
|
@@ -74,6 +90,22 @@ module UltracartClient
|
|
74
90
|
self.merchant_id = attributes[:'merchant_id']
|
75
91
|
end
|
76
92
|
|
93
|
+
if attributes.has_key?(:'pbx_jwt')
|
94
|
+
self.pbx_jwt = attributes[:'pbx_jwt']
|
95
|
+
end
|
96
|
+
|
97
|
+
if attributes.has_key?(:'pbx_voice_identity')
|
98
|
+
self.pbx_voice_identity = attributes[:'pbx_voice_identity']
|
99
|
+
end
|
100
|
+
|
101
|
+
if attributes.has_key?(:'pbx_voice_token')
|
102
|
+
self.pbx_voice_token = attributes[:'pbx_voice_token']
|
103
|
+
end
|
104
|
+
|
105
|
+
if attributes.has_key?(:'pbx_worker_token')
|
106
|
+
self.pbx_worker_token = attributes[:'pbx_worker_token']
|
107
|
+
end
|
108
|
+
|
77
109
|
if attributes.has_key?(:'twilio_accounts')
|
78
110
|
if (value = attributes[:'twilio_accounts']).is_a?(Array)
|
79
111
|
self.twilio_accounts = value
|
@@ -107,6 +139,10 @@ module UltracartClient
|
|
107
139
|
conversation_participant_name == o.conversation_participant_name &&
|
108
140
|
jwt == o.jwt &&
|
109
141
|
merchant_id == o.merchant_id &&
|
142
|
+
pbx_jwt == o.pbx_jwt &&
|
143
|
+
pbx_voice_identity == o.pbx_voice_identity &&
|
144
|
+
pbx_voice_token == o.pbx_voice_token &&
|
145
|
+
pbx_worker_token == o.pbx_worker_token &&
|
110
146
|
twilio_accounts == o.twilio_accounts &&
|
111
147
|
websocket_url == o.websocket_url
|
112
148
|
end
|
@@ -120,7 +156,7 @@ module UltracartClient
|
|
120
156
|
# Calculates hash code according to all attributes.
|
121
157
|
# @return [Fixnum] Hash code
|
122
158
|
def hash
|
123
|
-
[conversation_participant_arn, conversation_participant_name, jwt, merchant_id, twilio_accounts, websocket_url].hash
|
159
|
+
[conversation_participant_arn, conversation_participant_name, jwt, merchant_id, pbx_jwt, pbx_voice_identity, pbx_voice_token, pbx_worker_token, twilio_accounts, websocket_url].hash
|
124
160
|
end
|
125
161
|
|
126
162
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module UltracartClient
|
|
20
20
|
# The amount of shipping discount
|
21
21
|
attr_accessor :discount_amount
|
22
22
|
|
23
|
+
# An optional list of item tags which will receive a discount.
|
24
|
+
attr_accessor :item_tags
|
25
|
+
|
23
26
|
# A list of items which are eligible for the discount amount.
|
24
27
|
attr_accessor :items
|
25
28
|
|
@@ -31,6 +34,7 @@ module UltracartClient
|
|
31
34
|
{
|
32
35
|
:'currency_code' => :'currency_code',
|
33
36
|
:'discount_amount' => :'discount_amount',
|
37
|
+
:'item_tags' => :'item_tags',
|
34
38
|
:'items' => :'items',
|
35
39
|
:'limit' => :'limit'
|
36
40
|
}
|
@@ -41,6 +45,7 @@ module UltracartClient
|
|
41
45
|
{
|
42
46
|
:'currency_code' => :'String',
|
43
47
|
:'discount_amount' => :'Float',
|
48
|
+
:'item_tags' => :'Array<String>',
|
44
49
|
:'items' => :'Array<String>',
|
45
50
|
:'limit' => :'Integer'
|
46
51
|
}
|
@@ -62,6 +67,12 @@ module UltracartClient
|
|
62
67
|
self.discount_amount = attributes[:'discount_amount']
|
63
68
|
end
|
64
69
|
|
70
|
+
if attributes.has_key?(:'item_tags')
|
71
|
+
if (value = attributes[:'item_tags']).is_a?(Array)
|
72
|
+
self.item_tags = value
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
65
76
|
if attributes.has_key?(:'items')
|
66
77
|
if (value = attributes[:'items']).is_a?(Array)
|
67
78
|
self.items = value
|
@@ -108,6 +119,7 @@ module UltracartClient
|
|
108
119
|
self.class == o.class &&
|
109
120
|
currency_code == o.currency_code &&
|
110
121
|
discount_amount == o.discount_amount &&
|
122
|
+
item_tags == o.item_tags &&
|
111
123
|
items == o.items &&
|
112
124
|
limit == o.limit
|
113
125
|
end
|
@@ -121,7 +133,7 @@ module UltracartClient
|
|
121
133
|
# Calculates hash code according to all attributes.
|
122
134
|
# @return [Fixnum] Hash code
|
123
135
|
def hash
|
124
|
-
[currency_code, discount_amount, items, limit].hash
|
136
|
+
[currency_code, discount_amount, item_tags, items, limit].hash
|
125
137
|
end
|
126
138
|
|
127
139
|
# Builds the object from hash
|
@@ -14,6 +14,9 @@ require 'date'
|
|
14
14
|
|
15
15
|
module UltracartClient
|
16
16
|
class CouponBuyOneGetOneLimit
|
17
|
+
# An optional list of item tags which will receive a discount.
|
18
|
+
attr_accessor :item_tags
|
19
|
+
|
17
20
|
# An optional list of items of which one must be purchased to receive free quantity of the same item.
|
18
21
|
attr_accessor :items
|
19
22
|
|
@@ -23,6 +26,7 @@ module UltracartClient
|
|
23
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
27
|
def self.attribute_map
|
25
28
|
{
|
29
|
+
:'item_tags' => :'item_tags',
|
26
30
|
:'items' => :'items',
|
27
31
|
:'limit' => :'limit'
|
28
32
|
}
|
@@ -31,6 +35,7 @@ module UltracartClient
|
|
31
35
|
# Attribute type mapping.
|
32
36
|
def self.swagger_types
|
33
37
|
{
|
38
|
+
:'item_tags' => :'Array<String>',
|
34
39
|
:'items' => :'Array<String>',
|
35
40
|
:'limit' => :'Integer'
|
36
41
|
}
|
@@ -44,6 +49,12 @@ module UltracartClient
|
|
44
49
|
# convert string to symbol for hash key
|
45
50
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
46
51
|
|
52
|
+
if attributes.has_key?(:'item_tags')
|
53
|
+
if (value = attributes[:'item_tags']).is_a?(Array)
|
54
|
+
self.item_tags = value
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
47
58
|
if attributes.has_key?(:'items')
|
48
59
|
if (value = attributes[:'items']).is_a?(Array)
|
49
60
|
self.items = value
|
@@ -73,6 +84,7 @@ module UltracartClient
|
|
73
84
|
def ==(o)
|
74
85
|
return true if self.equal?(o)
|
75
86
|
self.class == o.class &&
|
87
|
+
item_tags == o.item_tags &&
|
76
88
|
items == o.items &&
|
77
89
|
limit == o.limit
|
78
90
|
end
|
@@ -86,7 +98,7 @@ module UltracartClient
|
|
86
98
|
# Calculates hash code according to all attributes.
|
87
99
|
# @return [Fixnum] Hash code
|
88
100
|
def hash
|
89
|
-
[items, limit].hash
|
101
|
+
[item_tags, items, limit].hash
|
90
102
|
end
|
91
103
|
|
92
104
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module UltracartClient
|
|
20
20
|
# The item that will be sold at the discount_price when required_purchase_item is purchased.
|
21
21
|
attr_accessor :discount_item
|
22
22
|
|
23
|
+
# An optional list of item tags which will receive a discount of one of the required purchased items is purchased.
|
24
|
+
attr_accessor :discount_item_tags
|
25
|
+
|
23
26
|
# The price (unit cost) of the discounted item
|
24
27
|
attr_accessor :discount_price
|
25
28
|
|
@@ -29,14 +32,19 @@ module UltracartClient
|
|
29
32
|
# The item that must be purchased for the discount to be applied to the discount item.
|
30
33
|
attr_accessor :required_purchase_item
|
31
34
|
|
35
|
+
# An optional list of item tags which are required to be purchased.
|
36
|
+
attr_accessor :required_purchase_items_tags
|
37
|
+
|
32
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
39
|
def self.attribute_map
|
34
40
|
{
|
35
41
|
:'currency_code' => :'currency_code',
|
36
42
|
:'discount_item' => :'discount_item',
|
43
|
+
:'discount_item_tags' => :'discount_item_tags',
|
37
44
|
:'discount_price' => :'discount_price',
|
38
45
|
:'limit' => :'limit',
|
39
|
-
:'required_purchase_item' => :'required_purchase_item'
|
46
|
+
:'required_purchase_item' => :'required_purchase_item',
|
47
|
+
:'required_purchase_items_tags' => :'required_purchase_items_tags'
|
40
48
|
}
|
41
49
|
end
|
42
50
|
|
@@ -45,9 +53,11 @@ module UltracartClient
|
|
45
53
|
{
|
46
54
|
:'currency_code' => :'String',
|
47
55
|
:'discount_item' => :'String',
|
56
|
+
:'discount_item_tags' => :'Array<String>',
|
48
57
|
:'discount_price' => :'Float',
|
49
58
|
:'limit' => :'Integer',
|
50
|
-
:'required_purchase_item' => :'String'
|
59
|
+
:'required_purchase_item' => :'String',
|
60
|
+
:'required_purchase_items_tags' => :'Array<String>'
|
51
61
|
}
|
52
62
|
end
|
53
63
|
|
@@ -67,6 +77,12 @@ module UltracartClient
|
|
67
77
|
self.discount_item = attributes[:'discount_item']
|
68
78
|
end
|
69
79
|
|
80
|
+
if attributes.has_key?(:'discount_item_tags')
|
81
|
+
if (value = attributes[:'discount_item_tags']).is_a?(Array)
|
82
|
+
self.discount_item_tags = value
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
70
86
|
if attributes.has_key?(:'discount_price')
|
71
87
|
self.discount_price = attributes[:'discount_price']
|
72
88
|
end
|
@@ -78,6 +94,12 @@ module UltracartClient
|
|
78
94
|
if attributes.has_key?(:'required_purchase_item')
|
79
95
|
self.required_purchase_item = attributes[:'required_purchase_item']
|
80
96
|
end
|
97
|
+
|
98
|
+
if attributes.has_key?(:'required_purchase_items_tags')
|
99
|
+
if (value = attributes[:'required_purchase_items_tags']).is_a?(Array)
|
100
|
+
self.required_purchase_items_tags = value
|
101
|
+
end
|
102
|
+
end
|
81
103
|
end
|
82
104
|
|
83
105
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -115,9 +137,11 @@ module UltracartClient
|
|
115
137
|
self.class == o.class &&
|
116
138
|
currency_code == o.currency_code &&
|
117
139
|
discount_item == o.discount_item &&
|
140
|
+
discount_item_tags == o.discount_item_tags &&
|
118
141
|
discount_price == o.discount_price &&
|
119
142
|
limit == o.limit &&
|
120
|
-
required_purchase_item == o.required_purchase_item
|
143
|
+
required_purchase_item == o.required_purchase_item &&
|
144
|
+
required_purchase_items_tags == o.required_purchase_items_tags
|
121
145
|
end
|
122
146
|
|
123
147
|
# @see the `==` method
|
@@ -129,7 +153,7 @@ module UltracartClient
|
|
129
153
|
# Calculates hash code according to all attributes.
|
130
154
|
# @return [Fixnum] Hash code
|
131
155
|
def hash
|
132
|
-
[currency_code, discount_item, discount_price, limit, required_purchase_item].hash
|
156
|
+
[currency_code, discount_item, discount_item_tags, discount_price, limit, required_purchase_item, required_purchase_items_tags].hash
|
133
157
|
end
|
134
158
|
|
135
159
|
# Builds the object from hash
|
@@ -14,6 +14,9 @@ require 'date'
|
|
14
14
|
|
15
15
|
module UltracartClient
|
16
16
|
class CouponFreeItemWithItemPurchase
|
17
|
+
# An optional list of item tags which will receive a discount of one of the required purchased items is purchased.
|
18
|
+
attr_accessor :item_tags
|
19
|
+
|
17
20
|
# A list of free items which will receive a discount if one of the required purchase items is purchased.
|
18
21
|
attr_accessor :items
|
19
22
|
|
@@ -26,23 +29,30 @@ module UltracartClient
|
|
26
29
|
# Required items (at least one from the list) that must be purchased for coupon to be valid
|
27
30
|
attr_accessor :required_purchase_items
|
28
31
|
|
32
|
+
# An optional list of item tags which are required to be purchased.
|
33
|
+
attr_accessor :required_purchase_items_tags
|
34
|
+
|
29
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
36
|
def self.attribute_map
|
31
37
|
{
|
38
|
+
:'item_tags' => :'item_tags',
|
32
39
|
:'items' => :'items',
|
33
40
|
:'limit' => :'limit',
|
34
41
|
:'match_required_purchase_item_to_free_item' => :'match_required_purchase_item_to_free_item',
|
35
|
-
:'required_purchase_items' => :'required_purchase_items'
|
42
|
+
:'required_purchase_items' => :'required_purchase_items',
|
43
|
+
:'required_purchase_items_tags' => :'required_purchase_items_tags'
|
36
44
|
}
|
37
45
|
end
|
38
46
|
|
39
47
|
# Attribute type mapping.
|
40
48
|
def self.swagger_types
|
41
49
|
{
|
50
|
+
:'item_tags' => :'Array<String>',
|
42
51
|
:'items' => :'Array<String>',
|
43
52
|
:'limit' => :'Integer',
|
44
53
|
:'match_required_purchase_item_to_free_item' => :'BOOLEAN',
|
45
|
-
:'required_purchase_items' => :'Array<String>'
|
54
|
+
:'required_purchase_items' => :'Array<String>',
|
55
|
+
:'required_purchase_items_tags' => :'Array<String>'
|
46
56
|
}
|
47
57
|
end
|
48
58
|
|
@@ -54,6 +64,12 @@ module UltracartClient
|
|
54
64
|
# convert string to symbol for hash key
|
55
65
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
56
66
|
|
67
|
+
if attributes.has_key?(:'item_tags')
|
68
|
+
if (value = attributes[:'item_tags']).is_a?(Array)
|
69
|
+
self.item_tags = value
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
57
73
|
if attributes.has_key?(:'items')
|
58
74
|
if (value = attributes[:'items']).is_a?(Array)
|
59
75
|
self.items = value
|
@@ -73,6 +89,12 @@ module UltracartClient
|
|
73
89
|
self.required_purchase_items = value
|
74
90
|
end
|
75
91
|
end
|
92
|
+
|
93
|
+
if attributes.has_key?(:'required_purchase_items_tags')
|
94
|
+
if (value = attributes[:'required_purchase_items_tags']).is_a?(Array)
|
95
|
+
self.required_purchase_items_tags = value
|
96
|
+
end
|
97
|
+
end
|
76
98
|
end
|
77
99
|
|
78
100
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -93,10 +115,12 @@ module UltracartClient
|
|
93
115
|
def ==(o)
|
94
116
|
return true if self.equal?(o)
|
95
117
|
self.class == o.class &&
|
118
|
+
item_tags == o.item_tags &&
|
96
119
|
items == o.items &&
|
97
120
|
limit == o.limit &&
|
98
121
|
match_required_purchase_item_to_free_item == o.match_required_purchase_item_to_free_item &&
|
99
|
-
required_purchase_items == o.required_purchase_items
|
122
|
+
required_purchase_items == o.required_purchase_items &&
|
123
|
+
required_purchase_items_tags == o.required_purchase_items_tags
|
100
124
|
end
|
101
125
|
|
102
126
|
# @see the `==` method
|
@@ -108,7 +132,7 @@ module UltracartClient
|
|
108
132
|
# Calculates hash code according to all attributes.
|
109
133
|
# @return [Fixnum] Hash code
|
110
134
|
def hash
|
111
|
-
[items, limit, match_required_purchase_item_to_free_item, required_purchase_items].hash
|
135
|
+
[item_tags, items, limit, match_required_purchase_item_to_free_item, required_purchase_items, required_purchase_items_tags].hash
|
112
136
|
end
|
113
137
|
|
114
138
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module UltracartClient
|
|
17
17
|
# The percentage of subtotal discount
|
18
18
|
attr_accessor :discount_percent
|
19
19
|
|
20
|
+
# An optional list of item tags which will receive a discount of one of the required purchased items is purchased.
|
21
|
+
attr_accessor :item_tags
|
22
|
+
|
20
23
|
# A list of items which will receive a discount if one of the required purchase items is purchased.
|
21
24
|
attr_accessor :items
|
22
25
|
|
@@ -26,13 +29,18 @@ module UltracartClient
|
|
26
29
|
# Required items (at least one from the list) that must be purchased for coupon to be valid
|
27
30
|
attr_accessor :required_purchase_items
|
28
31
|
|
32
|
+
# An optional list of item tags which are required to be purchased.
|
33
|
+
attr_accessor :required_purchase_items_tags
|
34
|
+
|
29
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
36
|
def self.attribute_map
|
31
37
|
{
|
32
38
|
:'discount_percent' => :'discount_percent',
|
39
|
+
:'item_tags' => :'item_tags',
|
33
40
|
:'items' => :'items',
|
34
41
|
:'limit' => :'limit',
|
35
|
-
:'required_purchase_items' => :'required_purchase_items'
|
42
|
+
:'required_purchase_items' => :'required_purchase_items',
|
43
|
+
:'required_purchase_items_tags' => :'required_purchase_items_tags'
|
36
44
|
}
|
37
45
|
end
|
38
46
|
|
@@ -40,9 +48,11 @@ module UltracartClient
|
|
40
48
|
def self.swagger_types
|
41
49
|
{
|
42
50
|
:'discount_percent' => :'Float',
|
51
|
+
:'item_tags' => :'Array<String>',
|
43
52
|
:'items' => :'Array<String>',
|
44
53
|
:'limit' => :'Integer',
|
45
|
-
:'required_purchase_items' => :'Array<String>'
|
54
|
+
:'required_purchase_items' => :'Array<String>',
|
55
|
+
:'required_purchase_items_tags' => :'Array<String>'
|
46
56
|
}
|
47
57
|
end
|
48
58
|
|
@@ -58,6 +68,12 @@ module UltracartClient
|
|
58
68
|
self.discount_percent = attributes[:'discount_percent']
|
59
69
|
end
|
60
70
|
|
71
|
+
if attributes.has_key?(:'item_tags')
|
72
|
+
if (value = attributes[:'item_tags']).is_a?(Array)
|
73
|
+
self.item_tags = value
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
61
77
|
if attributes.has_key?(:'items')
|
62
78
|
if (value = attributes[:'items']).is_a?(Array)
|
63
79
|
self.items = value
|
@@ -73,6 +89,12 @@ module UltracartClient
|
|
73
89
|
self.required_purchase_items = value
|
74
90
|
end
|
75
91
|
end
|
92
|
+
|
93
|
+
if attributes.has_key?(:'required_purchase_items_tags')
|
94
|
+
if (value = attributes[:'required_purchase_items_tags']).is_a?(Array)
|
95
|
+
self.required_purchase_items_tags = value
|
96
|
+
end
|
97
|
+
end
|
76
98
|
end
|
77
99
|
|
78
100
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -94,9 +116,11 @@ module UltracartClient
|
|
94
116
|
return true if self.equal?(o)
|
95
117
|
self.class == o.class &&
|
96
118
|
discount_percent == o.discount_percent &&
|
119
|
+
item_tags == o.item_tags &&
|
97
120
|
items == o.items &&
|
98
121
|
limit == o.limit &&
|
99
|
-
required_purchase_items == o.required_purchase_items
|
122
|
+
required_purchase_items == o.required_purchase_items &&
|
123
|
+
required_purchase_items_tags == o.required_purchase_items_tags
|
100
124
|
end
|
101
125
|
|
102
126
|
# @see the `==` method
|
@@ -108,7 +132,7 @@ module UltracartClient
|
|
108
132
|
# Calculates hash code according to all attributes.
|
109
133
|
# @return [Fixnum] Hash code
|
110
134
|
def hash
|
111
|
-
[discount_percent, items, limit, required_purchase_items].hash
|
135
|
+
[discount_percent, item_tags, items, limit, required_purchase_items, required_purchase_items_tags].hash
|
112
136
|
end
|
113
137
|
|
114
138
|
# Builds the object from hash
|
@@ -44,6 +44,9 @@ module UltracartClient
|
|
44
44
|
# Custom field 1
|
45
45
|
attr_accessor :custom_field_1
|
46
46
|
|
47
|
+
# Custom field 10
|
48
|
+
attr_accessor :custom_field_10
|
49
|
+
|
47
50
|
# Custom field 2
|
48
51
|
attr_accessor :custom_field_2
|
49
52
|
|
@@ -62,6 +65,12 @@ module UltracartClient
|
|
62
65
|
# Custom field 7
|
63
66
|
attr_accessor :custom_field_7
|
64
67
|
|
68
|
+
# Custom field 8
|
69
|
+
attr_accessor :custom_field_8
|
70
|
+
|
71
|
+
# Custom field 9
|
72
|
+
attr_accessor :custom_field_9
|
73
|
+
|
65
74
|
# The customer profile to find associated orders for
|
66
75
|
attr_accessor :customer_profile_oid
|
67
76
|
|
@@ -166,12 +175,15 @@ module UltracartClient
|
|
166
175
|
:'creation_date_end' => :'creation_date_end',
|
167
176
|
:'current_stage' => :'current_stage',
|
168
177
|
:'custom_field_1' => :'custom_field_1',
|
178
|
+
:'custom_field_10' => :'custom_field_10',
|
169
179
|
:'custom_field_2' => :'custom_field_2',
|
170
180
|
:'custom_field_3' => :'custom_field_3',
|
171
181
|
:'custom_field_4' => :'custom_field_4',
|
172
182
|
:'custom_field_5' => :'custom_field_5',
|
173
183
|
:'custom_field_6' => :'custom_field_6',
|
174
184
|
:'custom_field_7' => :'custom_field_7',
|
185
|
+
:'custom_field_8' => :'custom_field_8',
|
186
|
+
:'custom_field_9' => :'custom_field_9',
|
175
187
|
:'customer_profile_oid' => :'customer_profile_oid',
|
176
188
|
:'email' => :'email',
|
177
189
|
:'first_name' => :'first_name',
|
@@ -211,12 +223,15 @@ module UltracartClient
|
|
211
223
|
:'creation_date_end' => :'String',
|
212
224
|
:'current_stage' => :'String',
|
213
225
|
:'custom_field_1' => :'String',
|
226
|
+
:'custom_field_10' => :'String',
|
214
227
|
:'custom_field_2' => :'String',
|
215
228
|
:'custom_field_3' => :'String',
|
216
229
|
:'custom_field_4' => :'String',
|
217
230
|
:'custom_field_5' => :'String',
|
218
231
|
:'custom_field_6' => :'String',
|
219
232
|
:'custom_field_7' => :'String',
|
233
|
+
:'custom_field_8' => :'String',
|
234
|
+
:'custom_field_9' => :'String',
|
220
235
|
:'customer_profile_oid' => :'Integer',
|
221
236
|
:'email' => :'String',
|
222
237
|
:'first_name' => :'String',
|
@@ -291,6 +306,10 @@ module UltracartClient
|
|
291
306
|
self.custom_field_1 = attributes[:'custom_field_1']
|
292
307
|
end
|
293
308
|
|
309
|
+
if attributes.has_key?(:'custom_field_10')
|
310
|
+
self.custom_field_10 = attributes[:'custom_field_10']
|
311
|
+
end
|
312
|
+
|
294
313
|
if attributes.has_key?(:'custom_field_2')
|
295
314
|
self.custom_field_2 = attributes[:'custom_field_2']
|
296
315
|
end
|
@@ -315,6 +334,14 @@ module UltracartClient
|
|
315
334
|
self.custom_field_7 = attributes[:'custom_field_7']
|
316
335
|
end
|
317
336
|
|
337
|
+
if attributes.has_key?(:'custom_field_8')
|
338
|
+
self.custom_field_8 = attributes[:'custom_field_8']
|
339
|
+
end
|
340
|
+
|
341
|
+
if attributes.has_key?(:'custom_field_9')
|
342
|
+
self.custom_field_9 = attributes[:'custom_field_9']
|
343
|
+
end
|
344
|
+
|
318
345
|
if attributes.has_key?(:'customer_profile_oid')
|
319
346
|
self.customer_profile_oid = attributes[:'customer_profile_oid']
|
320
347
|
end
|
@@ -640,12 +667,15 @@ module UltracartClient
|
|
640
667
|
creation_date_end == o.creation_date_end &&
|
641
668
|
current_stage == o.current_stage &&
|
642
669
|
custom_field_1 == o.custom_field_1 &&
|
670
|
+
custom_field_10 == o.custom_field_10 &&
|
643
671
|
custom_field_2 == o.custom_field_2 &&
|
644
672
|
custom_field_3 == o.custom_field_3 &&
|
645
673
|
custom_field_4 == o.custom_field_4 &&
|
646
674
|
custom_field_5 == o.custom_field_5 &&
|
647
675
|
custom_field_6 == o.custom_field_6 &&
|
648
676
|
custom_field_7 == o.custom_field_7 &&
|
677
|
+
custom_field_8 == o.custom_field_8 &&
|
678
|
+
custom_field_9 == o.custom_field_9 &&
|
649
679
|
customer_profile_oid == o.customer_profile_oid &&
|
650
680
|
email == o.email &&
|
651
681
|
first_name == o.first_name &&
|
@@ -680,7 +710,7 @@ module UltracartClient
|
|
680
710
|
# Calculates hash code according to all attributes.
|
681
711
|
# @return [Fixnum] Hash code
|
682
712
|
def hash
|
683
|
-
[cc_email, channel_partner_code, channel_partner_order_id, city, company, country_code, creation_date_begin, creation_date_end, current_stage, custom_field_1, custom_field_2, custom_field_3, custom_field_4, custom_field_5, custom_field_6, custom_field_7, customer_profile_oid, email, first_name, item_id, last_name, order_id, payment_date_begin, payment_date_end, payment_method, phone, postal_code, purchase_order_number, refund_date_begin, refund_date_end, rma, screen_branding_theme_code, shipment_date_begin, shipment_date_end, shipped_on_date_begin, shipped_on_date_end, state_region, storefront_host_name, total].hash
|
713
|
+
[cc_email, channel_partner_code, channel_partner_order_id, city, company, country_code, creation_date_begin, creation_date_end, current_stage, custom_field_1, custom_field_10, custom_field_2, custom_field_3, custom_field_4, custom_field_5, custom_field_6, custom_field_7, custom_field_8, custom_field_9, customer_profile_oid, email, first_name, item_id, last_name, order_id, payment_date_begin, payment_date_end, payment_method, phone, postal_code, purchase_order_number, refund_date_begin, refund_date_end, rma, screen_branding_theme_code, shipment_date_begin, shipment_date_end, shipped_on_date_begin, shipped_on_date_end, state_region, storefront_host_name, total].hash
|
684
714
|
end
|
685
715
|
|
686
716
|
# Builds the object from hash
|
@@ -16,19 +16,46 @@ module UltracartClient
|
|
16
16
|
class Twilio
|
17
17
|
attr_accessor :account_sid
|
18
18
|
|
19
|
+
attr_accessor :api_key_id
|
20
|
+
|
21
|
+
attr_accessor :api_key_name
|
22
|
+
|
23
|
+
attr_accessor :api_key_secret
|
24
|
+
|
19
25
|
attr_accessor :auth_token
|
20
26
|
|
21
27
|
attr_accessor :esp_twilio_uuid
|
22
28
|
|
29
|
+
attr_accessor :inbound_twiml_app_sid
|
30
|
+
|
31
|
+
attr_accessor :outbound_twiml_app_sid
|
32
|
+
|
23
33
|
attr_accessor :phone_numbers
|
24
34
|
|
35
|
+
attr_accessor :private_key_pem
|
36
|
+
|
37
|
+
attr_accessor :public_key_pem
|
38
|
+
|
39
|
+
attr_accessor :public_key_sid
|
40
|
+
|
41
|
+
attr_accessor :twilio_workspace_sid
|
42
|
+
|
25
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
44
|
def self.attribute_map
|
27
45
|
{
|
28
46
|
:'account_sid' => :'account_sid',
|
47
|
+
:'api_key_id' => :'api_key_id',
|
48
|
+
:'api_key_name' => :'api_key_name',
|
49
|
+
:'api_key_secret' => :'api_key_secret',
|
29
50
|
:'auth_token' => :'auth_token',
|
30
51
|
:'esp_twilio_uuid' => :'esp_twilio_uuid',
|
31
|
-
:'
|
52
|
+
:'inbound_twiml_app_sid' => :'inbound_twiml_app_sid',
|
53
|
+
:'outbound_twiml_app_sid' => :'outbound_twiml_app_sid',
|
54
|
+
:'phone_numbers' => :'phone_numbers',
|
55
|
+
:'private_key_pem' => :'private_key_pem',
|
56
|
+
:'public_key_pem' => :'public_key_pem',
|
57
|
+
:'public_key_sid' => :'public_key_sid',
|
58
|
+
:'twilio_workspace_sid' => :'twilio_workspace_sid'
|
32
59
|
}
|
33
60
|
end
|
34
61
|
|
@@ -36,9 +63,18 @@ module UltracartClient
|
|
36
63
|
def self.swagger_types
|
37
64
|
{
|
38
65
|
:'account_sid' => :'String',
|
66
|
+
:'api_key_id' => :'String',
|
67
|
+
:'api_key_name' => :'String',
|
68
|
+
:'api_key_secret' => :'String',
|
39
69
|
:'auth_token' => :'String',
|
40
70
|
:'esp_twilio_uuid' => :'String',
|
41
|
-
:'
|
71
|
+
:'inbound_twiml_app_sid' => :'String',
|
72
|
+
:'outbound_twiml_app_sid' => :'String',
|
73
|
+
:'phone_numbers' => :'Array<String>',
|
74
|
+
:'private_key_pem' => :'String',
|
75
|
+
:'public_key_pem' => :'String',
|
76
|
+
:'public_key_sid' => :'String',
|
77
|
+
:'twilio_workspace_sid' => :'String'
|
42
78
|
}
|
43
79
|
end
|
44
80
|
|
@@ -54,6 +90,18 @@ module UltracartClient
|
|
54
90
|
self.account_sid = attributes[:'account_sid']
|
55
91
|
end
|
56
92
|
|
93
|
+
if attributes.has_key?(:'api_key_id')
|
94
|
+
self.api_key_id = attributes[:'api_key_id']
|
95
|
+
end
|
96
|
+
|
97
|
+
if attributes.has_key?(:'api_key_name')
|
98
|
+
self.api_key_name = attributes[:'api_key_name']
|
99
|
+
end
|
100
|
+
|
101
|
+
if attributes.has_key?(:'api_key_secret')
|
102
|
+
self.api_key_secret = attributes[:'api_key_secret']
|
103
|
+
end
|
104
|
+
|
57
105
|
if attributes.has_key?(:'auth_token')
|
58
106
|
self.auth_token = attributes[:'auth_token']
|
59
107
|
end
|
@@ -62,11 +110,35 @@ module UltracartClient
|
|
62
110
|
self.esp_twilio_uuid = attributes[:'esp_twilio_uuid']
|
63
111
|
end
|
64
112
|
|
113
|
+
if attributes.has_key?(:'inbound_twiml_app_sid')
|
114
|
+
self.inbound_twiml_app_sid = attributes[:'inbound_twiml_app_sid']
|
115
|
+
end
|
116
|
+
|
117
|
+
if attributes.has_key?(:'outbound_twiml_app_sid')
|
118
|
+
self.outbound_twiml_app_sid = attributes[:'outbound_twiml_app_sid']
|
119
|
+
end
|
120
|
+
|
65
121
|
if attributes.has_key?(:'phone_numbers')
|
66
122
|
if (value = attributes[:'phone_numbers']).is_a?(Array)
|
67
123
|
self.phone_numbers = value
|
68
124
|
end
|
69
125
|
end
|
126
|
+
|
127
|
+
if attributes.has_key?(:'private_key_pem')
|
128
|
+
self.private_key_pem = attributes[:'private_key_pem']
|
129
|
+
end
|
130
|
+
|
131
|
+
if attributes.has_key?(:'public_key_pem')
|
132
|
+
self.public_key_pem = attributes[:'public_key_pem']
|
133
|
+
end
|
134
|
+
|
135
|
+
if attributes.has_key?(:'public_key_sid')
|
136
|
+
self.public_key_sid = attributes[:'public_key_sid']
|
137
|
+
end
|
138
|
+
|
139
|
+
if attributes.has_key?(:'twilio_workspace_sid')
|
140
|
+
self.twilio_workspace_sid = attributes[:'twilio_workspace_sid']
|
141
|
+
end
|
70
142
|
end
|
71
143
|
|
72
144
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -88,9 +160,18 @@ module UltracartClient
|
|
88
160
|
return true if self.equal?(o)
|
89
161
|
self.class == o.class &&
|
90
162
|
account_sid == o.account_sid &&
|
163
|
+
api_key_id == o.api_key_id &&
|
164
|
+
api_key_name == o.api_key_name &&
|
165
|
+
api_key_secret == o.api_key_secret &&
|
91
166
|
auth_token == o.auth_token &&
|
92
167
|
esp_twilio_uuid == o.esp_twilio_uuid &&
|
93
|
-
|
168
|
+
inbound_twiml_app_sid == o.inbound_twiml_app_sid &&
|
169
|
+
outbound_twiml_app_sid == o.outbound_twiml_app_sid &&
|
170
|
+
phone_numbers == o.phone_numbers &&
|
171
|
+
private_key_pem == o.private_key_pem &&
|
172
|
+
public_key_pem == o.public_key_pem &&
|
173
|
+
public_key_sid == o.public_key_sid &&
|
174
|
+
twilio_workspace_sid == o.twilio_workspace_sid
|
94
175
|
end
|
95
176
|
|
96
177
|
# @see the `==` method
|
@@ -102,7 +183,7 @@ module UltracartClient
|
|
102
183
|
# Calculates hash code according to all attributes.
|
103
184
|
# @return [Fixnum] Hash code
|
104
185
|
def hash
|
105
|
-
[account_sid, auth_token, esp_twilio_uuid, phone_numbers].hash
|
186
|
+
[account_sid, api_key_id, api_key_name, api_key_secret, auth_token, esp_twilio_uuid, inbound_twiml_app_sid, outbound_twiml_app_sid, phone_numbers, private_key_pem, public_key_pem, public_key_sid, twilio_workspace_sid].hash
|
106
187
|
end
|
107
188
|
|
108
189
|
# 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.183
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|