Skip to content

Commit

Permalink
Update OrderLine.php
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdgeijn authored Feb 28, 2024
1 parent c75fe7f commit 2169da5
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/Responses/OrderLine.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ class OrderLine extends AbstractResponse

public int $quantity;

public int $lineItemNumber;

/**
* @param string $productId
* @return OrderLine
Expand Down Expand Up @@ -143,4 +145,22 @@ public function add(string $key, string|array $values ): OrderLine

return $this;
}

/**
* @return int
*/
public function getLineItemNumber(): int
{
return $this->lineItemNumber;
}

/**
* @param int $lineItemNumber
* @return $this
*/
public function setLineItemNumber(int $lineItemNumber): OrderLine
{
$this->lineItemNumber = $lineItemNumber;
return $this;
}
}

0 comments on commit 2169da5

Please sign in to comment.