@@ 102-111 (lines=10) @@ | ||
99 | * @param string $orderId |
|
100 | * @return self |
|
101 | */ |
|
102 | public function setOrderId(string $orderId): self |
|
103 | { |
|
104 | if (isset($this->params['Target']['OrderId'])) { |
|
105 | throw new LogicException('OrderId is already set.'); |
|
106 | } |
|
107 | ||
108 | $this->params['Target']['OrderId'] = $orderId; |
|
109 | ||
110 | return $this; |
|
111 | } |
|
112 | ||
113 | } |
|
114 |
@@ 78-87 (lines=10) @@ | ||
75 | * @param string $orderId |
|
76 | * @return self |
|
77 | */ |
|
78 | public function setOrderId(string $orderId): self |
|
79 | { |
|
80 | if (isset($this->params['Target']['OrderId'])) { |
|
81 | throw new LogicException('OrderId is already set.'); |
|
82 | } |
|
83 | ||
84 | $this->params['Target']['OrderId'] = $orderId; |
|
85 | ||
86 | return $this; |
|
87 | } |
|
88 | ||
89 | /** |
|
90 | * @param bool $isPointFix |
|
@@ 93-102 (lines=10) @@ | ||
90 | * @param bool $isPointFix |
|
91 | * @return self |
|
92 | */ |
|
93 | public function setIsPointFix(bool $isPointFix): self |
|
94 | { |
|
95 | if (isset($this->params['Target']['IsPointFix'])) { |
|
96 | throw new LogicException('IsPointFix is already set.'); |
|
97 | } |
|
98 | ||
99 | $this->params['Target']['IsPointFix'] = $isPointFix ? 'true' : 'false'; |
|
100 | ||
101 | return $this; |
|
102 | } |
|
103 | ||
104 | /** |
|
105 | * @param string $operationUser |
|
@@ 108-117 (lines=10) @@ | ||
105 | * @param string $operationUser |
|
106 | * @return self |
|
107 | */ |
|
108 | public function setOperationUser(string $operationUser): self |
|
109 | { |
|
110 | if (isset($this->params['Target']['OperationUser'])) { |
|
111 | throw new LogicException('OperationUser is already set.'); |
|
112 | } |
|
113 | ||
114 | $this->params['Target']['OperationUser'] = $operationUser; |
|
115 | ||
116 | return $this; |
|
117 | } |
|
118 | ||
119 | /** |
|
120 | * @param ShipStatus $shipStatus |
@@ 91-100 (lines=10) @@ | ||
88 | * @param string $orderId |
|
89 | * @return self |
|
90 | */ |
|
91 | public function setOrderId(string $orderId): self |
|
92 | { |
|
93 | if (isset($this->params['Target']['OrderId'])) { |
|
94 | throw new LogicException('OrderId is already set.'); |
|
95 | } |
|
96 | ||
97 | $this->params['Target']['OrderId'] = $orderId; |
|
98 | ||
99 | return $this; |
|
100 | } |
|
101 | ||
102 | /** |
|
103 | * 【必須】ポイント確定要否 |
|
@@ 111-120 (lines=10) @@ | ||
108 | * @param bool $isPointFix |
|
109 | * @return self |
|
110 | */ |
|
111 | public function setIsPointFix(bool $isPointFix): self |
|
112 | { |
|
113 | if (isset($this->params['Target']['IsPointFix'])) { |
|
114 | throw new LogicException('IsPointFix is already set.'); |
|
115 | } |
|
116 | ||
117 | $this->params['Target']['IsPointFix'] = ($isPointFix ? 'true' : 'false'); |
|
118 | ||
119 | return $this; |
|
120 | } |
|
121 | ||
122 | /** |
|
123 | * 【必須】注文ステータス |
|
@@ 144-153 (lines=10) @@ | ||
141 | * @param string $operationUser |
|
142 | * @return self |
|
143 | */ |
|
144 | public function setOperationUser(string $operationUser): self |
|
145 | { |
|
146 | if (isset($this->params['Target']['OperationUser'])) { |
|
147 | throw new LogicException('OperationUser is already set.'); |
|
148 | } |
|
149 | ||
150 | $this->params['Target']['OperationUser'] = $operationUser; |
|
151 | ||
152 | return $this; |
|
153 | } |
|
154 | ||
155 | /** |
|
156 | * キャンセル理由 |