3 declare(strict_types=1);
22 use DateTimeImmutable;
70 private $distributionChannel;
76 private $supplyChannel;
82 private $externalPrice;
88 private $externalTotalPrice;
94 private $externalTaxRate;
100 private $perMethodExternalTaxRate;
106 private $inventoryMode;
112 private $shippingDetails;
139 return $this->productId;
151 return $this->variantId;
173 return $this->quantity;
186 return $this->addedAt;
223 return $this->externalPrice instanceof
MoneyBuilder ? $this->externalPrice->
build() : $this->externalPrice;
256 return $this->perMethodExternalTaxRate;
268 return $this->inventoryMode;
310 $this->productId = $productId;
321 $this->variantId = $variantId;
343 $this->quantity = $quantity;
354 $this->addedAt = $addedAt;
365 $this->distributionChannel = $distributionChannel;
376 $this->supplyChannel = $supplyChannel;
387 $this->externalPrice = $externalPrice;
398 $this->externalTotalPrice = $externalTotalPrice;
409 $this->externalTaxRate = $externalTaxRate;
420 $this->perMethodExternalTaxRate = $perMethodExternalTaxRate;
431 $this->inventoryMode = $inventoryMode;
442 $this->shippingDetails = $shippingDetails;
453 $this->custom = $custom;
464 $this->distributionChannel = $distributionChannel;
475 $this->supplyChannel = $supplyChannel;
486 $this->externalPrice = $externalPrice;
497 $this->externalTotalPrice = $externalTotalPrice;
508 $this->externalTaxRate = $externalTaxRate;
519 $this->shippingDetails = $shippingDetails;
530 $this->custom = $custom;
546 $this->externalPrice instanceof
MoneyBuilder ? $this->externalPrice->
build() : $this->externalPrice,
549 $this->perMethodExternalTaxRate,
550 $this->inventoryMode,