您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

52 行
1.5KB

  1. <?php
  2. namespace Lc\CaracoleBundle\Model\Order;
  3. use Lc\CaracoleBundle\Model\Reduction\ReductionCartInterface;
  4. interface OrderReductionCartInterface
  5. {
  6. public function getTitle(): ?string;
  7. public function setTitle(string $title): OrderReductionCartInterface;
  8. public function getOrderShop(): ?OrderShopInterface;
  9. public function setOrderShop(?OrderShopInterface $orderShop
  10. ): OrderReductionCartInterface;
  11. public function getReductionCart(): ?ReductionCartInterface;
  12. public function setReductionCart(?ReductionCartInterface $reductionCart
  13. ): OrderReductionCartInterface;
  14. public function getCodeUsed(): ?string;
  15. public function setCodeUsed(?string $codeUsed): OrderReductionCartInterface;
  16. public function getFreeShipping(): ?bool;
  17. public function setFreeShipping(?bool $freeShipping): OrderReductionCartInterface;
  18. public function getAppliedTo(): ?string;
  19. public function setAppliedTo(string $appliedTo): OrderReductionCartInterface;
  20. public function getType(): ?string;
  21. public function setType(string $type): OrderReductionCartInterface;
  22. public function getValue(): ?float;
  23. public function setValue(?float $value): OrderReductionCartInterface;
  24. public function getUnit(): ?string;
  25. public function setUnit(?string $unit): OrderReductionCartInterface;
  26. public function getBehaviorTaxRate(): ?string;
  27. public function setBehaviorTaxRate(?string $behaviorTaxRate
  28. ): OrderReductionCartInterface;
  29. }