@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | "channel": "CHANNEL", |
| 50 | 50 | "locale_code": "en_US" |
| 51 | 51 | } |
| 52 | -EOT; |
|
| 52 | +eot; |
|
| 53 | 53 | |
| 54 | 54 | $this->client->request('POST', '/api/v1/carts/', [], [], static::$authorizedHeaderWithContentType, $data); |
| 55 | 55 | |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | "variant": "MUG_SW", |
| 73 | 73 | "quantity": 1 |
| 74 | 74 | } |
| 75 | -EOT; |
|
| 75 | +eot; |
|
| 76 | 76 | |
| 77 | 77 | $this->client->request('POST', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
| 78 | 78 | } |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | }, |
| 106 | 106 | "different_billing_address": true |
| 107 | 107 | } |
| 108 | -EOT; |
|
| 108 | +eot; |
|
| 109 | 109 | |
| 110 | 110 | $url = sprintf('/api/v1/checkouts/addressing/%d', $cartId); |
| 111 | 111 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | } |
| 133 | 133 | ] |
| 134 | 134 | } |
| 135 | -EOT; |
|
| 135 | +eot; |
|
| 136 | 136 | |
| 137 | 137 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
| 138 | 138 | } |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | } |
| 159 | 159 | ] |
| 160 | 160 | } |
| 161 | -EOT; |
|
| 161 | +eot; |
|
| 162 | 162 | |
| 163 | 163 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
| 164 | 164 | } |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | { |
| 62 | 62 | "different_billing_address": false |
| 63 | 63 | } |
| 64 | -EOT; |
|
| 64 | +eot; |
|
| 65 | 65 | |
| 66 | 66 | $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data); |
| 67 | 67 | |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | }, |
| 95 | 95 | "different_billing_address": false |
| 96 | 96 | } |
| 97 | -EOT; |
|
| 97 | +eot; |
|
| 98 | 98 | |
| 99 | 99 | $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data); |
| 100 | 100 | |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | }, |
| 129 | 129 | "different_billing_address": true |
| 130 | 130 | } |
| 131 | -EOT; |
|
| 131 | +eot; |
|
| 132 | 132 | |
| 133 | 133 | $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data); |
| 134 | 134 | |
@@ -169,7 +169,7 @@ discard block |
||
| 169 | 169 | }, |
| 170 | 170 | "different_billing_address": true |
| 171 | 171 | } |
| 172 | -EOT; |
|
| 172 | +eot; |
|
| 173 | 173 | |
| 174 | 174 | $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data); |
| 175 | 175 | |
@@ -207,7 +207,7 @@ discard block |
||
| 207 | 207 | }, |
| 208 | 208 | "different_billing_address": false |
| 209 | 209 | } |
| 210 | -EOT; |
|
| 210 | +eot; |
|
| 211 | 211 | |
| 212 | 212 | $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data); |
| 213 | 213 | |
@@ -224,7 +224,7 @@ discard block |
||
| 224 | 224 | }, |
| 225 | 225 | "different_billing_address": false |
| 226 | 226 | } |
| 227 | -EOT; |
|
| 227 | +eot; |
|
| 228 | 228 | |
| 229 | 229 | $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $newData); |
| 230 | 230 | |
@@ -257,7 +257,7 @@ discard block |
||
| 257 | 257 | }, |
| 258 | 258 | "different_billing_address": false |
| 259 | 259 | } |
| 260 | -EOT; |
|
| 260 | +eot; |
|
| 261 | 261 | |
| 262 | 262 | $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $addressData); |
| 263 | 263 | |
@@ -276,7 +276,7 @@ discard block |
||
| 276 | 276 | }, |
| 277 | 277 | "different_billing_address": false |
| 278 | 278 | } |
| 279 | -EOT; |
|
| 279 | +eot; |
|
| 280 | 280 | |
| 281 | 281 | $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $newAddressData); |
| 282 | 282 | |
@@ -309,7 +309,7 @@ discard block |
||
| 309 | 309 | }, |
| 310 | 310 | "different_billing_address": false |
| 311 | 311 | } |
| 312 | -EOT; |
|
| 312 | +eot; |
|
| 313 | 313 | |
| 314 | 314 | $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $addressData); |
| 315 | 315 | |
@@ -329,7 +329,7 @@ discard block |
||
| 329 | 329 | }, |
| 330 | 330 | "different_billing_address": false |
| 331 | 331 | } |
| 332 | -EOT; |
|
| 332 | +eot; |
|
| 333 | 333 | |
| 334 | 334 | $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $newAddressData); |
| 335 | 335 | |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | } |
| 86 | 86 | ] |
| 87 | 87 | } |
| 88 | -EOT; |
|
| 88 | +eot; |
|
| 89 | 89 | |
| 90 | 90 | $this->client->request('PUT', $this->getSelectPaymentUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data); |
| 91 | 91 | |
@@ -175,7 +175,7 @@ discard block |
||
| 175 | 175 | } |
| 176 | 176 | ] |
| 177 | 177 | } |
| 178 | -EOT; |
|
| 178 | +eot; |
|
| 179 | 179 | |
| 180 | 180 | $this->client->request('PUT', $this->getSelectPaymentUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data); |
| 181 | 181 | |
@@ -216,7 +216,7 @@ discard block |
||
| 216 | 216 | } |
| 217 | 217 | ] |
| 218 | 218 | } |
| 219 | -EOT; |
|
| 219 | +eot; |
|
| 220 | 220 | |
| 221 | 221 | $this->client->request('PUT', $this->getSelectPaymentUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data); |
| 222 | 222 | |
@@ -149,7 +149,7 @@ discard block |
||
| 149 | 149 | } |
| 150 | 150 | ] |
| 151 | 151 | } |
| 152 | -EOT; |
|
| 152 | +eot; |
|
| 153 | 153 | |
| 154 | 154 | $this->client->request('PUT', $this->getSelectShippingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data); |
| 155 | 155 | |
@@ -183,7 +183,7 @@ discard block |
||
| 183 | 183 | } |
| 184 | 184 | ] |
| 185 | 185 | } |
| 186 | -EOT; |
|
| 186 | +eot; |
|
| 187 | 187 | |
| 188 | 188 | $this->client->request('PUT', $this->getSelectShippingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data); |
| 189 | 189 | |
@@ -223,7 +223,7 @@ discard block |
||
| 223 | 223 | } |
| 224 | 224 | ] |
| 225 | 225 | } |
| 226 | -EOT; |
|
| 226 | +eot; |
|
| 227 | 227 | |
| 228 | 228 | $this->client->request('PUT', $this->getSelectShippingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data); |
| 229 | 229 | |
@@ -259,7 +259,7 @@ discard block |
||
| 259 | 259 | } |
| 260 | 260 | ] |
| 261 | 261 | } |
| 262 | -EOT; |
|
| 262 | +eot; |
|
| 263 | 263 | |
| 264 | 264 | $this->client->request('PUT', $this->getSelectShippingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data); |
| 265 | 265 | |