Skip to content

Commit

Permalink
Merge pull request #158 from myparcelnl/adem-demir-patch-1
Browse files Browse the repository at this point in the history
Set default weight for dpd
  • Loading branch information
Reindert authored Sep 18, 2019
2 parents aa6e292 + 8bf27b3 commit b4edf0f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Model/Consignment/DPDConsignment.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,25 @@ class DPDConsignment extends AbstractConsignment
*/
public const CARRIER_NAME = 'dpd';

/**
* @var int
*/
public const DEFAULT_WEIGHT = 3000;

/**
* @var array
*/
private const VALID_PACKAGE_TYPES = [
self::PACKAGE_TYPE_PACKAGE
];

/**
* @internal
*
* @var int
*/
public $physical_properties = ['weight' => self::DEFAULT_WEIGHT];

/**
* @var array
*/
Expand Down

0 comments on commit b4edf0f

Please sign in to comment.