Skip to content

Commit

Permalink
Allow the salesCurrency to be an int because this is what Peak WMS wi…
Browse files Browse the repository at this point in the history
…ll send back in their response when creating a sales order
  • Loading branch information
loevgaard committed Aug 19, 2024
1 parent 26407b4 commit 97b01d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DataTransferObject/SalesOrder/SalesOrder.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ public function __construct(
public ?float $paymentFeeTax = null,
public ?float $currencyDifference = null,
/**
* A valid currency ISO code
* A valid currency ISO code or an integer representing the currency ID internally within Peak WMS
*/
public ?string $salesCurrency = null,
public null|string|int $salesCurrency = null,
public ?float $shippingCost = null,
public ?float $shippingTaxCost = null,
public ?float $discountCost = null,
Expand Down

0 comments on commit 97b01d7

Please sign in to comment.