| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152 |
- <?php
- namespace Com\Pdd\Pop\Sdk\Api\Request;
- use Com\Pdd\Pop\Sdk\PopBaseHttpRequest;
- use Com\Pdd\Pop\Sdk\PopBaseJsonEntity;
- class PddVoucherVoucherComplainRequest extends PopBaseHttpRequest
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(String, "order_sn")
- */
- private $orderSn;
- /**
- * @JsonProperty(String, "out_biz_no")
- */
- private $outBizNo;
- /**
- * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddVoucherVoucherComplainRequest_VoucherListItem>, "voucher_list")
- */
- private $voucherList;
- /**
- * @JsonProperty(String, "complain_user")
- */
- private $complainUser;
- /**
- * @JsonProperty(String, "complain_user_mobile")
- */
- private $complainUserMobile;
- /**
- * @JsonProperty(String, "complain_content")
- */
- private $complainContent;
- /**
- * @JsonProperty(List<String>, "complain_attachment_list")
- */
- private $complainAttachmentList;
- /**
- * @JsonProperty(Integer, "complain_type")
- */
- private $complainType;
- protected function setUserParams(&$params)
- {
- $this->setUserParam($params, "order_sn", $this->orderSn);
- $this->setUserParam($params, "out_biz_no", $this->outBizNo);
- $this->setUserParam($params, "voucher_list", $this->voucherList);
- $this->setUserParam($params, "complain_user", $this->complainUser);
- $this->setUserParam($params, "complain_user_mobile", $this->complainUserMobile);
- $this->setUserParam($params, "complain_content", $this->complainContent);
- $this->setUserParam($params, "complain_attachment_list", $this->complainAttachmentList);
- $this->setUserParam($params, "complain_type", $this->complainType);
- }
- public function getVersion()
- {
- return "V1";
- }
- public function getDataType()
- {
- return "JSON";
- }
- public function getType()
- {
- return "pdd.voucher.voucher.complain";
- }
- public function setOrderSn($orderSn)
- {
- $this->orderSn = $orderSn;
- }
- public function setOutBizNo($outBizNo)
- {
- $this->outBizNo = $outBizNo;
- }
- public function setVoucherList($voucherList)
- {
- $this->voucherList = $voucherList;
- }
- public function setComplainUser($complainUser)
- {
- $this->complainUser = $complainUser;
- }
- public function setComplainUserMobile($complainUserMobile)
- {
- $this->complainUserMobile = $complainUserMobile;
- }
- public function setComplainContent($complainContent)
- {
- $this->complainContent = $complainContent;
- }
- public function setComplainAttachmentList($complainAttachmentList)
- {
- $this->complainAttachmentList = $complainAttachmentList;
- }
- public function setComplainType($complainType)
- {
- $this->complainType = $complainType;
- }
- }
- class PddVoucherVoucherComplainRequest_VoucherListItem extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(String, "voucher_id")
- */
- private $voucherId;
- /**
- * @JsonProperty(String, "voucher_no")
- */
- private $voucherNo;
- public function setVoucherId($voucherId)
- {
- $this->voucherId = $voucherId;
- }
- public function setVoucherNo($voucherNo)
- {
- $this->voucherNo = $voucherNo;
- }
- }
|