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