| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <?php
- namespace Com\Pdd\Pop\Sdk\Api\Request;
- use Com\Pdd\Pop\Sdk\PopBaseHttpRequest;
- use Com\Pdd\Pop\Sdk\PopBaseJsonEntity;
- class PddVoucherOtaCardVerificationRequest extends PopBaseHttpRequest
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(String, "card_no")
- */
- private $cardNo;
- /**
- * @JsonProperty(Long, "store_id")
- */
- private $storeId;
- /**
- * @JsonProperty(String, "store_name")
- */
- private $storeName;
- protected function setUserParams(&$params)
- {
- $this->setUserParam($params, "card_no", $this->cardNo);
- $this->setUserParam($params, "store_id", $this->storeId);
- $this->setUserParam($params, "store_name", $this->storeName);
- }
- public function getVersion()
- {
- return "V1";
- }
- public function getDataType()
- {
- return "JSON";
- }
- public function getType()
- {
- return "pdd.voucher.ota.card.verification";
- }
- public function setCardNo($cardNo)
- {
- $this->cardNo = $cardNo;
- }
- public function setStoreId($storeId)
- {
- $this->storeId = $storeId;
- }
- public function setStoreName($storeName)
- {
- $this->storeName = $storeName;
- }
- }
|