@@ -42,6 +42,6 @@ |
||
42 | 42 | $res = $ab->updateAddressesByAreas($filter, $params); |
43 | 43 | print_r($res); |
44 | 44 | } catch (ApiError $e) { |
45 | - echo $e->getCode() . PHP_EOL; |
|
46 | - echo $e->getMessage() . PHP_EOL; |
|
45 | + echo $e->getCode().PHP_EOL; |
|
46 | + echo $e->getMessage().PHP_EOL; |
|
47 | 47 | } |
@@ -51,6 +51,6 @@ |
||
51 | 51 | $res = $ab->addMultipleAddresses($arr); |
52 | 52 | print_r($res); |
53 | 53 | } catch (ApiError $e) { |
54 | - echo $e->getCode() . PHP_EOL; |
|
55 | - echo $e->getMessage() . PHP_EOL; |
|
54 | + echo $e->getCode().PHP_EOL; |
|
55 | + echo $e->getMessage().PHP_EOL; |
|
56 | 56 | } |
@@ -50,6 +50,6 @@ |
||
50 | 50 | $res = $ab->getAddressesByBodyPayload($options); |
51 | 51 | print_r($res); |
52 | 52 | } catch (ApiError $e) { |
53 | - echo $e->getCode() . PHP_EOL; |
|
54 | - echo $e->getMessage() . PHP_EOL; |
|
53 | + echo $e->getCode().PHP_EOL; |
|
54 | + echo $e->getMessage().PHP_EOL; |
|
55 | 55 | } |
@@ -21,6 +21,6 @@ |
||
21 | 21 | $res = $ab->getAddressesDepots(); |
22 | 22 | print_r($res); |
23 | 23 | } catch (ApiError $e) { |
24 | - echo $e->getCode() . PHP_EOL; |
|
25 | - echo $e->getMessage() . PHP_EOL; |
|
24 | + echo $e->getCode().PHP_EOL; |
|
25 | + echo $e->getMessage().PHP_EOL; |
|
26 | 26 | } |
@@ -23,6 +23,6 @@ |
||
23 | 23 | $res = $ab->getAddressesAsynchronousJobResult($jobId); |
24 | 24 | print_r($res); |
25 | 25 | } catch (ApiError $e) { |
26 | - echo $e->getCode() . PHP_EOL; |
|
27 | - echo $e->getMessage() . PHP_EOL; |
|
26 | + echo $e->getCode().PHP_EOL; |
|
27 | + echo $e->getMessage().PHP_EOL; |
|
28 | 28 | } |
@@ -21,6 +21,6 @@ |
||
21 | 21 | $res = $ab->getAddressCustomFields(); |
22 | 22 | print_r($res); |
23 | 23 | } catch (ApiError $e) { |
24 | - echo $e->getCode() . PHP_EOL; |
|
25 | - echo $e->getMessage() . PHP_EOL; |
|
24 | + echo $e->getCode().PHP_EOL; |
|
25 | + echo $e->getMessage().PHP_EOL; |
|
26 | 26 | } |
@@ -29,6 +29,6 @@ |
||
29 | 29 | $res = $ab->updateAddressById($addressId, $params); |
30 | 30 | print_r($res); |
31 | 31 | } catch (ApiError $e) { |
32 | - echo $e->getCode() . PHP_EOL; |
|
33 | - echo $e->getMessage() . PHP_EOL; |
|
32 | + echo $e->getCode().PHP_EOL; |
|
33 | + echo $e->getMessage().PHP_EOL; |
|
34 | 34 | } |
@@ -23,6 +23,6 @@ |
||
23 | 23 | $res = $ab->getAddressesAsynchronousJobStatus($jobId); |
24 | 24 | print_r($res); |
25 | 25 | } catch (ApiError $e) { |
26 | - echo $e->getCode() . PHP_EOL; |
|
27 | - echo $e->getMessage() . PHP_EOL; |
|
26 | + echo $e->getCode().PHP_EOL; |
|
27 | + echo $e->getMessage().PHP_EOL; |
|
28 | 28 | } |
@@ -24,6 +24,6 @@ |
||
24 | 24 | $res = $ab->exportAddressesByAreaIds($territoryIds, $filename); |
25 | 25 | print_r($res); |
26 | 26 | } catch (ApiError $e) { |
27 | - echo $e->getCode() . PHP_EOL; |
|
28 | - echo $e->getMessage() . PHP_EOL; |
|
27 | + echo $e->getCode().PHP_EOL; |
|
28 | + echo $e->getMessage().PHP_EOL; |
|
29 | 29 | } |