Total Complexity | 7 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class PddTrainGrabCancelRequest extends PopBaseHttpRequest |
||
8 | { |
||
9 | public function __construct() |
||
10 | { |
||
11 | |||
12 | } |
||
13 | /** |
||
14 | * @JsonProperty(String, "order_id") |
||
15 | */ |
||
16 | private $orderId; |
||
17 | |||
18 | /** |
||
19 | * @JsonProperty(String, "pdd_order_id") |
||
20 | */ |
||
21 | private $pddOrderId; |
||
22 | |||
23 | protected function setUserParams(&$params) |
||
24 | { |
||
25 | $this->setUserParam($params, "order_id", $this->orderId); |
||
26 | $this->setUserParam($params, "pdd_order_id", $this->pddOrderId); |
||
27 | |||
28 | } |
||
29 | |||
30 | public function getVersion() |
||
31 | { |
||
32 | return "V1"; |
||
33 | } |
||
34 | |||
35 | public function getDataType() |
||
36 | { |
||
37 | return "JSON"; |
||
38 | } |
||
39 | |||
40 | public function getType() |
||
43 | } |
||
44 | |||
45 | public function setOrderId($orderId) |
||
46 | { |
||
47 | $this->orderId = $orderId; |
||
48 | } |
||
49 | |||
50 | public function setPddOrderId($pddOrderId) |
||
53 | } |
||
54 | |||
55 | } |
||
56 |