ultracart_api 3.2.7 → 3.2.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -4
- data/docs/Customer.md +1 -0
- data/docs/FulfillmentApi.md +54 -0
- data/docs/IntegrationLog.md +1 -1
- data/docs/IntegrationLogQueryFilterValues.md +2 -0
- data/docs/OrderApi.md +105 -0
- data/docs/ScreenRecording.md +1 -0
- data/docs/ScreenRecordingQueryResponse.md +1 -0
- data/docs/ScreenRecordingResponse.md +1 -0
- data/docs/ScreenRecordingSettings.md +2 -0
- data/lib/ultracart_api/api/fulfillment_api.rb +61 -0
- data/lib/ultracart_api/api/order_api.rb +116 -0
- data/lib/ultracart_api/models/customer.rb +11 -1
- data/lib/ultracart_api/models/integration_log.rb +1 -0
- data/lib/ultracart_api/models/integration_log_query_filter_values.rb +21 -1
- data/lib/ultracart_api/models/screen_recording.rb +11 -1
- data/lib/ultracart_api/models/screen_recording_query_response.rb +10 -1
- data/lib/ultracart_api/models/screen_recording_response.rb +10 -1
- data/lib/ultracart_api/models/screen_recording_settings.rb +21 -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: a4492cfba82bba9af892da320a4a2516637e3d266247475fc34b1ea0df4fc672
|
4
|
+
data.tar.gz: 10fe7be089f7dd67ea14c9888f1cb9f688eb6a8ce723950f2597f11f812b49f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 310966e472290ca5de80185a1df26d1191a94708d9cf8777d4e9ed8b14b8781949e0f26e5e4703cb8f9e5be49080f7716640dc2bd62a64a0dcd969c2a89d664d
|
7
|
+
data.tar.gz: bef6c03d1a710fc9a6bf503d49702e7eedd2613d8a334ff895499421b422832a881090b8317bc8b564989ddb55f748cd750ac2cc74558ed3b256aa7a8fad7cef
|
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.2.
|
10
|
+
- Package version: 3.2.12
|
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.2.
|
27
|
+
gem install ./ultracart_api-3.2.12.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.2.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.2.12.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.2.
|
35
|
+
gem 'ultracart_api', '~> 3.2.12'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -153,6 +153,7 @@ Class | Method | HTTP request | Description
|
|
153
153
|
*UltracartClient::CustomerApi* | [**update_customer_email_lists**](docs/CustomerApi.md#update_customer_email_lists) | **POST** /customer/customers/{customer_profile_oid}/email_lists | Update email list subscriptions for a customer
|
154
154
|
*UltracartClient::CustomerApi* | [**validate_email_verification_token**](docs/CustomerApi.md#validate_email_verification_token) | **POST** /customer/customers/email_verify/validate_token | Validate a token that can be used to verify a customer email address
|
155
155
|
*UltracartClient::FulfillmentApi* | [**acknowledge_orders**](docs/FulfillmentApi.md#acknowledge_orders) | **PUT** /fulfillment/distribution_centers/{distribution_center_code}/acknowledgements | Acknowledge receipt of orders.
|
156
|
+
*UltracartClient::FulfillmentApi* | [**generate_packing_slip**](docs/FulfillmentApi.md#generate_packing_slip) | **GET** /fulfillment/distribution_centers/{distribution_center_code}/orders/{order_id} | Generate a packing slip for this order for the given distribution center.
|
156
157
|
*UltracartClient::FulfillmentApi* | [**get_distribution_center_orders**](docs/FulfillmentApi.md#get_distribution_center_orders) | **GET** /fulfillment/distribution_centers/{distribution_center_code}/orders | Retrieve orders queued up for this distribution center.
|
157
158
|
*UltracartClient::FulfillmentApi* | [**get_distribution_centers**](docs/FulfillmentApi.md#get_distribution_centers) | **GET** /fulfillment/distribution_centers | Retrieve distribution centers
|
158
159
|
*UltracartClient::FulfillmentApi* | [**ship_orders**](docs/FulfillmentApi.md#ship_orders) | **POST** /fulfillment/distribution_centers/{distribution_center_code}/shipments | Mark orders as shipped
|
@@ -176,6 +177,8 @@ Class | Method | HTTP request | Description
|
|
176
177
|
*UltracartClient::OrderApi* | [**delete_order**](docs/OrderApi.md#delete_order) | **DELETE** /order/orders/{order_id} | Delete an order
|
177
178
|
*UltracartClient::OrderApi* | [**format**](docs/OrderApi.md#format) | **POST** /order/orders/{order_id}/format | Format order
|
178
179
|
*UltracartClient::OrderApi* | [**generate_order_token**](docs/OrderApi.md#generate_order_token) | **GET** /order/orders/token/{order_id} | Generate an order token for a given order id
|
180
|
+
*UltracartClient::OrderApi* | [**generate_packing_slip_all_dc**](docs/OrderApi.md#generate_packing_slip_all_dc) | **GET** /order/orders/{order_id}/packing_slip | Generate a packing slip for this order for the given distribution center.
|
181
|
+
*UltracartClient::OrderApi* | [**generate_packing_slip_specific_dc**](docs/OrderApi.md#generate_packing_slip_specific_dc) | **GET** /order/orders/{order_id}/packing_slip/{distribution_center_code} | Generate a packing slip for this order for the given distribution center.
|
179
182
|
*UltracartClient::OrderApi* | [**get_accounts_receivable_retry_config**](docs/OrderApi.md#get_accounts_receivable_retry_config) | **GET** /order/accountsReceivableRetryConfig | Retrieve A/R Retry Configuration
|
180
183
|
*UltracartClient::OrderApi* | [**get_accounts_receivable_retry_stats**](docs/OrderApi.md#get_accounts_receivable_retry_stats) | **GET** /order/accountsReceivableRetryConfig/stats | Retrieve A/R Retry Statistics
|
181
184
|
*UltracartClient::OrderApi* | [**get_order**](docs/OrderApi.md#get_order) | **GET** /order/orders/{order_id} | Retrieve an order
|
@@ -1032,6 +1035,11 @@ Not every change is committed to every SDK.
|
|
1032
1035
|
|
1033
1036
|
| Version | Date | Comments |
|
1034
1037
|
| --: | :-: | --- |
|
1038
|
+
| 3.2.12 | 07/09/2021 | new fulfillment and order methods for generation of packing slips |
|
1039
|
+
| 3.2.11 | 07/08/2021 | screen recording - missing external tracking flag added |
|
1040
|
+
| 3.2.10 | 07/08/2021 | customer profile - allow drop shipping options |
|
1041
|
+
| 3.2.9 | 07/07/2021 | screen recording - provide cost per thousand and retention interval |
|
1042
|
+
| 3.2.8 | 07/06/2021 | intgeration logs - min max log date/time retured in filter values |
|
1035
1043
|
| 3.2.7 | 07/05/2021 | integration logger bug fixes |
|
1036
1044
|
| 3.2.6 | 06/25/2021 | integration log: added logger name |
|
1037
1045
|
| 3.2.2 | 06/24/2021 | integration log file mime type added |
|
data/docs/Customer.md
CHANGED
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**affiliate_oid** | **Integer** | Affiliate oid | [optional]
|
8
8
|
**allow_3rd_party_billing** | **BOOLEAN** | Allow 3rd party billing | [optional]
|
9
9
|
**allow_cod** | **BOOLEAN** | Allow COD | [optional]
|
10
|
+
**allow_drop_shipping** | **BOOLEAN** | Allow Drop Shipping | [optional]
|
10
11
|
**allow_purchase_order** | **BOOLEAN** | Allow purchase orders by this customer | [optional]
|
11
12
|
**allow_quote_request** | **BOOLEAN** | Allow quote request | [optional]
|
12
13
|
**allow_selection_of_address_type** | **BOOLEAN** | Allow selection of residential or business address type | [optional]
|
data/docs/FulfillmentApi.md
CHANGED
@@ -5,6 +5,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**acknowledge_orders**](FulfillmentApi.md#acknowledge_orders) | **PUT** /fulfillment/distribution_centers/{distribution_center_code}/acknowledgements | Acknowledge receipt of orders.
|
8
|
+
[**generate_packing_slip**](FulfillmentApi.md#generate_packing_slip) | **GET** /fulfillment/distribution_centers/{distribution_center_code}/orders/{order_id} | Generate a packing slip for this order for the given distribution center.
|
8
9
|
[**get_distribution_center_orders**](FulfillmentApi.md#get_distribution_center_orders) | **GET** /fulfillment/distribution_centers/{distribution_center_code}/orders | Retrieve orders queued up for this distribution center.
|
9
10
|
[**get_distribution_centers**](FulfillmentApi.md#get_distribution_centers) | **GET** /fulfillment/distribution_centers | Retrieve distribution centers
|
10
11
|
[**ship_orders**](FulfillmentApi.md#ship_orders) | **POST** /fulfillment/distribution_centers/{distribution_center_code}/shipments | Mark orders as shipped
|
@@ -63,6 +64,59 @@ nil (empty response body)
|
|
63
64
|
|
64
65
|
|
65
66
|
|
67
|
+
# **generate_packing_slip**
|
68
|
+
> OrdersResponse generate_packing_slip(distribution_center_code, order_id)
|
69
|
+
|
70
|
+
Generate a packing slip for this order for the given distribution center.
|
71
|
+
|
72
|
+
The packing slip PDF that is returned is base 64 encoded
|
73
|
+
|
74
|
+
### Example
|
75
|
+
```ruby
|
76
|
+
# load the gem
|
77
|
+
require 'ultracart_api'
|
78
|
+
|
79
|
+
# Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
|
80
|
+
simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
|
81
|
+
api_instance = UltracartClient::FulfillmentApi.new_using_api_key(simple_key, false, false)
|
82
|
+
|
83
|
+
|
84
|
+
distribution_center_code = 'distribution_center_code_example' # String | Distribution center code
|
85
|
+
|
86
|
+
order_id = 'order_id_example' # String | Order ID
|
87
|
+
|
88
|
+
|
89
|
+
begin
|
90
|
+
#Generate a packing slip for this order for the given distribution center.
|
91
|
+
result = api_instance.generate_packing_slip(distribution_center_code, order_id)
|
92
|
+
p result
|
93
|
+
rescue UltracartClient::ApiError => e
|
94
|
+
puts "Exception when calling FulfillmentApi->generate_packing_slip: #{e}"
|
95
|
+
end
|
96
|
+
```
|
97
|
+
|
98
|
+
### Parameters
|
99
|
+
|
100
|
+
Name | Type | Description | Notes
|
101
|
+
------------- | ------------- | ------------- | -------------
|
102
|
+
**distribution_center_code** | **String**| Distribution center code |
|
103
|
+
**order_id** | **String**| Order ID |
|
104
|
+
|
105
|
+
### Return type
|
106
|
+
|
107
|
+
[**OrdersResponse**](OrdersResponse.md)
|
108
|
+
|
109
|
+
### Authorization
|
110
|
+
|
111
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
112
|
+
|
113
|
+
### HTTP request headers
|
114
|
+
|
115
|
+
- **Content-Type**: application/json
|
116
|
+
- **Accept**: application/json
|
117
|
+
|
118
|
+
|
119
|
+
|
66
120
|
# **get_distribution_center_orders**
|
67
121
|
> OrdersResponse get_distribution_center_orders(distribution_center_code)
|
68
122
|
|
data/docs/IntegrationLog.md
CHANGED
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
10
10
|
**integration_log_oid** | **Integer** | | [optional]
|
11
11
|
**item_id** | **String** | | [optional]
|
12
12
|
**item_ipn_oid** | **Integer** | | [optional]
|
13
|
-
**log_dts** | **String** |
|
13
|
+
**log_dts** | **String** | Date/time the integration log was created | [optional]
|
14
14
|
**log_type** | **String** | | [optional]
|
15
15
|
**logger_id** | **String** | | [optional]
|
16
16
|
**logger_name** | **String** | | [optional]
|
@@ -9,6 +9,8 @@ Name | Type | Description | Notes
|
|
9
9
|
**file_names** | **Array<String>** | | [optional]
|
10
10
|
**item_ids** | **Array<String>** | | [optional]
|
11
11
|
**item_ipn_oids** | **Array<Integer>** | | [optional]
|
12
|
+
**log_dts_max** | **String** | Maximum date/time log date/time | [optional]
|
13
|
+
**log_dts_min** | **String** | Minimum date/time log date/time | [optional]
|
12
14
|
**log_types** | **Array<String>** | | [optional]
|
13
15
|
**logger_names** | **Array<String>** | | [optional]
|
14
16
|
**order_ids** | **Array<String>** | | [optional]
|
data/docs/OrderApi.md
CHANGED
@@ -9,6 +9,8 @@ Method | HTTP request | Description
|
|
9
9
|
[**delete_order**](OrderApi.md#delete_order) | **DELETE** /order/orders/{order_id} | Delete an order
|
10
10
|
[**format**](OrderApi.md#format) | **POST** /order/orders/{order_id}/format | Format order
|
11
11
|
[**generate_order_token**](OrderApi.md#generate_order_token) | **GET** /order/orders/token/{order_id} | Generate an order token for a given order id
|
12
|
+
[**generate_packing_slip_all_dc**](OrderApi.md#generate_packing_slip_all_dc) | **GET** /order/orders/{order_id}/packing_slip | Generate a packing slip for this order for the given distribution center.
|
13
|
+
[**generate_packing_slip_specific_dc**](OrderApi.md#generate_packing_slip_specific_dc) | **GET** /order/orders/{order_id}/packing_slip/{distribution_center_code} | Generate a packing slip for this order for the given distribution center.
|
12
14
|
[**get_accounts_receivable_retry_config**](OrderApi.md#get_accounts_receivable_retry_config) | **GET** /order/accountsReceivableRetryConfig | Retrieve A/R Retry Configuration
|
13
15
|
[**get_accounts_receivable_retry_stats**](OrderApi.md#get_accounts_receivable_retry_stats) | **GET** /order/accountsReceivableRetryConfig/stats | Retrieve A/R Retry Statistics
|
14
16
|
[**get_order**](OrderApi.md#get_order) | **GET** /order/orders/{order_id} | Retrieve an order
|
@@ -281,6 +283,109 @@ Name | Type | Description | Notes
|
|
281
283
|
|
282
284
|
|
283
285
|
|
286
|
+
# **generate_packing_slip_all_dc**
|
287
|
+
> OrdersResponse generate_packing_slip_all_dc(order_id)
|
288
|
+
|
289
|
+
Generate a packing slip for this order for the given distribution center.
|
290
|
+
|
291
|
+
The packing slip PDF that is returned is base 64 encoded
|
292
|
+
|
293
|
+
### Example
|
294
|
+
```ruby
|
295
|
+
# load the gem
|
296
|
+
require 'ultracart_api'
|
297
|
+
|
298
|
+
# Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
|
299
|
+
simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
|
300
|
+
api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
|
301
|
+
|
302
|
+
|
303
|
+
order_id = 'order_id_example' # String | Order ID
|
304
|
+
|
305
|
+
|
306
|
+
begin
|
307
|
+
#Generate a packing slip for this order for the given distribution center.
|
308
|
+
result = api_instance.generate_packing_slip_all_dc(order_id)
|
309
|
+
p result
|
310
|
+
rescue UltracartClient::ApiError => e
|
311
|
+
puts "Exception when calling OrderApi->generate_packing_slip_all_dc: #{e}"
|
312
|
+
end
|
313
|
+
```
|
314
|
+
|
315
|
+
### Parameters
|
316
|
+
|
317
|
+
Name | Type | Description | Notes
|
318
|
+
------------- | ------------- | ------------- | -------------
|
319
|
+
**order_id** | **String**| Order ID |
|
320
|
+
|
321
|
+
### Return type
|
322
|
+
|
323
|
+
[**OrdersResponse**](OrdersResponse.md)
|
324
|
+
|
325
|
+
### Authorization
|
326
|
+
|
327
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
328
|
+
|
329
|
+
### HTTP request headers
|
330
|
+
|
331
|
+
- **Content-Type**: application/json
|
332
|
+
- **Accept**: application/json
|
333
|
+
|
334
|
+
|
335
|
+
|
336
|
+
# **generate_packing_slip_specific_dc**
|
337
|
+
> OrdersResponse generate_packing_slip_specific_dc(distribution_center_code, order_id)
|
338
|
+
|
339
|
+
Generate a packing slip for this order for the given distribution center.
|
340
|
+
|
341
|
+
The packing slip PDF that is returned is base 64 encoded
|
342
|
+
|
343
|
+
### Example
|
344
|
+
```ruby
|
345
|
+
# load the gem
|
346
|
+
require 'ultracart_api'
|
347
|
+
|
348
|
+
# Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
|
349
|
+
simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
|
350
|
+
api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
|
351
|
+
|
352
|
+
|
353
|
+
distribution_center_code = 'distribution_center_code_example' # String | Distribution center code
|
354
|
+
|
355
|
+
order_id = 'order_id_example' # String | Order ID
|
356
|
+
|
357
|
+
|
358
|
+
begin
|
359
|
+
#Generate a packing slip for this order for the given distribution center.
|
360
|
+
result = api_instance.generate_packing_slip_specific_dc(distribution_center_code, order_id)
|
361
|
+
p result
|
362
|
+
rescue UltracartClient::ApiError => e
|
363
|
+
puts "Exception when calling OrderApi->generate_packing_slip_specific_dc: #{e}"
|
364
|
+
end
|
365
|
+
```
|
366
|
+
|
367
|
+
### Parameters
|
368
|
+
|
369
|
+
Name | Type | Description | Notes
|
370
|
+
------------- | ------------- | ------------- | -------------
|
371
|
+
**distribution_center_code** | **String**| Distribution center code |
|
372
|
+
**order_id** | **String**| Order ID |
|
373
|
+
|
374
|
+
### Return type
|
375
|
+
|
376
|
+
[**OrdersResponse**](OrdersResponse.md)
|
377
|
+
|
378
|
+
### Authorization
|
379
|
+
|
380
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
381
|
+
|
382
|
+
### HTTP request headers
|
383
|
+
|
384
|
+
- **Content-Type**: application/json
|
385
|
+
- **Accept**: application/json
|
386
|
+
|
387
|
+
|
388
|
+
|
284
389
|
# **get_accounts_receivable_retry_config**
|
285
390
|
> AccountsReceivableRetryConfigResponse get_accounts_receivable_retry_config
|
286
391
|
|
data/docs/ScreenRecording.md
CHANGED
@@ -27,6 +27,7 @@ Name | Type | Description | Notes
|
|
27
27
|
**language_iso_code** | **String** | Language ISO code | [optional]
|
28
28
|
**merchant_id** | **String** | | [optional]
|
29
29
|
**merchant_notes** | **String** | | [optional]
|
30
|
+
**missing_external_tracking** | **BOOLEAN** | True if external page view was not tracked | [optional]
|
30
31
|
**order_id** | **String** | | [optional]
|
31
32
|
**page_view_count** | **Integer** | | [optional]
|
32
33
|
**page_views** | [**Array<ScreenRecordingPageView>**](ScreenRecordingPageView.md) | | [optional]
|
@@ -3,6 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
+
**checkout_only** | **BOOLEAN** | | [optional]
|
6
7
|
**error** | [**Error**](Error.md) | | [optional]
|
7
8
|
**filter** | [**ScreenRecordingFilter**](ScreenRecordingFilter.md) | | [optional]
|
8
9
|
**filter_values** | [**ScreenRecordingFilterValues**](ScreenRecordingFilterValues.md) | | [optional]
|
@@ -3,6 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
+
**checkout_only** | **BOOLEAN** | | [optional]
|
6
7
|
**error** | [**Error**](Error.md) | | [optional]
|
7
8
|
**metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional]
|
8
9
|
**screen_recording** | [**ScreenRecording**](ScreenRecording.md) | | [optional]
|
@@ -3,7 +3,9 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
+
**cost_per_thousand** | **Float** | Cost per one thousand sessions | [optional]
|
6
7
|
**enabled** | **BOOLEAN** | | [optional]
|
8
|
+
**retention_interval** | **String** | How long screen recording data is retained | [optional]
|
7
9
|
**sessions_current_billing_period** | **Integer** | | [optional]
|
8
10
|
**sessions_last_billing_period** | **Integer** | | [optional]
|
9
11
|
**sessions_trial_billing_period** | **Integer** | | [optional]
|
@@ -92,6 +92,67 @@ module UltracartClient
|
|
92
92
|
end
|
93
93
|
return data, status_code, headers
|
94
94
|
end
|
95
|
+
# Generate a packing slip for this order for the given distribution center.
|
96
|
+
# The packing slip PDF that is returned is base 64 encoded
|
97
|
+
# @param distribution_center_code Distribution center code
|
98
|
+
# @param order_id Order ID
|
99
|
+
# @param [Hash] opts the optional parameters
|
100
|
+
# @return [OrdersResponse]
|
101
|
+
def generate_packing_slip(distribution_center_code, order_id, opts = {})
|
102
|
+
data, _status_code, _headers = generate_packing_slip_with_http_info(distribution_center_code, order_id, opts)
|
103
|
+
data
|
104
|
+
end
|
105
|
+
|
106
|
+
# Generate a packing slip for this order for the given distribution center.
|
107
|
+
# The packing slip PDF that is returned is base 64 encoded
|
108
|
+
# @param distribution_center_code Distribution center code
|
109
|
+
# @param order_id Order ID
|
110
|
+
# @param [Hash] opts the optional parameters
|
111
|
+
# @return [Array<(OrdersResponse, Fixnum, Hash)>] OrdersResponse data, response status code and response headers
|
112
|
+
def generate_packing_slip_with_http_info(distribution_center_code, order_id, opts = {})
|
113
|
+
if @api_client.config.debugging
|
114
|
+
@api_client.config.logger.debug 'Calling API: FulfillmentApi.generate_packing_slip ...'
|
115
|
+
end
|
116
|
+
# verify the required parameter 'distribution_center_code' is set
|
117
|
+
if @api_client.config.client_side_validation && distribution_center_code.nil?
|
118
|
+
fail ArgumentError, "Missing the required parameter 'distribution_center_code' when calling FulfillmentApi.generate_packing_slip"
|
119
|
+
end
|
120
|
+
# verify the required parameter 'order_id' is set
|
121
|
+
if @api_client.config.client_side_validation && order_id.nil?
|
122
|
+
fail ArgumentError, "Missing the required parameter 'order_id' when calling FulfillmentApi.generate_packing_slip"
|
123
|
+
end
|
124
|
+
# resource path
|
125
|
+
local_var_path = '/fulfillment/distribution_centers/{distribution_center_code}/orders/{order_id}'.sub('{' + 'distribution_center_code' + '}', distribution_center_code.to_s).sub('{' + 'order_id' + '}', order_id.to_s)
|
126
|
+
|
127
|
+
# query parameters
|
128
|
+
query_params = {}
|
129
|
+
|
130
|
+
# header parameters
|
131
|
+
header_params = {}
|
132
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
133
|
+
# HTTP header 'Accept' (if needed)
|
134
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
135
|
+
# HTTP header 'Content-Type'
|
136
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
137
|
+
|
138
|
+
# form parameters
|
139
|
+
form_params = {}
|
140
|
+
|
141
|
+
# http body (model)
|
142
|
+
post_body = nil
|
143
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
144
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
145
|
+
:header_params => header_params,
|
146
|
+
:query_params => query_params,
|
147
|
+
:form_params => form_params,
|
148
|
+
:body => post_body,
|
149
|
+
:auth_names => auth_names,
|
150
|
+
:return_type => 'OrdersResponse')
|
151
|
+
if @api_client.config.debugging
|
152
|
+
@api_client.config.logger.debug "API called: FulfillmentApi#generate_packing_slip\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
153
|
+
end
|
154
|
+
return data, status_code, headers
|
155
|
+
end
|
95
156
|
# Retrieve orders queued up for this distribution center.
|
96
157
|
# Retrieves up to 100 orders that are queued up in this distribution center. You must acknowledge them before additional new orders will be returned. There is NO record chunking. You'll get the same 100 records again and again until you acknowledge orders. The orders that are returned contain only items for this distribution center and are by default completely expanded with billing, buysafe, channel_partner, checkout, coupons, customer_profile, edi, gift, gift_certificate, internal, items, payment, shipping, summary, taxes.
|
97
158
|
# @param distribution_center_code Distribution center code
|
@@ -318,6 +318,122 @@ module UltracartClient
|
|
318
318
|
end
|
319
319
|
return data, status_code, headers
|
320
320
|
end
|
321
|
+
# Generate a packing slip for this order for the given distribution center.
|
322
|
+
# The packing slip PDF that is returned is base 64 encoded
|
323
|
+
# @param order_id Order ID
|
324
|
+
# @param [Hash] opts the optional parameters
|
325
|
+
# @return [OrdersResponse]
|
326
|
+
def generate_packing_slip_all_dc(order_id, opts = {})
|
327
|
+
data, _status_code, _headers = generate_packing_slip_all_dc_with_http_info(order_id, opts)
|
328
|
+
data
|
329
|
+
end
|
330
|
+
|
331
|
+
# Generate a packing slip for this order for the given distribution center.
|
332
|
+
# The packing slip PDF that is returned is base 64 encoded
|
333
|
+
# @param order_id Order ID
|
334
|
+
# @param [Hash] opts the optional parameters
|
335
|
+
# @return [Array<(OrdersResponse, Fixnum, Hash)>] OrdersResponse data, response status code and response headers
|
336
|
+
def generate_packing_slip_all_dc_with_http_info(order_id, opts = {})
|
337
|
+
if @api_client.config.debugging
|
338
|
+
@api_client.config.logger.debug 'Calling API: OrderApi.generate_packing_slip_all_dc ...'
|
339
|
+
end
|
340
|
+
# verify the required parameter 'order_id' is set
|
341
|
+
if @api_client.config.client_side_validation && order_id.nil?
|
342
|
+
fail ArgumentError, "Missing the required parameter 'order_id' when calling OrderApi.generate_packing_slip_all_dc"
|
343
|
+
end
|
344
|
+
# resource path
|
345
|
+
local_var_path = '/order/orders/{order_id}/packing_slip'.sub('{' + 'order_id' + '}', order_id.to_s)
|
346
|
+
|
347
|
+
# query parameters
|
348
|
+
query_params = {}
|
349
|
+
|
350
|
+
# header parameters
|
351
|
+
header_params = {}
|
352
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
353
|
+
# HTTP header 'Accept' (if needed)
|
354
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
355
|
+
# HTTP header 'Content-Type'
|
356
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
357
|
+
|
358
|
+
# form parameters
|
359
|
+
form_params = {}
|
360
|
+
|
361
|
+
# http body (model)
|
362
|
+
post_body = nil
|
363
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
364
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
365
|
+
:header_params => header_params,
|
366
|
+
:query_params => query_params,
|
367
|
+
:form_params => form_params,
|
368
|
+
:body => post_body,
|
369
|
+
:auth_names => auth_names,
|
370
|
+
:return_type => 'OrdersResponse')
|
371
|
+
if @api_client.config.debugging
|
372
|
+
@api_client.config.logger.debug "API called: OrderApi#generate_packing_slip_all_dc\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
373
|
+
end
|
374
|
+
return data, status_code, headers
|
375
|
+
end
|
376
|
+
# Generate a packing slip for this order for the given distribution center.
|
377
|
+
# The packing slip PDF that is returned is base 64 encoded
|
378
|
+
# @param distribution_center_code Distribution center code
|
379
|
+
# @param order_id Order ID
|
380
|
+
# @param [Hash] opts the optional parameters
|
381
|
+
# @return [OrdersResponse]
|
382
|
+
def generate_packing_slip_specific_dc(distribution_center_code, order_id, opts = {})
|
383
|
+
data, _status_code, _headers = generate_packing_slip_specific_dc_with_http_info(distribution_center_code, order_id, opts)
|
384
|
+
data
|
385
|
+
end
|
386
|
+
|
387
|
+
# Generate a packing slip for this order for the given distribution center.
|
388
|
+
# The packing slip PDF that is returned is base 64 encoded
|
389
|
+
# @param distribution_center_code Distribution center code
|
390
|
+
# @param order_id Order ID
|
391
|
+
# @param [Hash] opts the optional parameters
|
392
|
+
# @return [Array<(OrdersResponse, Fixnum, Hash)>] OrdersResponse data, response status code and response headers
|
393
|
+
def generate_packing_slip_specific_dc_with_http_info(distribution_center_code, order_id, opts = {})
|
394
|
+
if @api_client.config.debugging
|
395
|
+
@api_client.config.logger.debug 'Calling API: OrderApi.generate_packing_slip_specific_dc ...'
|
396
|
+
end
|
397
|
+
# verify the required parameter 'distribution_center_code' is set
|
398
|
+
if @api_client.config.client_side_validation && distribution_center_code.nil?
|
399
|
+
fail ArgumentError, "Missing the required parameter 'distribution_center_code' when calling OrderApi.generate_packing_slip_specific_dc"
|
400
|
+
end
|
401
|
+
# verify the required parameter 'order_id' is set
|
402
|
+
if @api_client.config.client_side_validation && order_id.nil?
|
403
|
+
fail ArgumentError, "Missing the required parameter 'order_id' when calling OrderApi.generate_packing_slip_specific_dc"
|
404
|
+
end
|
405
|
+
# resource path
|
406
|
+
local_var_path = '/order/orders/{order_id}/packing_slip/{distribution_center_code}'.sub('{' + 'distribution_center_code' + '}', distribution_center_code.to_s).sub('{' + 'order_id' + '}', order_id.to_s)
|
407
|
+
|
408
|
+
# query parameters
|
409
|
+
query_params = {}
|
410
|
+
|
411
|
+
# header parameters
|
412
|
+
header_params = {}
|
413
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
414
|
+
# HTTP header 'Accept' (if needed)
|
415
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
416
|
+
# HTTP header 'Content-Type'
|
417
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
418
|
+
|
419
|
+
# form parameters
|
420
|
+
form_params = {}
|
421
|
+
|
422
|
+
# http body (model)
|
423
|
+
post_body = nil
|
424
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
425
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
426
|
+
:header_params => header_params,
|
427
|
+
:query_params => query_params,
|
428
|
+
:form_params => form_params,
|
429
|
+
:body => post_body,
|
430
|
+
:auth_names => auth_names,
|
431
|
+
:return_type => 'OrdersResponse')
|
432
|
+
if @api_client.config.debugging
|
433
|
+
@api_client.config.logger.debug "API called: OrderApi#generate_packing_slip_specific_dc\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
434
|
+
end
|
435
|
+
return data, status_code, headers
|
436
|
+
end
|
321
437
|
# Retrieve A/R Retry Configuration
|
322
438
|
# Retrieve A/R Retry Configuration. This is primarily an internal API call. It is doubtful you would ever need to use it.
|
323
439
|
# @param [Hash] opts the optional parameters
|
@@ -25,6 +25,9 @@ module UltracartClient
|
|
25
25
|
# Allow COD
|
26
26
|
attr_accessor :allow_cod
|
27
27
|
|
28
|
+
# Allow Drop Shipping
|
29
|
+
attr_accessor :allow_drop_shipping
|
30
|
+
|
28
31
|
# Allow purchase orders by this customer
|
29
32
|
attr_accessor :allow_purchase_order
|
30
33
|
|
@@ -188,6 +191,7 @@ module UltracartClient
|
|
188
191
|
:'affiliate_oid' => :'affiliate_oid',
|
189
192
|
:'allow_3rd_party_billing' => :'allow_3rd_party_billing',
|
190
193
|
:'allow_cod' => :'allow_cod',
|
194
|
+
:'allow_drop_shipping' => :'allow_drop_shipping',
|
191
195
|
:'allow_purchase_order' => :'allow_purchase_order',
|
192
196
|
:'allow_quote_request' => :'allow_quote_request',
|
193
197
|
:'allow_selection_of_address_type' => :'allow_selection_of_address_type',
|
@@ -252,6 +256,7 @@ module UltracartClient
|
|
252
256
|
:'affiliate_oid' => :'Integer',
|
253
257
|
:'allow_3rd_party_billing' => :'BOOLEAN',
|
254
258
|
:'allow_cod' => :'BOOLEAN',
|
259
|
+
:'allow_drop_shipping' => :'BOOLEAN',
|
255
260
|
:'allow_purchase_order' => :'BOOLEAN',
|
256
261
|
:'allow_quote_request' => :'BOOLEAN',
|
257
262
|
:'allow_selection_of_address_type' => :'BOOLEAN',
|
@@ -333,6 +338,10 @@ module UltracartClient
|
|
333
338
|
self.allow_cod = attributes[:'allow_cod']
|
334
339
|
end
|
335
340
|
|
341
|
+
if attributes.has_key?(:'allow_drop_shipping')
|
342
|
+
self.allow_drop_shipping = attributes[:'allow_drop_shipping']
|
343
|
+
end
|
344
|
+
|
336
345
|
if attributes.has_key?(:'allow_purchase_order')
|
337
346
|
self.allow_purchase_order = attributes[:'allow_purchase_order']
|
338
347
|
end
|
@@ -757,6 +766,7 @@ module UltracartClient
|
|
757
766
|
affiliate_oid == o.affiliate_oid &&
|
758
767
|
allow_3rd_party_billing == o.allow_3rd_party_billing &&
|
759
768
|
allow_cod == o.allow_cod &&
|
769
|
+
allow_drop_shipping == o.allow_drop_shipping &&
|
760
770
|
allow_purchase_order == o.allow_purchase_order &&
|
761
771
|
allow_quote_request == o.allow_quote_request &&
|
762
772
|
allow_selection_of_address_type == o.allow_selection_of_address_type &&
|
@@ -822,7 +832,7 @@ module UltracartClient
|
|
822
832
|
# Calculates hash code according to all attributes.
|
823
833
|
# @return [Fixnum] Hash code
|
824
834
|
def hash
|
825
|
-
[activity, affiliate_oid, allow_3rd_party_billing, allow_cod, allow_purchase_order, allow_quote_request, allow_selection_of_address_type, attachments, auto_approve_cod, auto_approve_purchase_order, automatic_merchant_notes, billing, business_notes, cards, cc_emails, customer_profile_oid, dhl_account_number, dhl_duty_account_number, email, exempt_shipping_handling_charge, fedex_account_number, free_shipping, free_shipping_minimum, last_modified_by, last_modified_dts, loyalty, maximum_item_count, minimum_item_count, minimum_subtotal, no_coupons, no_free_shipping, no_realtime_charge, orders, orders_summary, password, pricing_tiers, privacy, qb_class, qb_code, quotes, quotes_summary, referral_source, reviewer, sales_rep_code, send_signup_notification, shipping, signup_dts, software_entitlements, suppress_buysafe, tags, tax_codes, tax_exempt, tax_id, terms, track_separately, unapproved, ups_account_number, website_url].hash
|
835
|
+
[activity, affiliate_oid, allow_3rd_party_billing, allow_cod, allow_drop_shipping, allow_purchase_order, allow_quote_request, allow_selection_of_address_type, attachments, auto_approve_cod, auto_approve_purchase_order, automatic_merchant_notes, billing, business_notes, cards, cc_emails, customer_profile_oid, dhl_account_number, dhl_duty_account_number, email, exempt_shipping_handling_charge, fedex_account_number, free_shipping, free_shipping_minimum, last_modified_by, last_modified_dts, loyalty, maximum_item_count, minimum_item_count, minimum_subtotal, no_coupons, no_free_shipping, no_realtime_charge, orders, orders_summary, password, pricing_tiers, privacy, qb_class, qb_code, quotes, quotes_summary, referral_source, reviewer, sales_rep_code, send_signup_notification, shipping, signup_dts, software_entitlements, suppress_buysafe, tags, tax_codes, tax_exempt, tax_id, terms, track_separately, unapproved, ups_account_number, website_url].hash
|
826
836
|
end
|
827
837
|
|
828
838
|
# Builds the object from hash
|
@@ -26,6 +26,12 @@ module UltracartClient
|
|
26
26
|
|
27
27
|
attr_accessor :item_ipn_oids
|
28
28
|
|
29
|
+
# Maximum date/time log date/time
|
30
|
+
attr_accessor :log_dts_max
|
31
|
+
|
32
|
+
# Minimum date/time log date/time
|
33
|
+
attr_accessor :log_dts_min
|
34
|
+
|
29
35
|
attr_accessor :log_types
|
30
36
|
|
31
37
|
attr_accessor :logger_names
|
@@ -43,6 +49,8 @@ module UltracartClient
|
|
43
49
|
:'file_names' => :'file_names',
|
44
50
|
:'item_ids' => :'item_ids',
|
45
51
|
:'item_ipn_oids' => :'item_ipn_oids',
|
52
|
+
:'log_dts_max' => :'log_dts_max',
|
53
|
+
:'log_dts_min' => :'log_dts_min',
|
46
54
|
:'log_types' => :'log_types',
|
47
55
|
:'logger_names' => :'logger_names',
|
48
56
|
:'order_ids' => :'order_ids',
|
@@ -59,6 +67,8 @@ module UltracartClient
|
|
59
67
|
:'file_names' => :'Array<String>',
|
60
68
|
:'item_ids' => :'Array<String>',
|
61
69
|
:'item_ipn_oids' => :'Array<Integer>',
|
70
|
+
:'log_dts_max' => :'String',
|
71
|
+
:'log_dts_min' => :'String',
|
62
72
|
:'log_types' => :'Array<String>',
|
63
73
|
:'logger_names' => :'Array<String>',
|
64
74
|
:'order_ids' => :'Array<String>',
|
@@ -110,6 +120,14 @@ module UltracartClient
|
|
110
120
|
end
|
111
121
|
end
|
112
122
|
|
123
|
+
if attributes.has_key?(:'log_dts_max')
|
124
|
+
self.log_dts_max = attributes[:'log_dts_max']
|
125
|
+
end
|
126
|
+
|
127
|
+
if attributes.has_key?(:'log_dts_min')
|
128
|
+
self.log_dts_min = attributes[:'log_dts_min']
|
129
|
+
end
|
130
|
+
|
113
131
|
if attributes.has_key?(:'log_types')
|
114
132
|
if (value = attributes[:'log_types']).is_a?(Array)
|
115
133
|
self.log_types = value
|
@@ -159,6 +177,8 @@ module UltracartClient
|
|
159
177
|
file_names == o.file_names &&
|
160
178
|
item_ids == o.item_ids &&
|
161
179
|
item_ipn_oids == o.item_ipn_oids &&
|
180
|
+
log_dts_max == o.log_dts_max &&
|
181
|
+
log_dts_min == o.log_dts_min &&
|
162
182
|
log_types == o.log_types &&
|
163
183
|
logger_names == o.logger_names &&
|
164
184
|
order_ids == o.order_ids &&
|
@@ -174,7 +194,7 @@ module UltracartClient
|
|
174
194
|
# Calculates hash code according to all attributes.
|
175
195
|
# @return [Fixnum] Hash code
|
176
196
|
def hash
|
177
|
-
[actions, directions, emails, file_names, item_ids, item_ipn_oids, log_types, logger_names, order_ids, statuses].hash
|
197
|
+
[actions, directions, emails, file_names, item_ids, item_ipn_oids, log_dts_max, log_dts_min, log_types, logger_names, order_ids, statuses].hash
|
178
198
|
end
|
179
199
|
|
180
200
|
# Builds the object from hash
|
@@ -72,6 +72,9 @@ module UltracartClient
|
|
72
72
|
|
73
73
|
attr_accessor :merchant_notes
|
74
74
|
|
75
|
+
# True if external page view was not tracked
|
76
|
+
attr_accessor :missing_external_tracking
|
77
|
+
|
75
78
|
attr_accessor :order_id
|
76
79
|
|
77
80
|
attr_accessor :page_view_count
|
@@ -154,6 +157,7 @@ module UltracartClient
|
|
154
157
|
:'language_iso_code' => :'language_iso_code',
|
155
158
|
:'merchant_id' => :'merchant_id',
|
156
159
|
:'merchant_notes' => :'merchant_notes',
|
160
|
+
:'missing_external_tracking' => :'missing_external_tracking',
|
157
161
|
:'order_id' => :'order_id',
|
158
162
|
:'page_view_count' => :'page_view_count',
|
159
163
|
:'page_views' => :'page_views',
|
@@ -209,6 +213,7 @@ module UltracartClient
|
|
209
213
|
:'language_iso_code' => :'String',
|
210
214
|
:'merchant_id' => :'String',
|
211
215
|
:'merchant_notes' => :'String',
|
216
|
+
:'missing_external_tracking' => :'BOOLEAN',
|
212
217
|
:'order_id' => :'String',
|
213
218
|
:'page_view_count' => :'Integer',
|
214
219
|
:'page_views' => :'Array<ScreenRecordingPageView>',
|
@@ -343,6 +348,10 @@ module UltracartClient
|
|
343
348
|
self.merchant_notes = attributes[:'merchant_notes']
|
344
349
|
end
|
345
350
|
|
351
|
+
if attributes.has_key?(:'missing_external_tracking')
|
352
|
+
self.missing_external_tracking = attributes[:'missing_external_tracking']
|
353
|
+
end
|
354
|
+
|
346
355
|
if attributes.has_key?(:'order_id')
|
347
356
|
self.order_id = attributes[:'order_id']
|
348
357
|
end
|
@@ -496,6 +505,7 @@ module UltracartClient
|
|
496
505
|
language_iso_code == o.language_iso_code &&
|
497
506
|
merchant_id == o.merchant_id &&
|
498
507
|
merchant_notes == o.merchant_notes &&
|
508
|
+
missing_external_tracking == o.missing_external_tracking &&
|
499
509
|
order_id == o.order_id &&
|
500
510
|
page_view_count == o.page_view_count &&
|
501
511
|
page_views == o.page_views &&
|
@@ -532,7 +542,7 @@ module UltracartClient
|
|
532
542
|
# Calculates hash code according to all attributes.
|
533
543
|
# @return [Fixnum] Hash code
|
534
544
|
def hash
|
535
|
-
[ad_platform, analytics_client_oid, analytics_session_dts, analytics_session_oid, communications_campaign_name, communications_campaign_uuid, communications_email_subject, communications_email_uuid, communications_flow_name, communications_flow_uuid, email, email_domain, end_timestamp, esp_customer_uuid, events_gz_size, events_json_key, favorite, favorites, geolocation, geolocation_country, geolocation_state, language_iso_code, merchant_id, merchant_notes, order_id, page_view_count, page_views, preferred_language, referrer_domain, rrweb_version, screen_recording_uuid, signed_download_url, start_timestamp, storefront_oids, storefronts, tags, time_on_site, ucacid, user_agent, user_agent_raw, user_ip, user_properties, utm_campaign, utm_source, visitor_first_seen, visitor_number, watched, window_height, window_width].hash
|
545
|
+
[ad_platform, analytics_client_oid, analytics_session_dts, analytics_session_oid, communications_campaign_name, communications_campaign_uuid, communications_email_subject, communications_email_uuid, communications_flow_name, communications_flow_uuid, email, email_domain, end_timestamp, esp_customer_uuid, events_gz_size, events_json_key, favorite, favorites, geolocation, geolocation_country, geolocation_state, language_iso_code, merchant_id, merchant_notes, missing_external_tracking, order_id, page_view_count, page_views, preferred_language, referrer_domain, rrweb_version, screen_recording_uuid, signed_download_url, start_timestamp, storefront_oids, storefronts, tags, time_on_site, ucacid, user_agent, user_agent_raw, user_ip, user_properties, utm_campaign, utm_source, visitor_first_seen, visitor_number, watched, window_height, window_width].hash
|
536
546
|
end
|
537
547
|
|
538
548
|
# Builds the object from hash
|
@@ -14,6 +14,8 @@ require 'date'
|
|
14
14
|
|
15
15
|
module UltracartClient
|
16
16
|
class ScreenRecordingQueryResponse
|
17
|
+
attr_accessor :checkout_only
|
18
|
+
|
17
19
|
attr_accessor :error
|
18
20
|
|
19
21
|
attr_accessor :filter
|
@@ -38,6 +40,7 @@ module UltracartClient
|
|
38
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
39
41
|
def self.attribute_map
|
40
42
|
{
|
43
|
+
:'checkout_only' => :'checkout_only',
|
41
44
|
:'error' => :'error',
|
42
45
|
:'filter' => :'filter',
|
43
46
|
:'filter_values' => :'filter_values',
|
@@ -54,6 +57,7 @@ module UltracartClient
|
|
54
57
|
# Attribute type mapping.
|
55
58
|
def self.swagger_types
|
56
59
|
{
|
60
|
+
:'checkout_only' => :'BOOLEAN',
|
57
61
|
:'error' => :'Error',
|
58
62
|
:'filter' => :'ScreenRecordingFilter',
|
59
63
|
:'filter_values' => :'ScreenRecordingFilterValues',
|
@@ -75,6 +79,10 @@ module UltracartClient
|
|
75
79
|
# convert string to symbol for hash key
|
76
80
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
77
81
|
|
82
|
+
if attributes.has_key?(:'checkout_only')
|
83
|
+
self.checkout_only = attributes[:'checkout_only']
|
84
|
+
end
|
85
|
+
|
78
86
|
if attributes.has_key?(:'error')
|
79
87
|
self.error = attributes[:'error']
|
80
88
|
end
|
@@ -138,6 +146,7 @@ module UltracartClient
|
|
138
146
|
def ==(o)
|
139
147
|
return true if self.equal?(o)
|
140
148
|
self.class == o.class &&
|
149
|
+
checkout_only == o.checkout_only &&
|
141
150
|
error == o.error &&
|
142
151
|
filter == o.filter &&
|
143
152
|
filter_values == o.filter_values &&
|
@@ -159,7 +168,7 @@ module UltracartClient
|
|
159
168
|
# Calculates hash code according to all attributes.
|
160
169
|
# @return [Fixnum] Hash code
|
161
170
|
def hash
|
162
|
-
[error, filter, filter_values, histogram_data, histogram_interval, histogram_start_dts, metadata, screen_recordings, success, warning].hash
|
171
|
+
[checkout_only, error, filter, filter_values, histogram_data, histogram_interval, histogram_start_dts, metadata, screen_recordings, success, warning].hash
|
163
172
|
end
|
164
173
|
|
165
174
|
# Builds the object from hash
|
@@ -14,6 +14,8 @@ require 'date'
|
|
14
14
|
|
15
15
|
module UltracartClient
|
16
16
|
class ScreenRecordingResponse
|
17
|
+
attr_accessor :checkout_only
|
18
|
+
|
17
19
|
attr_accessor :error
|
18
20
|
|
19
21
|
attr_accessor :metadata
|
@@ -28,6 +30,7 @@ module UltracartClient
|
|
28
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
31
|
def self.attribute_map
|
30
32
|
{
|
33
|
+
:'checkout_only' => :'checkout_only',
|
31
34
|
:'error' => :'error',
|
32
35
|
:'metadata' => :'metadata',
|
33
36
|
:'screen_recording' => :'screen_recording',
|
@@ -39,6 +42,7 @@ module UltracartClient
|
|
39
42
|
# Attribute type mapping.
|
40
43
|
def self.swagger_types
|
41
44
|
{
|
45
|
+
:'checkout_only' => :'BOOLEAN',
|
42
46
|
:'error' => :'Error',
|
43
47
|
:'metadata' => :'ResponseMetadata',
|
44
48
|
:'screen_recording' => :'ScreenRecording',
|
@@ -55,6 +59,10 @@ module UltracartClient
|
|
55
59
|
# convert string to symbol for hash key
|
56
60
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
57
61
|
|
62
|
+
if attributes.has_key?(:'checkout_only')
|
63
|
+
self.checkout_only = attributes[:'checkout_only']
|
64
|
+
end
|
65
|
+
|
58
66
|
if attributes.has_key?(:'error')
|
59
67
|
self.error = attributes[:'error']
|
60
68
|
end
|
@@ -94,6 +102,7 @@ module UltracartClient
|
|
94
102
|
def ==(o)
|
95
103
|
return true if self.equal?(o)
|
96
104
|
self.class == o.class &&
|
105
|
+
checkout_only == o.checkout_only &&
|
97
106
|
error == o.error &&
|
98
107
|
metadata == o.metadata &&
|
99
108
|
screen_recording == o.screen_recording &&
|
@@ -110,7 +119,7 @@ module UltracartClient
|
|
110
119
|
# Calculates hash code according to all attributes.
|
111
120
|
# @return [Fixnum] Hash code
|
112
121
|
def hash
|
113
|
-
[error, metadata, screen_recording, success, warning].hash
|
122
|
+
[checkout_only, error, metadata, screen_recording, success, warning].hash
|
114
123
|
end
|
115
124
|
|
116
125
|
# Builds the object from hash
|
@@ -14,8 +14,14 @@ require 'date'
|
|
14
14
|
|
15
15
|
module UltracartClient
|
16
16
|
class ScreenRecordingSettings
|
17
|
+
# Cost per one thousand sessions
|
18
|
+
attr_accessor :cost_per_thousand
|
19
|
+
|
17
20
|
attr_accessor :enabled
|
18
21
|
|
22
|
+
# How long screen recording data is retained
|
23
|
+
attr_accessor :retention_interval
|
24
|
+
|
19
25
|
attr_accessor :sessions_current_billing_period
|
20
26
|
|
21
27
|
attr_accessor :sessions_last_billing_period
|
@@ -29,7 +35,9 @@ module UltracartClient
|
|
29
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
36
|
def self.attribute_map
|
31
37
|
{
|
38
|
+
:'cost_per_thousand' => :'cost_per_thousand',
|
32
39
|
:'enabled' => :'enabled',
|
40
|
+
:'retention_interval' => :'retention_interval',
|
33
41
|
:'sessions_current_billing_period' => :'sessions_current_billing_period',
|
34
42
|
:'sessions_last_billing_period' => :'sessions_last_billing_period',
|
35
43
|
:'sessions_trial_billing_period' => :'sessions_trial_billing_period',
|
@@ -41,7 +49,9 @@ module UltracartClient
|
|
41
49
|
# Attribute type mapping.
|
42
50
|
def self.swagger_types
|
43
51
|
{
|
52
|
+
:'cost_per_thousand' => :'Float',
|
44
53
|
:'enabled' => :'BOOLEAN',
|
54
|
+
:'retention_interval' => :'String',
|
45
55
|
:'sessions_current_billing_period' => :'Integer',
|
46
56
|
:'sessions_last_billing_period' => :'Integer',
|
47
57
|
:'sessions_trial_billing_period' => :'Integer',
|
@@ -58,10 +68,18 @@ module UltracartClient
|
|
58
68
|
# convert string to symbol for hash key
|
59
69
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
60
70
|
|
71
|
+
if attributes.has_key?(:'cost_per_thousand')
|
72
|
+
self.cost_per_thousand = attributes[:'cost_per_thousand']
|
73
|
+
end
|
74
|
+
|
61
75
|
if attributes.has_key?(:'enabled')
|
62
76
|
self.enabled = attributes[:'enabled']
|
63
77
|
end
|
64
78
|
|
79
|
+
if attributes.has_key?(:'retention_interval')
|
80
|
+
self.retention_interval = attributes[:'retention_interval']
|
81
|
+
end
|
82
|
+
|
65
83
|
if attributes.has_key?(:'sessions_current_billing_period')
|
66
84
|
self.sessions_current_billing_period = attributes[:'sessions_current_billing_period']
|
67
85
|
end
|
@@ -101,7 +119,9 @@ module UltracartClient
|
|
101
119
|
def ==(o)
|
102
120
|
return true if self.equal?(o)
|
103
121
|
self.class == o.class &&
|
122
|
+
cost_per_thousand == o.cost_per_thousand &&
|
104
123
|
enabled == o.enabled &&
|
124
|
+
retention_interval == o.retention_interval &&
|
105
125
|
sessions_current_billing_period == o.sessions_current_billing_period &&
|
106
126
|
sessions_last_billing_period == o.sessions_last_billing_period &&
|
107
127
|
sessions_trial_billing_period == o.sessions_trial_billing_period &&
|
@@ -118,7 +138,7 @@ module UltracartClient
|
|
118
138
|
# Calculates hash code according to all attributes.
|
119
139
|
# @return [Fixnum] Hash code
|
120
140
|
def hash
|
121
|
-
[enabled, sessions_current_billing_period, sessions_last_billing_period, sessions_trial_billing_period, trial_expiration, trial_expired].hash
|
141
|
+
[cost_per_thousand, enabled, retention_interval, sessions_current_billing_period, sessions_last_billing_period, sessions_trial_billing_period, trial_expiration, trial_expired].hash
|
122
142
|
end
|
123
143
|
|
124
144
|
# 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.2.
|
4
|
+
version: 3.2.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-07-
|
11
|
+
date: 2021-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|