ultracart_api 3.1.17 → 3.1.18
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/OrderApi.md +4 -0
- data/docs/OrderQuery.md +3 -1
- data/docs/TaxJarConfig.md +1 -0
- data/lib/ultracart_api/api/order_api.rb +6 -0
- data/lib/ultracart_api/models/order_query.rb +22 -2
- data/lib/ultracart_api/models/tax_jar_config.rb +11 -1
- data/lib/ultracart_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ec877eeac5aebf27faca2f70559c977a0a530048e7869d317322e54a0d8ab37
|
4
|
+
data.tar.gz: 4a3a15da646aff74261ff92d6d89af41033fe2ff24a95911eb28e5dbcae86151
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 762401de2c3d75f779ab20e60c01a463a31133234d2099ef31bbf5cdc73711e90e4565c644d1306f1fdb63266e4c1215513e804f424e28af54d7d5bdcc25f57d
|
7
|
+
data.tar.gz: d06e75abf6bae59074d849cc0b05187db96ff3b9eb262f053834a18cb75272c80e7eea51a0460a55cda5dfb1eff106b5b2efcad8d5adbaff5ae78943b7a6d310
|
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.1.
|
10
|
+
- Package version: 3.1.18
|
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.1.
|
27
|
+
gem install ./ultracart_api-3.1.18.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.1.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.1.18.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.1.
|
35
|
+
gem 'ultracart_api', '~> 3.1.18'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1008,6 +1008,7 @@ Not every change is committed to every SDK.
|
|
1008
1008
|
|
1009
1009
|
| Version | Date | Comments |
|
1010
1010
|
| --: | :-: | --- |
|
1011
|
+
| 3.1.18 | 03/17/2021 | Added order query by ship on date |
|
1011
1012
|
| 3.1.17 | 03/17/2021 | New coupon - percent off MSRP item |
|
1012
1013
|
| 3.1.16 | 03/16/2021 | screen recording filter page parameter names |
|
1013
1014
|
| 3.1.15 | 03/15/2021 | fix response from deleteScreenRecordingSegment that should have been void |
|
data/docs/OrderApi.md
CHANGED
@@ -542,6 +542,8 @@ opts = {
|
|
542
542
|
custom_field_5: 'custom_field_5_example', # String |
|
543
543
|
custom_field_6: 'custom_field_6_example', # String |
|
544
544
|
custom_field_7: 'custom_field_7_example', # String |
|
545
|
+
ship_on_date_begin: 'ship_on_date_begin_example', # String |
|
546
|
+
ship_on_date_end: 'ship_on_date_end_example', # String |
|
545
547
|
_limit: 100, # Integer | The maximum number of records to return on this one API call. (Maximum 200)
|
546
548
|
_offset: 0, # Integer | Pagination of the record set. Offset is a zero based index.
|
547
549
|
_sort: '_sort_example', # String | The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
|
@@ -598,6 +600,8 @@ Name | Type | Description | Notes
|
|
598
600
|
**custom_field_5** | **String**| | [optional]
|
599
601
|
**custom_field_6** | **String**| | [optional]
|
600
602
|
**custom_field_7** | **String**| | [optional]
|
603
|
+
**ship_on_date_begin** | **String**| | [optional]
|
604
|
+
**ship_on_date_end** | **String**| | [optional]
|
601
605
|
**_limit** | **Integer**| The maximum number of records to return on this one API call. (Maximum 200) | [optional] [default to 100]
|
602
606
|
**_offset** | **Integer**| Pagination of the record set. Offset is a zero based index. | [optional] [default to 0]
|
603
607
|
**_sort** | **String**| The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending. | [optional]
|
data/docs/OrderQuery.md
CHANGED
@@ -35,8 +35,10 @@ Name | Type | Description | Notes
|
|
35
35
|
**refund_date_end** | **String** | Date/time that the order was refunded | [optional]
|
36
36
|
**rma** | **String** | RMA number | [optional]
|
37
37
|
**screen_branding_theme_code** | **String** | Screen branding theme code associated with the order (legacy checkout) | [optional]
|
38
|
-
**shipment_date_begin** | **String** | Date/time that the order was
|
38
|
+
**shipment_date_begin** | **String** | Date/time that the order was shipped | [optional]
|
39
39
|
**shipment_date_end** | **String** | Date/time that the order was shipped | [optional]
|
40
|
+
**shipped_on_date_begin** | **String** | Date/time that the order should ship on | [optional]
|
41
|
+
**shipped_on_date_end** | **String** | Date/time that the order should ship on | [optional]
|
40
42
|
**state_region** | **String** | State for United States otherwise region or province for other countries | [optional]
|
41
43
|
**storefront_host_name** | **String** | StoreFront host name associated with the order | [optional]
|
42
44
|
**total** | **Float** | Total | [optional]
|
data/docs/TaxJarConfig.md
CHANGED
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**estimate_only** | **BOOLEAN** | True if this TaxJar configuration is to estimate taxes only and not report placed orders to TaxJar | [optional]
|
9
9
|
**send_outside_nexus** | **BOOLEAN** | Send orders outside your nexus TaxJar. The default is to not transmit outside orders to TaxJar to reduce API calls. However, this will prevent TaxJar from dynamically creating new Nexus when thresholds are exceeded for a state. | [optional]
|
10
10
|
**send_test_orders** | **BOOLEAN** | Send test orders through to TaxJar. The default is to not transmit test orders to TaxJar. | [optional]
|
11
|
+
**skip_channel_orders** | **BOOLEAN** | Do not send channel partner orders to TaxJar. Set this to true if your channel partner reports tax on their own. | [optional]
|
11
12
|
**use_distribution_center_from** | **BOOLEAN** | Use distribution center from address | [optional]
|
12
13
|
|
13
14
|
|
@@ -578,6 +578,8 @@ module UltracartClient
|
|
578
578
|
# @option opts [String] :custom_field_5
|
579
579
|
# @option opts [String] :custom_field_6
|
580
580
|
# @option opts [String] :custom_field_7
|
581
|
+
# @option opts [String] :ship_on_date_begin
|
582
|
+
# @option opts [String] :ship_on_date_end
|
581
583
|
# @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Maximum 200) (default to 100)
|
582
584
|
# @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index. (default to 0)
|
583
585
|
# @option opts [String] :_sort The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
|
@@ -628,6 +630,8 @@ module UltracartClient
|
|
628
630
|
# @option opts [String] :custom_field_5
|
629
631
|
# @option opts [String] :custom_field_6
|
630
632
|
# @option opts [String] :custom_field_7
|
633
|
+
# @option opts [String] :ship_on_date_begin
|
634
|
+
# @option opts [String] :ship_on_date_end
|
631
635
|
# @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Maximum 200)
|
632
636
|
# @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index.
|
633
637
|
# @option opts [String] :_sort The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
|
@@ -679,6 +683,8 @@ module UltracartClient
|
|
679
683
|
query_params[:'Custom Field 5'] = opts[:'custom_field_5'] if !opts[:'custom_field_5'].nil?
|
680
684
|
query_params[:'Custom Field 6'] = opts[:'custom_field_6'] if !opts[:'custom_field_6'].nil?
|
681
685
|
query_params[:'Custom Field 7'] = opts[:'custom_field_7'] if !opts[:'custom_field_7'].nil?
|
686
|
+
query_params[:'ship_on_date_begin'] = opts[:'ship_on_date_begin'] if !opts[:'ship_on_date_begin'].nil?
|
687
|
+
query_params[:'ship_on_date_end'] = opts[:'ship_on_date_end'] if !opts[:'ship_on_date_end'].nil?
|
682
688
|
query_params[:'_limit'] = opts[:'_limit'] if !opts[:'_limit'].nil?
|
683
689
|
query_params[:'_offset'] = opts[:'_offset'] if !opts[:'_offset'].nil?
|
684
690
|
query_params[:'_sort'] = opts[:'_sort'] if !opts[:'_sort'].nil?
|
@@ -110,12 +110,18 @@ module UltracartClient
|
|
110
110
|
# Screen branding theme code associated with the order (legacy checkout)
|
111
111
|
attr_accessor :screen_branding_theme_code
|
112
112
|
|
113
|
-
# Date/time that the order was
|
113
|
+
# Date/time that the order was shipped
|
114
114
|
attr_accessor :shipment_date_begin
|
115
115
|
|
116
116
|
# Date/time that the order was shipped
|
117
117
|
attr_accessor :shipment_date_end
|
118
118
|
|
119
|
+
# Date/time that the order should ship on
|
120
|
+
attr_accessor :shipped_on_date_begin
|
121
|
+
|
122
|
+
# Date/time that the order should ship on
|
123
|
+
attr_accessor :shipped_on_date_end
|
124
|
+
|
119
125
|
# State for United States otherwise region or province for other countries
|
120
126
|
attr_accessor :state_region
|
121
127
|
|
@@ -184,6 +190,8 @@ module UltracartClient
|
|
184
190
|
:'screen_branding_theme_code' => :'screen_branding_theme_code',
|
185
191
|
:'shipment_date_begin' => :'shipment_date_begin',
|
186
192
|
:'shipment_date_end' => :'shipment_date_end',
|
193
|
+
:'shipped_on_date_begin' => :'shipped_on_date_begin',
|
194
|
+
:'shipped_on_date_end' => :'shipped_on_date_end',
|
187
195
|
:'state_region' => :'state_region',
|
188
196
|
:'storefront_host_name' => :'storefront_host_name',
|
189
197
|
:'total' => :'total'
|
@@ -227,6 +235,8 @@ module UltracartClient
|
|
227
235
|
:'screen_branding_theme_code' => :'String',
|
228
236
|
:'shipment_date_begin' => :'String',
|
229
237
|
:'shipment_date_end' => :'String',
|
238
|
+
:'shipped_on_date_begin' => :'String',
|
239
|
+
:'shipped_on_date_end' => :'String',
|
230
240
|
:'state_region' => :'String',
|
231
241
|
:'storefront_host_name' => :'String',
|
232
242
|
:'total' => :'Float'
|
@@ -377,6 +387,14 @@ module UltracartClient
|
|
377
387
|
self.shipment_date_end = attributes[:'shipment_date_end']
|
378
388
|
end
|
379
389
|
|
390
|
+
if attributes.has_key?(:'shipped_on_date_begin')
|
391
|
+
self.shipped_on_date_begin = attributes[:'shipped_on_date_begin']
|
392
|
+
end
|
393
|
+
|
394
|
+
if attributes.has_key?(:'shipped_on_date_end')
|
395
|
+
self.shipped_on_date_end = attributes[:'shipped_on_date_end']
|
396
|
+
end
|
397
|
+
|
380
398
|
if attributes.has_key?(:'state_region')
|
381
399
|
self.state_region = attributes[:'state_region']
|
382
400
|
end
|
@@ -646,6 +664,8 @@ module UltracartClient
|
|
646
664
|
screen_branding_theme_code == o.screen_branding_theme_code &&
|
647
665
|
shipment_date_begin == o.shipment_date_begin &&
|
648
666
|
shipment_date_end == o.shipment_date_end &&
|
667
|
+
shipped_on_date_begin == o.shipped_on_date_begin &&
|
668
|
+
shipped_on_date_end == o.shipped_on_date_end &&
|
649
669
|
state_region == o.state_region &&
|
650
670
|
storefront_host_name == o.storefront_host_name &&
|
651
671
|
total == o.total
|
@@ -660,7 +680,7 @@ module UltracartClient
|
|
660
680
|
# Calculates hash code according to all attributes.
|
661
681
|
# @return [Fixnum] Hash code
|
662
682
|
def hash
|
663
|
-
[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, state_region, storefront_host_name, total].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
|
664
684
|
end
|
665
685
|
|
666
686
|
# Builds the object from hash
|
@@ -29,6 +29,9 @@ module UltracartClient
|
|
29
29
|
# Send test orders through to TaxJar. The default is to not transmit test orders to TaxJar.
|
30
30
|
attr_accessor :send_test_orders
|
31
31
|
|
32
|
+
# Do not send channel partner orders to TaxJar. Set this to true if your channel partner reports tax on their own.
|
33
|
+
attr_accessor :skip_channel_orders
|
34
|
+
|
32
35
|
# Use distribution center from address
|
33
36
|
attr_accessor :use_distribution_center_from
|
34
37
|
|
@@ -40,6 +43,7 @@ module UltracartClient
|
|
40
43
|
:'estimate_only' => :'estimate_only',
|
41
44
|
:'send_outside_nexus' => :'send_outside_nexus',
|
42
45
|
:'send_test_orders' => :'send_test_orders',
|
46
|
+
:'skip_channel_orders' => :'skip_channel_orders',
|
43
47
|
:'use_distribution_center_from' => :'use_distribution_center_from'
|
44
48
|
}
|
45
49
|
end
|
@@ -52,6 +56,7 @@ module UltracartClient
|
|
52
56
|
:'estimate_only' => :'BOOLEAN',
|
53
57
|
:'send_outside_nexus' => :'BOOLEAN',
|
54
58
|
:'send_test_orders' => :'BOOLEAN',
|
59
|
+
:'skip_channel_orders' => :'BOOLEAN',
|
55
60
|
:'use_distribution_center_from' => :'BOOLEAN'
|
56
61
|
}
|
57
62
|
end
|
@@ -84,6 +89,10 @@ module UltracartClient
|
|
84
89
|
self.send_test_orders = attributes[:'send_test_orders']
|
85
90
|
end
|
86
91
|
|
92
|
+
if attributes.has_key?(:'skip_channel_orders')
|
93
|
+
self.skip_channel_orders = attributes[:'skip_channel_orders']
|
94
|
+
end
|
95
|
+
|
87
96
|
if attributes.has_key?(:'use_distribution_center_from')
|
88
97
|
self.use_distribution_center_from = attributes[:'use_distribution_center_from']
|
89
98
|
end
|
@@ -112,6 +121,7 @@ module UltracartClient
|
|
112
121
|
estimate_only == o.estimate_only &&
|
113
122
|
send_outside_nexus == o.send_outside_nexus &&
|
114
123
|
send_test_orders == o.send_test_orders &&
|
124
|
+
skip_channel_orders == o.skip_channel_orders &&
|
115
125
|
use_distribution_center_from == o.use_distribution_center_from
|
116
126
|
end
|
117
127
|
|
@@ -124,7 +134,7 @@ module UltracartClient
|
|
124
134
|
# Calculates hash code according to all attributes.
|
125
135
|
# @return [Fixnum] Hash code
|
126
136
|
def hash
|
127
|
-
[active, api_key, estimate_only, send_outside_nexus, send_test_orders, use_distribution_center_from].hash
|
137
|
+
[active, api_key, estimate_only, send_outside_nexus, send_test_orders, skip_channel_orders, use_distribution_center_from].hash
|
128
138
|
end
|
129
139
|
|
130
140
|
# Builds the object from hash
|