|
@@ 137-146 (lines=10) @@
|
| 134 |
|
* @param string $shipInvoiceNumber1 |
| 135 |
|
* @return self |
| 136 |
|
*/ |
| 137 |
|
public function setShipInvoiceNumber1(string $shipInvoiceNumber1): self |
| 138 |
|
{ |
| 139 |
|
if (isset($this->params['Order']['Ship']['ShipInvoiceNumber1'])) { |
| 140 |
|
throw new LogicException('ShipInvoiceNumber1 is already set.'); |
| 141 |
|
} |
| 142 |
|
|
| 143 |
|
$this->params['Order']['Ship']['ShipInvoiceNumber1'] = $shipInvoiceNumber1; |
| 144 |
|
|
| 145 |
|
return $this; |
| 146 |
|
} |
| 147 |
|
|
| 148 |
|
/** |
| 149 |
|
* @param string $shipInvoiceNumber2 |
|
@@ 152-161 (lines=10) @@
|
| 149 |
|
* @param string $shipInvoiceNumber2 |
| 150 |
|
* @return self |
| 151 |
|
*/ |
| 152 |
|
public function setShipInvoiceNumber2(string $shipInvoiceNumber2): self |
| 153 |
|
{ |
| 154 |
|
if (isset($this->params['Order']['Ship']['ShipInvoiceNumber2'])) { |
| 155 |
|
throw new LogicException('ShipInvoiceNumber2 is already set.'); |
| 156 |
|
} |
| 157 |
|
|
| 158 |
|
$this->params['Order']['Ship']['ShipInvoiceNumber2'] = $shipInvoiceNumber2; |
| 159 |
|
|
| 160 |
|
return $this; |
| 161 |
|
} |
| 162 |
|
|
| 163 |
|
/** |
| 164 |
|
* @param string $shipUrl |
|
@@ 167-176 (lines=10) @@
|
| 164 |
|
* @param string $shipUrl |
| 165 |
|
* @return self |
| 166 |
|
*/ |
| 167 |
|
public function setShipUrl(string $shipUrl): self |
| 168 |
|
{ |
| 169 |
|
if (isset($this->params['Order']['Ship']['ShipUrl'])) { |
| 170 |
|
throw new LogicException('ShipUrl is already set.'); |
| 171 |
|
} |
| 172 |
|
|
| 173 |
|
$this->params['Order']['Ship']['ShipUrl'] = '![CDATA['.$shipUrl.']]'; |
| 174 |
|
|
| 175 |
|
return $this; |
| 176 |
|
} |
| 177 |
|
|
| 178 |
|
/** |
| 179 |
|
* @param \DateTimeImmutable $shipDate |