| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- <?php
- namespace Com\Pdd\Pop\Sdk\Api\Request;
- use Com\Pdd\Pop\Sdk\PopBaseHttpRequest;
- use Com\Pdd\Pop\Sdk\PopBaseJsonEntity;
- class PddDdkWeappQrcodeUrlGenRequest extends PopBaseHttpRequest
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(String, "custom_parameters")
- */
- private $customParameters;
- /**
- * @JsonProperty(Boolean, "generate_mall_collect_coupon")
- */
- private $generateMallCollectCoupon;
- /**
- * @JsonProperty(List<Long>, "goods_id_list")
- */
- private $goodsIdList;
- /**
- * @JsonProperty(String, "p_id")
- */
- private $pId;
- /**
- * @JsonProperty(Long, "zs_duo_id")
- */
- private $zsDuoId;
- /**
- * @JsonProperty(List<String>, "room_id_list")
- */
- private $roomIdList;
- /**
- * @JsonProperty(List<String>, "target_id_list")
- */
- private $targetIdList;
- protected function setUserParams(&$params)
- {
- $this->setUserParam($params, "custom_parameters", $this->customParameters);
- $this->setUserParam($params, "generate_mall_collect_coupon", $this->generateMallCollectCoupon);
- $this->setUserParam($params, "goods_id_list", $this->goodsIdList);
- $this->setUserParam($params, "p_id", $this->pId);
- $this->setUserParam($params, "zs_duo_id", $this->zsDuoId);
- $this->setUserParam($params, "room_id_list", $this->roomIdList);
- $this->setUserParam($params, "target_id_list", $this->targetIdList);
- }
- public function getVersion()
- {
- return "V1";
- }
- public function getDataType()
- {
- return "JSON";
- }
- public function getType()
- {
- return "pdd.ddk.weapp.qrcode.url.gen";
- }
- public function setCustomParameters($customParameters)
- {
- $this->customParameters = $customParameters;
- }
- public function setGenerateMallCollectCoupon($generateMallCollectCoupon)
- {
- $this->generateMallCollectCoupon = $generateMallCollectCoupon;
- }
- public function setGoodsIdList($goodsIdList)
- {
- $this->goodsIdList = $goodsIdList;
- }
- public function setPId($pId)
- {
- $this->pId = $pId;
- }
- public function setZsDuoId($zsDuoId)
- {
- $this->zsDuoId = $zsDuoId;
- }
- public function setRoomIdList($roomIdList)
- {
- $this->roomIdList = $roomIdList;
- }
- public function setTargetIdList($targetIdList)
- {
- $this->targetIdList = $targetIdList;
- }
- }
|