@@ 47-56 (lines=10) @@ | ||
44 | return $this->parseResponse($response, $action.'Result'); |
|
45 | } |
|
46 | ||
47 | public function cancelShipment($shipmentId) |
|
48 | { |
|
49 | $action = 'CancelShipment'; |
|
50 | ||
51 | $response = $this->client->post($action, '/MerchantFulfillment/'.self::VERSION, self::VERSION, [ |
|
52 | 'ShipmentId' => $shipmentId, |
|
53 | ]); |
|
54 | ||
55 | return $this->parseResponse($response, $action.'Result'); |
|
56 | } |
|
57 | ||
58 | public function getShipment($shipmentId) |
|
59 | { |
|
@@ 58-67 (lines=10) @@ | ||
55 | return $this->parseResponse($response, $action.'Result'); |
|
56 | } |
|
57 | ||
58 | public function getShipment($shipmentId) |
|
59 | { |
|
60 | $action = 'GetShipment'; |
|
61 | ||
62 | $response = $this->client->post($action, '/MerchantFulfillment/'.self::VERSION, self::VERSION, [ |
|
63 | 'ShipmentId' => $shipmentId, |
|
64 | ]); |
|
65 | ||
66 | return $this->parseResponse($response, $action.'Result'); |
|
67 | } |
|
68 | ||
69 | public function getServiceStatus() |
|
70 | { |
|
@@ 69-76 (lines=8) @@ | ||
66 | return $this->parseResponse($response, $action.'Result'); |
|
67 | } |
|
68 | ||
69 | public function getServiceStatus() |
|
70 | { |
|
71 | $action = 'GetServiceStatus'; |
|
72 | ||
73 | $response = $this->client->post($action, '/MerchantFulfillment/'.self::VERSION, self::VERSION); |
|
74 | ||
75 | return $this->parseResponse($response, $action.'Result'); |
|
76 | } |
|
77 | ||
78 | public function getAdditionalSellerInputs($params) |
|
79 | { |