ultracart_api 3.2.13 → 3.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c0f63c103694ce036268067312ece0840cd6e4ce5bbe1b11456385fb6e88a943
4
- data.tar.gz: 60a7abab5bc8d07865482a1e421f351c240fe2eec6f5c1f792c7a5325237d97a
3
+ metadata.gz: 626bdb13b840746c2ee4cdeb9c7c433d9e49a5cfbe3a194202becb55bc76f696
4
+ data.tar.gz: 160e233860d060e9197659a17c3ec2d92626cf8618747c7bfb766cb9df8fe562
5
5
  SHA512:
6
- metadata.gz: a8e4844ca4bee069ccfb372757a6ce80bf41fc6d4eb82d55ff38154dc1659dc081f0e2eef6d15deb670db872bc8315082d0363b310681fcbb4a7309bbad5605c
7
- data.tar.gz: 29730e090b88d4c6357a415cd6a75517cd9e7e3bc7fcec795e161c615cf6379e4667986ba6535b06174dde3a55c700bb3bb2d52071e88e2722c4c62a3dfd3043
6
+ metadata.gz: 5a50cd08bb0371e6a2c0763d28f31a44c55edf58d9b5782d548f2e2f07d5506b90887a7c5be435d773f87fac79c591382c3bfc0ca0ea82f2de49961116ca7843
7
+ data.tar.gz: b8c0d6a8bd433328409a64c2ecbba849aa460280efe0a1b67dbe8cdd882bc64bb6cc3dc39fe343da13a5c39355be521f7ee3c7c338342f1d0d236b05dd25d5d4
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.13
10
+ - Package version: 3.2.14
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.13.gem
27
+ gem install ./ultracart_api-3.2.14.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.2.13.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.2.14.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.13'
35
+ gem 'ultracart_api', '~> 3.2.14'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -177,7 +177,7 @@ Class | Method | HTTP request | Description
177
177
  *UltracartClient::OrderApi* | [**delete_order**](docs/OrderApi.md#delete_order) | **DELETE** /order/orders/{order_id} | Delete an order
178
178
  *UltracartClient::OrderApi* | [**format**](docs/OrderApi.md#format) | **POST** /order/orders/{order_id}/format | Format order
179
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.
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 across all distribution centers.
181
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.
182
182
  *UltracartClient::OrderApi* | [**get_accounts_receivable_retry_config**](docs/OrderApi.md#get_accounts_receivable_retry_config) | **GET** /order/accountsReceivableRetryConfig | Retrieve A/R Retry Configuration
183
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
@@ -1035,7 +1035,8 @@ Not every change is committed to every SDK.
1035
1035
 
1036
1036
  | Version | Date | Comments |
1037
1037
  | --: | :-: | --- |
1038
- | 3.2.12 | 07/09/2021 | coupon api - added hideFromCustomer flag |
1038
+ | 3.2.14 | 07/12/2021 | fix documentation bug on packing slip methods for order api |
1039
+ | 3.2.13 | 07/12/2021 | coupon api - added hideFromCustomer flag |
1039
1040
  | 3.2.12 | 07/09/2021 | new fulfillment and order methods for generation of packing slips |
1040
1041
  | 3.2.11 | 07/08/2021 | screen recording - missing external tracking flag added |
1041
1042
  | 3.2.10 | 07/08/2021 | customer profile - allow drop shipping options |
data/docs/OrderApi.md CHANGED
@@ -9,7 +9,7 @@ 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.
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 across all distribution centers.
13
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.
14
14
  [**get_accounts_receivable_retry_config**](OrderApi.md#get_accounts_receivable_retry_config) | **GET** /order/accountsReceivableRetryConfig | Retrieve A/R Retry Configuration
15
15
  [**get_accounts_receivable_retry_stats**](OrderApi.md#get_accounts_receivable_retry_stats) | **GET** /order/accountsReceivableRetryConfig/stats | Retrieve A/R Retry Statistics
@@ -286,7 +286,7 @@ Name | Type | Description | Notes
286
286
  # **generate_packing_slip_all_dc**
287
287
  > OrdersResponse generate_packing_slip_all_dc(order_id)
288
288
 
289
- Generate a packing slip for this order for the given distribution center.
289
+ Generate a packing slip for this order across all distribution centers.
290
290
 
291
291
  The packing slip PDF that is returned is base 64 encoded
292
292
 
@@ -304,7 +304,7 @@ order_id = 'order_id_example' # String | Order ID
304
304
 
305
305
 
306
306
  begin
307
- #Generate a packing slip for this order for the given distribution center.
307
+ #Generate a packing slip for this order across all distribution centers.
308
308
  result = api_instance.generate_packing_slip_all_dc(order_id)
309
309
  p result
310
310
  rescue UltracartClient::ApiError => e
data/docs/OrderCoupon.md CHANGED
@@ -7,5 +7,6 @@ Name | Type | Description | Notes
7
7
  **automatically_applied** | **BOOLEAN** | Whether or not the coupon was automatically applied to the order | [optional]
8
8
  **base_coupon_code** | **String** | Coupon code configured by the merchant. Will differ if the customer used a one time coupon code generated off this base coupon | [optional]
9
9
  **coupon_code** | **String** | Coupon code entered by the customer | [optional]
10
+ **hdie_from_customer** | **BOOLEAN** | True if this coupon is hidde from the customer | [optional]
10
11
 
11
12
 
@@ -318,7 +318,7 @@ 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.
321
+ # Generate a packing slip for this order across all distribution centers.
322
322
  # The packing slip PDF that is returned is base 64 encoded
323
323
  # @param order_id Order ID
324
324
  # @param [Hash] opts the optional parameters
@@ -328,7 +328,7 @@ module UltracartClient
328
328
  data
329
329
  end
330
330
 
331
- # Generate a packing slip for this order for the given distribution center.
331
+ # Generate a packing slip for this order across all distribution centers.
332
332
  # The packing slip PDF that is returned is base 64 encoded
333
333
  # @param order_id Order ID
334
334
  # @param [Hash] opts the optional parameters
@@ -26,13 +26,17 @@ module UltracartClient
26
26
  # Coupon code entered by the customer
27
27
  attr_accessor :coupon_code
28
28
 
29
+ # True if this coupon is hidde from the customer
30
+ attr_accessor :hdie_from_customer
31
+
29
32
  # Attribute mapping from ruby-style variable name to JSON key.
30
33
  def self.attribute_map
31
34
  {
32
35
  :'accounting_code' => :'accounting_code',
33
36
  :'automatically_applied' => :'automatically_applied',
34
37
  :'base_coupon_code' => :'base_coupon_code',
35
- :'coupon_code' => :'coupon_code'
38
+ :'coupon_code' => :'coupon_code',
39
+ :'hdie_from_customer' => :'hdie_from_customer'
36
40
  }
37
41
  end
38
42
 
@@ -42,7 +46,8 @@ module UltracartClient
42
46
  :'accounting_code' => :'String',
43
47
  :'automatically_applied' => :'BOOLEAN',
44
48
  :'base_coupon_code' => :'String',
45
- :'coupon_code' => :'String'
49
+ :'coupon_code' => :'String',
50
+ :'hdie_from_customer' => :'BOOLEAN'
46
51
  }
47
52
  end
48
53
 
@@ -69,6 +74,10 @@ module UltracartClient
69
74
  if attributes.has_key?(:'coupon_code')
70
75
  self.coupon_code = attributes[:'coupon_code']
71
76
  end
77
+
78
+ if attributes.has_key?(:'hdie_from_customer')
79
+ self.hdie_from_customer = attributes[:'hdie_from_customer']
80
+ end
72
81
  end
73
82
 
74
83
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -122,7 +131,8 @@ module UltracartClient
122
131
  accounting_code == o.accounting_code &&
123
132
  automatically_applied == o.automatically_applied &&
124
133
  base_coupon_code == o.base_coupon_code &&
125
- coupon_code == o.coupon_code
134
+ coupon_code == o.coupon_code &&
135
+ hdie_from_customer == o.hdie_from_customer
126
136
  end
127
137
 
128
138
  # @see the `==` method
@@ -134,7 +144,7 @@ module UltracartClient
134
144
  # Calculates hash code according to all attributes.
135
145
  # @return [Fixnum] Hash code
136
146
  def hash
137
- [accounting_code, automatically_applied, base_coupon_code, coupon_code].hash
147
+ [accounting_code, automatically_applied, base_coupon_code, coupon_code, hdie_from_customer].hash
138
148
  end
139
149
 
140
150
  # Builds the object from hash
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.2.13'
14
+ VERSION = '3.2.14'
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultracart_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.13
4
+ version: 3.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart