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;
140 return $this->productId;
153 return $this->variantId;
176 return $this->quantity;
189 return $this->addedAt;
225 return $this->externalPrice instanceof
MoneyBuilder ? $this->externalPrice->
build() : $this->externalPrice;
258 return $this->perMethodExternalTaxRate;
270 return $this->inventoryMode;
312 $this->productId = $productId;
323 $this->variantId = $variantId;
345 $this->quantity = $quantity;
356 $this->addedAt = $addedAt;
367 $this->distributionChannel = $distributionChannel;
378 $this->supplyChannel = $supplyChannel;
389 $this->externalPrice = $externalPrice;
400 $this->externalTotalPrice = $externalTotalPrice;
411 $this->externalTaxRate = $externalTaxRate;
422 $this->perMethodExternalTaxRate = $perMethodExternalTaxRate;
433 $this->inventoryMode = $inventoryMode;
444 $this->shippingDetails = $shippingDetails;
455 $this->custom = $custom;
466 $this->distributionChannel = $distributionChannel;
477 $this->supplyChannel = $supplyChannel;
488 $this->externalPrice = $externalPrice;
499 $this->externalTotalPrice = $externalTotalPrice;
510 $this->externalTaxRate = $externalTaxRate;
521 $this->shippingDetails = $shippingDetails;
532 $this->custom = $custom;
548 $this->externalPrice instanceof
MoneyBuilder ? $this->externalPrice->
build() : $this->externalPrice,
551 $this->perMethodExternalTaxRate,
552 $this->inventoryMode,