| @@ 240-248 (lines=9) @@ | ||
| 237 | * @param \DateTimeImmutable $printSlipTime |
|
| 238 | * @return self |
|
| 239 | */ |
|
| 240 | public function setPrintSlipTime(\DateTimeImmutable $printSlipTime): self |
|
| 241 | { |
|
| 242 | if (isset($this->params['Order']['PrintSlipTime'])) { |
|
| 243 | throw new LogicException('PrintSlipTime is already set.'); |
|
| 244 | } |
|
| 245 | $this->params['Order']['PrintSlipTime'] = $printSlipTime->format('YmdHis'); |
|
| 246 | ||
| 247 | return $this; |
|
| 248 | } |
|
| 249 | ||
| 250 | /** |
|
| 251 | * 納品書出力時刻 |
|
| @@ 258-266 (lines=9) @@ | ||
| 255 | * @param \DateTimeImmutable $printDeliveryTime |
|
| 256 | * @return self |
|
| 257 | */ |
|
| 258 | public function setPrintDeliveryTime(\DateTimeImmutable $printDeliveryTime): self |
|
| 259 | { |
|
| 260 | if (isset($this->params['Order']['PrintDeliveryTime'])) { |
|
| 261 | throw new LogicException('PrintDeliveryTime is already set.'); |
|
| 262 | } |
|
| 263 | $this->params['Order']['PrintDeliveryTime'] = $printDeliveryTime->format('YmdHis'); |
|
| 264 | ||
| 265 | return $this; |
|
| 266 | } |
|
| 267 | ||
| 268 | /** |
|
| 269 | * 請求書出力時刻 |
|
| @@ 276-284 (lines=9) @@ | ||
| 273 | * @param \DateTimeImmutable $printBillTime |
|
| 274 | * @return self |
|
| 275 | */ |
|
| 276 | public function setPrintBillTime(\DateTimeImmutable $printBillTime): self |
|
| 277 | { |
|
| 278 | if (isset($this->params['Order']['PrintBillTime'])) { |
|
| 279 | throw new LogicException('PrintBillTime is already set.'); |
|
| 280 | } |
|
| 281 | $this->params['Order']['PrintBillTime'] = $printBillTime->format('YmdHis'); |
|
| 282 | ||
| 283 | return $this; |
|
| 284 | } |
|
| 285 | ||
| 286 | /** |
|
| 287 | * バイヤーコメント |
|
| @@ 330-338 (lines=9) @@ | ||
| 327 | * @param string $notes |
|
| 328 | * @return self |
|
| 329 | */ |
|
| 330 | public function setNotes(string $notes): self |
|
| 331 | { |
|
| 332 | if (isset($this->params['Order']['Notes'])) { |
|
| 333 | throw new LogicException('Notes is already set.'); |
|
| 334 | } |
|
| 335 | $this->params['Order']['Notes'] = $notes; |
|
| 336 | ||
| 337 | return $this; |
|
| 338 | } |
|
| 339 | ||
| 340 | /** |
|
| 341 | * 返金ステータス |
|