@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | } |
| 88 | 88 | ] |
| 89 | 89 | } |
| 90 | -EOT; |
|
| 90 | +eot; |
|
| 91 | 91 | |
| 92 | 92 | $this->client->request('PUT', $this->getSelectPaymentUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 93 | 93 | |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | } |
| 183 | 183 | ] |
| 184 | 184 | } |
| 185 | -EOT; |
|
| 185 | +eot; |
|
| 186 | 186 | |
| 187 | 187 | $this->client->request('PUT', $this->getSelectPaymentUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 188 | 188 | |
@@ -224,7 +224,7 @@ discard block |
||
| 224 | 224 | } |
| 225 | 225 | ] |
| 226 | 226 | } |
| 227 | -EOT; |
|
| 227 | +eot; |
|
| 228 | 228 | |
| 229 | 229 | $this->client->request('PUT', $this->getSelectPaymentUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 230 | 230 | |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | "channel": "WEB", |
| 133 | 133 | "locale_code": "en_US" |
| 134 | 134 | } |
| 135 | -EOT; |
|
| 135 | +eot; |
|
| 136 | 136 | |
| 137 | 137 | $this->client->request('POST', '/api/v1/carts/', [], [], static::$authorizedHeaderWithContentType, $data); |
| 138 | 138 | |
@@ -293,7 +293,7 @@ discard block |
||
| 293 | 293 | "variant": "MUG_SW", |
| 294 | 294 | "quantity": 1 |
| 295 | 295 | } |
| 296 | -EOT; |
|
| 296 | +eot; |
|
| 297 | 297 | $this->client->request('POST', $this->getCartItemListUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 298 | 298 | |
| 299 | 299 | $response = $this->client->getResponse(); |
@@ -317,7 +317,7 @@ discard block |
||
| 317 | 317 | "variant": "MUG_SW", |
| 318 | 318 | "quantity": -1 |
| 319 | 319 | } |
| 320 | -EOT; |
|
| 320 | +eot; |
|
| 321 | 321 | $this->client->request('POST', $this->getCartItemListUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 322 | 322 | |
| 323 | 323 | $response = $this->client->getResponse(); |
@@ -341,7 +341,7 @@ discard block |
||
| 341 | 341 | "variant": "MUG_SW", |
| 342 | 342 | "quantity": 3 |
| 343 | 343 | } |
| 344 | -EOT; |
|
| 344 | +eot; |
|
| 345 | 345 | $this->client->request('POST', $this->getCartItemListUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 346 | 346 | |
| 347 | 347 | $response = $this->client->getResponse(); |
@@ -365,7 +365,7 @@ discard block |
||
| 365 | 365 | "variant": "HARD_AVAILABLE_MUG", |
| 366 | 366 | "quantity": 1 |
| 367 | 367 | } |
| 368 | -EOT; |
|
| 368 | +eot; |
|
| 369 | 369 | $this->client->request('POST', $this->getCartItemListUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 370 | 370 | |
| 371 | 371 | $response = $this->client->getResponse(); |
@@ -389,7 +389,7 @@ discard block |
||
| 389 | 389 | "variant": "HARD_AVAILABLE_MUG", |
| 390 | 390 | "quantity": 3 |
| 391 | 391 | } |
| 392 | -EOT; |
|
| 392 | +eot; |
|
| 393 | 393 | $this->client->request('POST', $this->getCartItemListUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 394 | 394 | |
| 395 | 395 | $response = $this->client->getResponse(); |
@@ -425,7 +425,7 @@ discard block |
||
| 425 | 425 | { |
| 426 | 426 | "variant": "MUG_SW" |
| 427 | 427 | } |
| 428 | -EOT; |
|
| 428 | +eot; |
|
| 429 | 429 | |
| 430 | 430 | |
| 431 | 431 | $this->client->request('PUT', $this->getCartItemUrl($cart, $cartItem), [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -452,7 +452,7 @@ discard block |
||
| 452 | 452 | { |
| 453 | 453 | "quantity": 3 |
| 454 | 454 | } |
| 455 | -EOT; |
|
| 455 | +eot; |
|
| 456 | 456 | $this->client->request('PUT', $this->getCartItemUrl($cart, $cartItem), [], [], static::$authorizedHeaderWithContentType, $data); |
| 457 | 457 | |
| 458 | 458 | $response = $this->client->getResponse(); |
@@ -482,7 +482,7 @@ discard block |
||
| 482 | 482 | { |
| 483 | 483 | "quantity": 3 |
| 484 | 484 | } |
| 485 | -EOT; |
|
| 485 | +eot; |
|
| 486 | 486 | $this->client->request('PUT', $this->getCartItemUrl($cart, $cartItem), [], [], static::$authorizedHeaderWithContentType, $data); |
| 487 | 487 | |
| 488 | 488 | $response = $this->client->getResponse(); |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | "email": "[email protected]" |
| 82 | 82 | } |
| 83 | 83 | } |
| 84 | -EOT; |
|
| 84 | +eot; |
|
| 85 | 85 | |
| 86 | 86 | $this->client->request('PUT', $this->getAddressingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 87 | 87 | |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | "email": "[email protected]" |
| 118 | 118 | } |
| 119 | 119 | } |
| 120 | -EOT; |
|
| 120 | +eot; |
|
| 121 | 121 | |
| 122 | 122 | $this->client->request('PUT', $this->getAddressingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 123 | 123 | |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | "email": "[email protected]" |
| 155 | 155 | } |
| 156 | 156 | } |
| 157 | -EOT; |
|
| 157 | +eot; |
|
| 158 | 158 | |
| 159 | 159 | $this->client->request('PUT', $this->getAddressingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 160 | 160 | |
@@ -198,7 +198,7 @@ discard block |
||
| 198 | 198 | "email": "[email protected]" |
| 199 | 199 | } |
| 200 | 200 | } |
| 201 | -EOT; |
|
| 201 | +eot; |
|
| 202 | 202 | |
| 203 | 203 | $this->client->request('PUT', $this->getAddressingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 204 | 204 | |
@@ -239,7 +239,7 @@ discard block |
||
| 239 | 239 | "email": "[email protected]" |
| 240 | 240 | } |
| 241 | 241 | } |
| 242 | -EOT; |
|
| 242 | +eot; |
|
| 243 | 243 | |
| 244 | 244 | $this->client->request('PUT', $this->getAddressingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 245 | 245 | |
@@ -259,7 +259,7 @@ discard block |
||
| 259 | 259 | "email": "[email protected]" |
| 260 | 260 | } |
| 261 | 261 | } |
| 262 | -EOT; |
|
| 262 | +eot; |
|
| 263 | 263 | |
| 264 | 264 | $this->client->request('PUT', $this->getAddressingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $newData); |
| 265 | 265 | |
@@ -295,7 +295,7 @@ discard block |
||
| 295 | 295 | "email": "[email protected]" |
| 296 | 296 | } |
| 297 | 297 | } |
| 298 | -EOT; |
|
| 298 | +eot; |
|
| 299 | 299 | |
| 300 | 300 | $this->client->request('PUT', $this->getAddressingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $addressData); |
| 301 | 301 | |
@@ -317,7 +317,7 @@ discard block |
||
| 317 | 317 | "email": "[email protected]" |
| 318 | 318 | } |
| 319 | 319 | } |
| 320 | -EOT; |
|
| 320 | +eot; |
|
| 321 | 321 | |
| 322 | 322 | $this->client->request('PUT', $this->getAddressingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $newAddressData); |
| 323 | 323 | |
@@ -353,7 +353,7 @@ discard block |
||
| 353 | 353 | "email": "[email protected]" |
| 354 | 354 | } |
| 355 | 355 | } |
| 356 | -EOT; |
|
| 356 | +eot; |
|
| 357 | 357 | |
| 358 | 358 | $this->client->request('PUT', $this->getAddressingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $addressData); |
| 359 | 359 | |
@@ -376,7 +376,7 @@ discard block |
||
| 376 | 376 | "email": "[email protected]" |
| 377 | 377 | } |
| 378 | 378 | } |
| 379 | -EOT; |
|
| 379 | +eot; |
|
| 380 | 380 | |
| 381 | 381 | $this->client->request('PUT', $this->getAddressingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $newAddressData); |
| 382 | 382 | |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | } |
| 143 | 143 | ] |
| 144 | 144 | } |
| 145 | -EOT; |
|
| 145 | +eot; |
|
| 146 | 146 | |
| 147 | 147 | $this->client->request('PUT', $this->getSelectShippingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 148 | 148 | |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | } |
| 178 | 178 | ] |
| 179 | 179 | } |
| 180 | -EOT; |
|
| 180 | +eot; |
|
| 181 | 181 | |
| 182 | 182 | $this->client->request('PUT', $this->getSelectShippingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 183 | 183 | |
@@ -218,7 +218,7 @@ discard block |
||
| 218 | 218 | } |
| 219 | 219 | ] |
| 220 | 220 | } |
| 221 | -EOT; |
|
| 221 | +eot; |
|
| 222 | 222 | |
| 223 | 223 | $this->client->request('PUT', $this->getSelectShippingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 224 | 224 | |
@@ -255,7 +255,7 @@ discard block |
||
| 255 | 255 | } |
| 256 | 256 | ] |
| 257 | 257 | } |
| 258 | -EOT; |
|
| 258 | +eot; |
|
| 259 | 259 | |
| 260 | 260 | $this->client->request('PUT', $this->getSelectShippingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 261 | 261 | |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | "email": "[email protected]" |
| 69 | 69 | } |
| 70 | 70 | } |
| 71 | -EOT; |
|
| 71 | +eot; |
|
| 72 | 72 | |
| 73 | 73 | $url = sprintf('/api/v1/checkouts/addressing/%d', $order->getId()); |
| 74 | 74 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | } |
| 96 | 96 | ] |
| 97 | 97 | } |
| 98 | -EOT; |
|
| 98 | +eot; |
|
| 99 | 99 | |
| 100 | 100 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
| 101 | 101 | } |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | } |
| 122 | 122 | ] |
| 123 | 123 | } |
| 124 | -EOT; |
|
| 124 | +eot; |
|
| 125 | 125 | |
| 126 | 126 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
| 127 | 127 | } |