We want to make the following changes:
1) Stop referencing the purchased_entity_id and purchased_entity_type. We have the order_item_id, that's enough.
2) Add a label, that can be used to describe the item on customs forms
3) Add a declared_value, for the same purpose. Add a Shipment::getTotalDeclaredValue() to match.
4) Add a tariff_code optional property (currently unused).

This makes the ShipmentItem self-sufficient in many cases, including customs forms (needed for international shipments).
We also need a unit test for ShipmentItem.

Comments

bojanz created an issue. See original summary.

  • bojanz committed 1aaec32 on 8.x-2.x
    Issue #2846973 by bojanz: Finalize the ShipmentItem structure
    
bojanz’s picture

Status: Active » Fixed

Done.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.