Skip to content

Commit

Permalink
add options
Browse files Browse the repository at this point in the history
  • Loading branch information
booni3 committed Apr 1, 2021
1 parent ad38bc7 commit 392468a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/DTO/ShipmentCreator.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public function outputImage(): array
'imageOptions' => [
[
'typeCode' => 'invoice',
'isRequested' => $this->paperless,
'isRequested' => $this->customsDeclarable,
'invoiceType' => 'commercial',
],
[
Expand Down Expand Up @@ -328,4 +328,12 @@ protected function labelFormat(): string

return 'pdf';
}

/**
* Sets the label to DHL data staging mode, which remains active for 3 months
*/
public function setLongExpiration()
{
$this->addValueAddedService('PT');
}
}

0 comments on commit 392468a

Please sign in to comment.