| @@ 186-195 (lines=10) @@ | ||
| 183 | * @param string $shipInvoiceNumber1 |
|
| 184 | * @return self |
|
| 185 | */ |
|
| 186 | public function setShipInvoiceNumber1(string $shipInvoiceNumber1): self |
|
| 187 | { |
|
| 188 | if (isset($this->params['Order']['Ship']['ShipInvoiceNumber1'])) { |
|
| 189 | throw new LogicException('ShipInvoiceNumber1 is already set.'); |
|
| 190 | } |
|
| 191 | ||
| 192 | $this->params['Order']['Ship']['ShipInvoiceNumber1'] = $shipInvoiceNumber1; |
|
| 193 | ||
| 194 | return $this; |
|
| 195 | } |
|
| 196 | ||
| 197 | /** |
|
| 198 | * @param string $shipInvoiceNumber2 |
|
| @@ 201-210 (lines=10) @@ | ||
| 198 | * @param string $shipInvoiceNumber2 |
|
| 199 | * @return self |
|
| 200 | */ |
|
| 201 | public function setShipInvoiceNumber2(string $shipInvoiceNumber2): self |
|
| 202 | { |
|
| 203 | if (isset($this->params['Order']['Ship']['ShipInvoiceNumber2'])) { |
|
| 204 | throw new LogicException('ShipInvoiceNumber2 is already set.'); |
|
| 205 | } |
|
| 206 | ||
| 207 | $this->params['Order']['Ship']['ShipInvoiceNumber2'] = $shipInvoiceNumber2; |
|
| 208 | ||
| 209 | return $this; |
|
| 210 | } |
|
| 211 | ||
| 212 | /** |
|
| 213 | * @param string $shipUrl |
|
| @@ 216-225 (lines=10) @@ | ||
| 213 | * @param string $shipUrl |
|
| 214 | * @return self |
|
| 215 | */ |
|
| 216 | public function setShipUrl(string $shipUrl): self |
|
| 217 | { |
|
| 218 | if (isset($this->params['Order']['Ship']['ShipUrl'])) { |
|
| 219 | throw new LogicException('ShipUrl is already set.'); |
|
| 220 | } |
|
| 221 | ||
| 222 | $this->params['Order']['Ship']['ShipUrl'] = '![CDATA[' . $shipUrl . ']]'; |
|
| 223 | ||
| 224 | return $this; |
|
| 225 | } |
|
| 226 | ||
| 227 | /** |
|
| 228 | * @param \DateTimeImmutable $shipDate |
|
| @@ 190-198 (lines=9) @@ | ||
| 187 | * @param string $payMethodName |
|
| 188 | * @return UpdateOrderInfoRequest |
|
| 189 | */ |
|
| 190 | public function setPayMethodName(string $payMethodName): self |
|
| 191 | { |
|
| 192 | if (isset($this->params['Order']['PayMethodName'])) { |
|
| 193 | throw new LogicException('PayMethodName is already set.'); |
|
| 194 | } |
|
| 195 | $this->params['Order']['PayMethodName'] = $payMethodName; |
|
| 196 | ||
| 197 | return $this; |
|
| 198 | } |
|
| 199 | ||
| 200 | /** |
|
| 201 | * ストアステータス |
|
| @@ 208-216 (lines=9) @@ | ||
| 205 | * @param string $storeStatus |
|
| 206 | * @return UpdateOrderInfoRequest |
|
| 207 | */ |
|
| 208 | public function setStoreStatus(string $storeStatus): self |
|
| 209 | { |
|
| 210 | if (isset($this->params['Order']['StoreStatus'])) { |
|
| 211 | throw new LogicException('StoreStatus is already set.'); |
|
| 212 | } |
|
| 213 | $this->params['Order']['StoreStatus'] = $storeStatus; |
|
| 214 | ||
| 215 | return $this; |
|
| 216 | } |
|
| 217 | ||
| 218 | /** |
|
| 219 | * 注文伝票出力時刻 |
|
| @@ 280-288 (lines=9) @@ | ||
| 277 | * @param string $buyerComments |
|
| 278 | * @return UpdateOrderInfoRequest |
|
| 279 | */ |
|
| 280 | public function setBuyerComments(string $buyerComments): self |
|
| 281 | { |
|
| 282 | if (isset($this->params['Order']['BuyerComments'])) { |
|
| 283 | throw new LogicException('BuyerComments is already set.'); |
|
| 284 | } |
|
| 285 | $this->params['Order']['BuyerComments'] = $buyerComments; |
|
| 286 | ||
| 287 | return $this; |
|
| 288 | } |
|
| 289 | ||
| 290 | /** |
|
| 291 | * セラーコメント |
|
| @@ 298-306 (lines=9) @@ | ||
| 295 | * @param string $sellerComments |
|
| 296 | * @return UpdateOrderInfoRequest |
|
| 297 | */ |
|
| 298 | public function setSellerComments(string $sellerComments): self |
|
| 299 | { |
|
| 300 | if (isset($this->params['Order']['SellerComments'])) { |
|
| 301 | throw new LogicException('SellerComments is already set.'); |
|
| 302 | } |
|
| 303 | $this->params['Order']['SellerComments'] = $sellerComments; |
|
| 304 | ||
| 305 | return $this; |
|
| 306 | } |
|
| 307 | ||
| 308 | /** |
|
| 309 | * 社内メモ |
|