123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.appstore.goods.query request
- *
- * @author auto create
- * @since 1.0, 2021.10.12
- */
- class OapiAppstoreGoodsQueryRequest
- {
- /**
- * 商品码
- **/
- private $goodsCode;
-
- private $apiParas = array();
-
- public function setGoodsCode($goodsCode)
- {
- $this->goodsCode = $goodsCode;
- $this->apiParas["goods_code"] = $goodsCode;
- }
- public function getGoodsCode()
- {
- return $this->goodsCode;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.appstore.goods.query";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->goodsCode,"goodsCode");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|