OapiRetailSellerSyncRequest.php 974 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?php
  2. /**
  3. * dingtalk API: dingtalk.oapi.retail.seller.sync request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019.12.03
  7. */
  8. class OapiRetailSellerSyncRequest
  9. {
  10. /**
  11. * 卖家信息
  12. **/
  13. private $sellerParam;
  14. /**
  15. * staffId
  16. **/
  17. private $userid;
  18. private $apiParas = array();
  19. public function setSellerParam($sellerParam)
  20. {
  21. $this->sellerParam = $sellerParam;
  22. $this->apiParas["seller_param"] = $sellerParam;
  23. }
  24. public function getSellerParam()
  25. {
  26. return $this->sellerParam;
  27. }
  28. public function setUserid($userid)
  29. {
  30. $this->userid = $userid;
  31. $this->apiParas["userid"] = $userid;
  32. }
  33. public function getUserid()
  34. {
  35. return $this->userid;
  36. }
  37. public function getApiMethodName()
  38. {
  39. return "dingtalk.oapi.retail.seller.sync";
  40. }
  41. public function getApiParas()
  42. {
  43. return $this->apiParas;
  44. }
  45. public function check()
  46. {
  47. }
  48. public function putOtherTextParam($key, $value) {
  49. $this->apiParas[$key] = $value;
  50. $this->$key = $value;
  51. }
  52. }