Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
booni3 committed Apr 1, 2021
1 parent 392468a commit 7eaadd4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Response/ShipmentResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ public function labelFormat(): ?string

public function labelData()
{
if(! isset($this->label['content'])){
return null;
}

return base64_decode($this->label['content']);
}

Expand All @@ -43,6 +47,10 @@ public function invoiceFormat(): ?string

public function invoiceData()
{
if(! isset($this->invoice['content'])){
return null;
}

return base64_decode($this->invoice['content']);
}
}

0 comments on commit 7eaadd4

Please sign in to comment.