| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <?php
- namespace Com\Pdd\Pop\Sdk\Api\Request;
- use Com\Pdd\Pop\Sdk\PopBaseHttpRequest;
- use Com\Pdd\Pop\Sdk\PopBaseJsonEntity;
- class PddDdkGoodsPidGenerateRequest extends PopBaseHttpRequest
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(Long, "number")
- */
- private $number;
- /**
- * @JsonProperty(List<String>, "p_id_name_list")
- */
- private $pIdNameList;
- protected function setUserParams(&$params)
- {
- $this->setUserParam($params, "number", $this->number);
- $this->setUserParam($params, "p_id_name_list", $this->pIdNameList);
- }
- public function getVersion()
- {
- return "V1";
- }
- public function getDataType()
- {
- return "JSON";
- }
- public function getType()
- {
- return "pdd.ddk.goods.pid.generate";
- }
- public function setNumber($number)
- {
- $this->number = $number;
- }
- public function setPIdNameList($pIdNameList)
- {
- $this->pIdNameList = $pIdNameList;
- }
- }
|