@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | "channel": "CHANNEL", |
| 40 | 40 | "localeCode": "en_US" |
| 41 | 41 | } |
| 42 | -EOT; |
|
| 42 | +eot; |
|
| 43 | 43 | |
| 44 | 44 | $this->client->request('POST', '/api/v1/carts/', [], [], static::$authorizedHeaderWithContentType, $data); |
| 45 | 45 | |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | "variant": "MUG_SW", |
| 61 | 61 | "quantity": 1 |
| 62 | 62 | } |
| 63 | -EOT; |
|
| 63 | +eot; |
|
| 64 | 64 | |
| 65 | 65 | $this->client->request('POST', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
| 66 | 66 | $this->assertResponseCode($this->client->getResponse(), Response::HTTP_CREATED); |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | }, |
| 92 | 92 | "differentShippingAddress": true |
| 93 | 93 | } |
| 94 | -EOT; |
|
| 94 | +eot; |
|
| 95 | 95 | |
| 96 | 96 | $url = sprintf('/api/v1/checkouts/addressing/%d', $cartId); |
| 97 | 97 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | } |
| 117 | 117 | ] |
| 118 | 118 | } |
| 119 | -EOT; |
|
| 119 | +eot; |
|
| 120 | 120 | |
| 121 | 121 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
| 122 | 122 | $this->assertResponseCode($this->client->getResponse(), Response::HTTP_NO_CONTENT); |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | } |
| 141 | 141 | ] |
| 142 | 142 | } |
| 143 | -EOT; |
|
| 143 | +eot; |
|
| 144 | 144 | |
| 145 | 145 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
| 146 | 146 | $this->assertResponseCode($this->client->getResponse(), Response::HTTP_NO_CONTENT); |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | { |
| 58 | 58 | "differentShippingAddress": false |
| 59 | 59 | } |
| 60 | -EOT; |
|
| 60 | +eot; |
|
| 61 | 61 | |
| 62 | 62 | $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data); |
| 63 | 63 | |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | }, |
| 91 | 91 | "differentShippingAddress": false |
| 92 | 92 | } |
| 93 | -EOT; |
|
| 93 | +eot; |
|
| 94 | 94 | |
| 95 | 95 | $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data); |
| 96 | 96 | |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | }, |
| 126 | 126 | "differentBillingAddress": false |
| 127 | 127 | } |
| 128 | -EOT; |
|
| 128 | +eot; |
|
| 129 | 129 | |
| 130 | 130 | $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data); |
| 131 | 131 | |
@@ -159,7 +159,7 @@ discard block |
||
| 159 | 159 | }, |
| 160 | 160 | "differentShippingAddress": true |
| 161 | 161 | } |
| 162 | -EOT; |
|
| 162 | +eot; |
|
| 163 | 163 | |
| 164 | 164 | $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data); |
| 165 | 165 | |
@@ -200,7 +200,7 @@ discard block |
||
| 200 | 200 | }, |
| 201 | 201 | "differentShippingAddress": true |
| 202 | 202 | } |
| 203 | -EOT; |
|
| 203 | +eot; |
|
| 204 | 204 | |
| 205 | 205 | $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data); |
| 206 | 206 | |
@@ -248,7 +248,7 @@ discard block |
||
| 248 | 248 | }, |
| 249 | 249 | "differentBillingAddress": true |
| 250 | 250 | } |
| 251 | -EOT; |
|
| 251 | +eot; |
|
| 252 | 252 | |
| 253 | 253 | $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data); |
| 254 | 254 | |
@@ -286,7 +286,7 @@ discard block |
||
| 286 | 286 | }, |
| 287 | 287 | "differentShippingAddress": false |
| 288 | 288 | } |
| 289 | -EOT; |
|
| 289 | +eot; |
|
| 290 | 290 | |
| 291 | 291 | $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data); |
| 292 | 292 | |
@@ -303,7 +303,7 @@ discard block |
||
| 303 | 303 | }, |
| 304 | 304 | "differentShippingAddress": false |
| 305 | 305 | } |
| 306 | -EOT; |
|
| 306 | +eot; |
|
| 307 | 307 | |
| 308 | 308 | $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $newData); |
| 309 | 309 | |
@@ -336,7 +336,7 @@ discard block |
||
| 336 | 336 | }, |
| 337 | 337 | "differentShippingAddress": false |
| 338 | 338 | } |
| 339 | -EOT; |
|
| 339 | +eot; |
|
| 340 | 340 | |
| 341 | 341 | $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $addressData); |
| 342 | 342 | |
@@ -355,7 +355,7 @@ discard block |
||
| 355 | 355 | }, |
| 356 | 356 | "differentShippingAddress": false |
| 357 | 357 | } |
| 358 | -EOT; |
|
| 358 | +eot; |
|
| 359 | 359 | |
| 360 | 360 | $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $newAddressData); |
| 361 | 361 | |
@@ -388,7 +388,7 @@ discard block |
||
| 388 | 388 | }, |
| 389 | 389 | "differentShippingAddress": false |
| 390 | 390 | } |
| 391 | -EOT; |
|
| 391 | +eot; |
|
| 392 | 392 | |
| 393 | 393 | $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $addressData); |
| 394 | 394 | |
@@ -408,7 +408,7 @@ discard block |
||
| 408 | 408 | }, |
| 409 | 409 | "differentShippingAddress": false |
| 410 | 410 | } |
| 411 | -EOT; |
|
| 411 | +eot; |
|
| 412 | 412 | |
| 413 | 413 | $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $newAddressData); |
| 414 | 414 | |