From f030d5a1791f7df8c8486a03a7b6deb08457708a Mon Sep 17 00:00:00 2001 From: Bashar Date: Wed, 25 Feb 2015 04:07:37 +1100 Subject: [PATCH] Fixed issue #9 - AM/Pieces should be a multivalue field --- DHL/Datatype/AM/ShipmentDetails.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DHL/Datatype/AM/ShipmentDetails.php b/DHL/Datatype/AM/ShipmentDetails.php index 71a5940..cefd548 100644 --- a/DHL/Datatype/AM/ShipmentDetails.php +++ b/DHL/Datatype/AM/ShipmentDetails.php @@ -47,9 +47,10 @@ class ShipmentDetails extends Base 'subobject' => false, ), 'Pieces' => array( - 'type' => 'Pieces', + 'type' => 'Piece', 'required' => false, 'subobject' => true, + 'multivalues' => true, ), 'Weight' => array( 'type' => 'Weight',