Skip to content

Commit

Permalink
Merge pull request #6 from iamarpitpatidar/patch-1
Browse files Browse the repository at this point in the history
updated shipper object to set mandatory fields
  • Loading branch information
MaFx authored Aug 2, 2022
2 parents b2e2010 + 3973d30 commit ebc7ae2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Datatype/EU/Shipper.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Shipper extends \Mtc\Dhl\Datatype\AM\Shipper
protected $params = [
'ShipperID' => [
'type' => 'ShipperID',
'required' => false,
'required' => true,
'subobject' => false,
'comment' => 'Shipper\'s ID',
'maxLength' => '30',
Expand Down Expand Up @@ -93,7 +93,7 @@ class Shipper extends \Mtc\Dhl\Datatype\AM\Shipper
],
'City' => [
'type' => 'City',
'required' => false,
'required' => true,
'subobject' => false,
'comment' => 'City name',
'maxLength' => '35',
Expand Down Expand Up @@ -135,14 +135,14 @@ class Shipper extends \Mtc\Dhl\Datatype\AM\Shipper
],
'CountryCode' => [
'type' => 'CountryCode',
'required' => false,
'required' => true,
'subobject' => false,
'comment' => 'ISO country codes',
'length' => '2',
],
'CountryName' => [
'type' => 'CountryName',
'required' => false,
'required' => true,
'subobject' => false,
'comment' => 'ISO country name',
'maxLength' => '35',
Expand All @@ -159,7 +159,7 @@ class Shipper extends \Mtc\Dhl\Datatype\AM\Shipper
],
'Contact' => [
'type' => 'Contact',
'required' => false,
'required' => true,
'subobject' => true,
],
'RegistrationNumbers' => [
Expand Down

0 comments on commit ebc7ae2

Please sign in to comment.