Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

Commit

Permalink
Update SubmittedOrder
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai committed Oct 19, 2020
1 parent fdc3cf7 commit eece1b9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/Responses/Types/SubmittedOrder.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
/**
* @property-read int $orderId
* @property-read string $status
* @property-read array $errors
* @property-read Violation[] $violations
*/
final class SubmittedOrder
{
Expand All @@ -48,14 +50,14 @@ final class SubmittedOrder
*
* @var int
*/
protected $orderId;
private $orderId;

/**
* @JMS\Type("string")
*
* @var string
*/
protected $status;
private $status;

/**
* @JMS\Exclude
Expand All @@ -64,14 +66,14 @@ final class SubmittedOrder
*
* @var array
*/
protected $errors = [];
private $errors = [];

/**
* @JMS\Type("array<YDeliverySDK\Responses\Types\SubmittedOrder\Violation>")
*
* @var Violation[]
*/
protected $violations = [];
private $violations = [];

/**
* @return iterable<Message>
Expand Down

0 comments on commit eece1b9

Please sign in to comment.