Skip to content

Commit

Permalink
Label
Browse files Browse the repository at this point in the history
  • Loading branch information
angelgnz committed Jul 23, 2021
1 parent 8476272 commit 98c44e5
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion DHL/Datatype/AM/Label.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Label extends Base
'required' => false,
'subobject' => false,
'comment' => 'LabelTemplate',
'enumeration' => '8X4_A4_PDF,8X4_thermal,8X4_A4_TC_PDF,6X4_A4_PDF,6X4_thermal,8X4_CI_PDF,8X4_PDF,8X4_CI_thermal',
'enumeration' => '8X4_A4_PDF,8X4_thermal,8X4_A4_TC_PDF,6X4_A4_PDF,8X4_PDF,6X4_thermal,8X4_CI_PDF,8X4_CI_thermal',
),
'Logo' => array(
'type' => 'YesNo',
Expand Down
2 changes: 1 addition & 1 deletion DHL/Datatype/AP/Label.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Label extends Base
'required' => false,
'subobject' => false,
'comment' => 'LabelTemplate',
'enumeration' => '8X4_A4_PDF,8X4_thermal,8X4_A4_TC_PDF,6X4_A4_PDF,6X4_thermal,8X4_CI_PDF,8X4_PDF,8X4_CI_thermal',
'enumeration' => '8X4_A4_PDF,8X4_thermal,8X4_A4_TC_PDF,6X4_A4_PDF,8X4_PDF,6X4_thermal,8X4_CI_PDF,8X4_CI_thermal',
),
'Logo' => array(
'type' => 'YesNo',
Expand Down
2 changes: 1 addition & 1 deletion DHL/Datatype/EA/Label.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Label extends Base
'required' => false,
'subobject' => false,
'comment' => 'LabelTemplate',
'enumeration' => '8X4_A4_PDF,8X4_thermal,8X4_A4_TC_PDF,6X4_A4_PDF,8X4_CI_PDF,8X4_PDF,8X4_CI_thermal',
'enumeration' => '8X4_A4_PDF,8X4_thermal,8X4_A4_TC_PDF,6X4_A4_PDF,8X4_PDF,8X4_CI_PDF,8X4_CI_thermal',
),
'Logo' => array(
'type' => 'YesNo',
Expand Down
2 changes: 1 addition & 1 deletion DHL/Datatype/GB/Label.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Label extends Base
'required' => false,
'subobject' => false,
'comment' => 'LabelTemplate',
'enumeration' => '8X4_A4_PDF,8X4_thermal,8X4_A4_TC_PDF,6X4_A4_PDF,6X4_thermal,8X4_CI_PDF,8X4_PDF,8X4_CI_thermal',
'enumeration' => '8X4_A4_PDF,8X4_thermal,8X4_A4_TC_PDF,6X4_A4_PDF,8X4_PDF,6X4_thermal,8X4_CI_PDF,8X4_CI_thermal',
),
'Logo' => array(
'type' => 'YesNo',
Expand Down
2 changes: 1 addition & 1 deletion DHL/Entity/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* Project: DHL API
*
* @author Al-Fallouji Bashar
* @version 0.2
* @version 0.1
*/

namespace DHL\Entity;
Expand Down
13 changes: 10 additions & 3 deletions DHL/Entity/GB/ShipmentResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ class ShipmentResponse extends Base
'subobject' => true,
'multivalues' => true,
),
'BarCodes' => array(
'type' => 'BarCodes',
'Barcodes' => array(
'type' => 'Barcodes',
'required' => false,
'subobject' => true,
'multivalues' => false,
Expand Down Expand Up @@ -323,7 +323,7 @@ class ShipmentResponse extends Base
'type' => 'LabelImage',
'required' => false,
'subobject' => true,
),
),
'CustData' => array(
'type' => 'string',
'required' => false,
Expand All @@ -332,6 +332,13 @@ class ShipmentResponse extends Base
'minLength' => '1',
'maxLength' => '100',
),

'Label' => array(
'type' => 'Label',
'required' => false,
'subobject' => true,
'comment' => 'Label',
),
'LabelTemplate' => array(
'type' => 'LabelTemplate',
'required' => false,
Expand Down

0 comments on commit 98c44e5

Please sign in to comment.