| @@ 362-370 (lines=9) @@ | ||
| 359 | * @return self |
|
| 360 | * @internal param \DateTimeImmutable $printBillTime |
|
| 361 | */ |
|
| 362 | public function setPayDate(\DateTimeImmutable $payDate): self |
|
| 363 | { |
|
| 364 | if (isset($this->params['Pay']['PayDate'])) { |
|
| 365 | throw new LogicException('PayDate is already set.'); |
|
| 366 | } |
|
| 367 | $this->params['Pay']['PayDate'] = $payDate->format('Ymd'); |
|
| 368 | ||
| 369 | return $this; |
|
| 370 | } |
|
| 371 | ||
| 372 | /** |
|
| 373 | * 入金処理備考 |
|
| @@ 397-405 (lines=9) @@ | ||
| 394 | * @return self |
|
| 395 | * @internal param \DateTimeImmutable $printBillTime |
|
| 396 | */ |
|
| 397 | public function setPayManageLimitDate(\DateTimeImmutable $payManageLimitDate): self |
|
| 398 | { |
|
| 399 | if (isset($this->params['Pay']['PayManageLimitDate'])) { |
|
| 400 | throw new LogicException('PayManageLimitDate is already set.'); |
|
| 401 | } |
|
| 402 | $this->params['Pay']['PayManageLimitDate'] = $payManageLimitDate->format('Ymd'); |
|
| 403 | ||
| 404 | return $this; |
|
| 405 | } |
|
| 406 | ||
| 407 | /** |
|
| 408 | * 請求書有無 |
|
| @@ 869-877 (lines=9) @@ | ||
| 866 | * @param \DateTimeImmutable $shipRequestDate |
|
| 867 | * @return self |
|
| 868 | */ |
|
| 869 | public function setShipRequestDate(\DateTimeImmutable $shipRequestDate): self |
|
| 870 | { |
|
| 871 | if (isset($this->params['Ship']['ShipRequestDate'])) { |
|
| 872 | throw new LogicException('ShipRequestDate is already set.'); |
|
| 873 | } |
|
| 874 | $this->params['Ship']['ShipRequestDate'] = $shipRequestDate->format('Ymd'); |
|
| 875 | ||
| 876 | return $this; |
|
| 877 | } |
|
| 878 | ||
| 879 | /** |
|
| 880 | * 配送希望時間 |
|
| @@ 994-1002 (lines=9) @@ | ||
| 991 | * @param \DateTimeImmutable $shipDate |
|
| 992 | * @return self |
|
| 993 | */ |
|
| 994 | public function setShipDate(\DateTimeImmutable $shipDate): self |
|
| 995 | { |
|
| 996 | if (isset($this->params['Ship']['ShipDate'])) { |
|
| 997 | throw new LogicException('ShipDate is already set.'); |
|
| 998 | } |
|
| 999 | $this->params['Ship']['ShipDate'] = $shipDate->format('Ymd'); |
|
| 1000 | ||
| 1001 | return $this; |
|
| 1002 | } |
|
| 1003 | ||
| 1004 | /** |
|
| 1005 | * 出荷日 |
|
| @@ 1012-1020 (lines=9) @@ | ||
| 1009 | * @param \DateTimeImmutable $arrivalDate |
|
| 1010 | * @return self |
|
| 1011 | */ |
|
| 1012 | public function setArrivalDate(\DateTimeImmutable $arrivalDate): self |
|
| 1013 | { |
|
| 1014 | if (isset($this->params['Ship']['ArrivalDate'])) { |
|
| 1015 | throw new LogicException('ArrivalDate is already set.'); |
|
| 1016 | } |
|
| 1017 | $this->params['Ship']['ArrivalDate'] = $arrivalDate->format('Ymd'); |
|
| 1018 | ||
| 1019 | return $this; |
|
| 1020 | } |
|
| 1021 | ||
| 1022 | /** |
|
| 1023 | * ギフト包装有無 |
|
| @@ 1584-1592 (lines=9) @@ | ||
| 1581 | * @param \DateTimeImmutable $releaseDate |
|
| 1582 | * @return self |
|
| 1583 | */ |
|
| 1584 | public function setReleaseDate(\DateTimeImmutable $releaseDate): self |
|
| 1585 | { |
|
| 1586 | if (isset($this->params['Item']['ReleaseDate'])) { |
|
| 1587 | throw new LogicException('ReleaseDate is already set.'); |
|
| 1588 | } |
|
| 1589 | $this->params['Item']['ReleaseDate'] = $releaseDate->format('Ymd'); |
|
| 1590 | ||
| 1591 | return $this; |
|
| 1592 | } |
|
| 1593 | ||
| 1594 | } |
|
| 1595 | ||