gotransverse-tract-api 0.18.0 → 0.18.1
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82d733e0532547c60a4a39d5075f2c92524159b3
|
4
|
+
data.tar.gz: d25218afc1eeb786260093fb6d8852a0af7c89c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7a1637f455a95c215f69984c8814aeed9c8bd4ffcd9b1b9b83d9b381ba7e969b82242170e032a82b9cd36409e1e262707dcd49af18b7fa7df48e95497b27a91
|
7
|
+
data.tar.gz: c04341c0f340769addd5eeaabc587aa4d73ac33ae9e08dd9c5049cc0bf5238ffa1c7e175856b5564e173c8acd1e3f35011d9676bac6682bb28c89c584a909b53
|
@@ -273,6 +273,14 @@ module GoTransverseTractApi
|
|
273
273
|
}
|
274
274
|
}
|
275
275
|
end
|
276
|
+
|
277
|
+
if order_item.has_key?(:parent_service_eid)
|
278
|
+
parent_service = {
|
279
|
+
attributes: {
|
280
|
+
eid: order_item[:parent_service_eid]
|
281
|
+
}
|
282
|
+
}
|
283
|
+
end
|
276
284
|
|
277
285
|
# The parent orderItems may have child orderItems
|
278
286
|
if order_item.has_key?(:order_items)
|
@@ -291,10 +299,10 @@ module GoTransverseTractApi
|
|
291
299
|
onetimeProductPrice: order_item[:onetime_product_price].try(:[],0),
|
292
300
|
quantity: order_item[:quantity],
|
293
301
|
sequence: order_item[:sequence],
|
294
|
-
parentServiceEid: order_item[:parent_service_eid],
|
295
302
|
description: order_item[:description],
|
296
303
|
eid: order_item[:eid]
|
297
304
|
}.delete_if{|k,v| v.nil?},
|
305
|
+
parentService: parent_service,
|
298
306
|
orderItemUsageRules: order_item_usage_rules,
|
299
307
|
recurringProductPrice: Product::RecurringProductPrice.get_recurring_product_price(order_item[:recurring_product_price]),
|
300
308
|
onetimeProductPrice: onetime_product_price,
|