ultracart_api 3.6.1 → 3.6.3

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: fd4bf7891132f3b72bff15619c807d4c2f868fc92e59af46401c56163291d9e7
4
- data.tar.gz: 94c6a2bba0d707f32ecba53eb9a4fba827d7a245efe47520479eea916f229494
3
+ metadata.gz: 8ace3ac7494f41008bbfb58ab99e39470a18b242db80a2685f506664cf77daad
4
+ data.tar.gz: 43d244077f8d17b57c0914c25be5506e56a5b035de63a0f8c5a940cb48b839f0
5
5
  SHA512:
6
- metadata.gz: ba7e94ccf816661d7e23da78c23bc582f693a0c9743fb2f33d9977edeecb4758b7edcb8d88dba64137d8e38195f91aa0a12a4e7600796263f13f4baad4873354
7
- data.tar.gz: 287ef5cdb6ab2e22466b5d0560b83931596ed11eeda0317c023eb8d7def28f273785a529337aa2733356f1c1a6aebbd33d04eeaf2a908e48298a3f82e16be03c
6
+ metadata.gz: 336807f227f0ecd13136a3082f892eb74e5c7e42ab5b253067d41a98fe8e985125c2962494f7c1d6af062b8a520509a6a277c8b07512871e5c865f6a51cc68f2
7
+ data.tar.gz: 4d8ef9244c6648f7b8152f1698e93dc3705b6465988ca940cefe9ff7fe1e2ec8ccc3779f19d4b9c24238579896defb74b1449c77a312a5b7dba2b853f0403515
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.6.1
10
+ - Package version: 3.6.3
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.6.1.gem
27
+ gem install ./ultracart_api-3.6.3.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.6.1.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.6.3.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.6.1'
35
+ gem 'ultracart_api', '~> 3.6.3'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1116,7 +1116,7 @@ Not every change is committed to every SDK.
1116
1116
 
1117
1117
  | Version | Date | Comments |
1118
1118
  | --: | :-: | --- |
1119
- | 3.6.1 | 08/23/2021 | configuration api - enum problems |
1119
+ | 3.6.1 | 08/23/2021 | configuration api - enum problems, also added order.item.tracking_number to support line item tracking numbers |
1120
1120
  | 3.6.0 | 08/19/2021 | coupon api - changed tieredAmountOffItem to support mulitple items |
1121
1121
  | 3.5.3 | 08/18/2021 | configuration api - added credit card rate to UltraCart Payments object |
1122
1122
  | 3.5.1 | 08/11/2021 | email webhook test method |
data/docs/OrderItem.md CHANGED
@@ -52,6 +52,7 @@ Name | Type | Description | Notes
52
52
  **taxable_cost** | [**Currency**](Currency.md) | | [optional]
53
53
  **total_cost_with_discount** | [**Currency**](Currency.md) | | [optional]
54
54
  **total_refunded** | [**Currency**](Currency.md) | | [optional]
55
+ **tracking_number** | **String** | Tracking number, if null or missing, use order level tracking number(s). Used if there are multiple shipments for one order | [optional]
55
56
  **transmitted_to_distribution_center_dts** | **String** | Date/time that this item was transmitted to the distribution center | [optional]
56
57
  **unit_cost_with_discount** | [**Currency**](Currency.md) | | [optional]
57
58
  **upsell** | **BOOLEAN** | True if this item was added to the order as part of an upsell | [optional]
@@ -151,6 +151,9 @@ module UltracartClient
151
151
 
152
152
  attr_accessor :total_refunded
153
153
 
154
+ # Tracking number, if null or missing, use order level tracking number(s). Used if there are multiple shipments for one order
155
+ attr_accessor :tracking_number
156
+
154
157
  # Date/time that this item was transmitted to the distribution center
155
158
  attr_accessor :transmitted_to_distribution_center_dts
156
159
 
@@ -215,6 +218,7 @@ module UltracartClient
215
218
  :'taxable_cost' => :'taxable_cost',
216
219
  :'total_cost_with_discount' => :'total_cost_with_discount',
217
220
  :'total_refunded' => :'total_refunded',
221
+ :'tracking_number' => :'tracking_number',
218
222
  :'transmitted_to_distribution_center_dts' => :'transmitted_to_distribution_center_dts',
219
223
  :'unit_cost_with_discount' => :'unit_cost_with_discount',
220
224
  :'upsell' => :'upsell',
@@ -275,6 +279,7 @@ module UltracartClient
275
279
  :'taxable_cost' => :'Currency',
276
280
  :'total_cost_with_discount' => :'Currency',
277
281
  :'total_refunded' => :'Currency',
282
+ :'tracking_number' => :'String',
278
283
  :'transmitted_to_distribution_center_dts' => :'String',
279
284
  :'unit_cost_with_discount' => :'Currency',
280
285
  :'upsell' => :'BOOLEAN',
@@ -495,6 +500,10 @@ module UltracartClient
495
500
  self.total_refunded = attributes[:'total_refunded']
496
501
  end
497
502
 
503
+ if attributes.has_key?(:'tracking_number')
504
+ self.tracking_number = attributes[:'tracking_number']
505
+ end
506
+
498
507
  if attributes.has_key?(:'transmitted_to_distribution_center_dts')
499
508
  self.transmitted_to_distribution_center_dts = attributes[:'transmitted_to_distribution_center_dts']
500
509
  end
@@ -673,6 +682,7 @@ module UltracartClient
673
682
  taxable_cost == o.taxable_cost &&
674
683
  total_cost_with_discount == o.total_cost_with_discount &&
675
684
  total_refunded == o.total_refunded &&
685
+ tracking_number == o.tracking_number &&
676
686
  transmitted_to_distribution_center_dts == o.transmitted_to_distribution_center_dts &&
677
687
  unit_cost_with_discount == o.unit_cost_with_discount &&
678
688
  upsell == o.upsell &&
@@ -689,7 +699,7 @@ module UltracartClient
689
699
  # Calculates hash code according to all attributes.
690
700
  # @return [Fixnum] Hash code
691
701
  def hash
692
- [accounting_code, activation_codes, arbitrary_unit_cost, auto_order_last_rebill_dts, auto_order_schedule, barcode, channel_partner_item_id, cogs, component_unit_value, cost, country_code_of_origin, customs_description, description, discount, discount_quantity, discount_shipping_weight, distribution_center_code, edi, exclude_coupon, free_shipping, hazmat, height, item_reference_oid, kit, kit_component, length, manufacturer_sku, max_days_time_in_transit, merchant_item_id, mix_and_match_group_name, mix_and_match_group_oid, no_shipping_discount, options, packed_by_user, perishable_class, pricing_tier_name, properties, quantity, quantity_refunded, quickbooks_class, ship_separately, shipped_by_user, shipped_dts, special_product_type, tags, tax_free, taxable_cost, total_cost_with_discount, total_refunded, transmitted_to_distribution_center_dts, unit_cost_with_discount, upsell, weight, width].hash
702
+ [accounting_code, activation_codes, arbitrary_unit_cost, auto_order_last_rebill_dts, auto_order_schedule, barcode, channel_partner_item_id, cogs, component_unit_value, cost, country_code_of_origin, customs_description, description, discount, discount_quantity, discount_shipping_weight, distribution_center_code, edi, exclude_coupon, free_shipping, hazmat, height, item_reference_oid, kit, kit_component, length, manufacturer_sku, max_days_time_in_transit, merchant_item_id, mix_and_match_group_name, mix_and_match_group_oid, no_shipping_discount, options, packed_by_user, perishable_class, pricing_tier_name, properties, quantity, quantity_refunded, quickbooks_class, ship_separately, shipped_by_user, shipped_dts, special_product_type, tags, tax_free, taxable_cost, total_cost_with_discount, total_refunded, tracking_number, transmitted_to_distribution_center_dts, unit_cost_with_discount, upsell, weight, width].hash
693
703
  end
694
704
 
695
705
  # 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.6.1'
14
+ VERSION = '3.6.3'
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.6.1
4
+ version: 3.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart