H5OpenMiniGetMiniProgramSchemeRequest.php 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?php
  2. class H5OpenMiniGetMiniProgramSchemeRequest
  3. {
  4. private $apiParas = array();
  5. public function getApiMethodName(){
  6. return "jingdong.h5OpenMini.getMiniProgramScheme";
  7. }
  8. public function getApiParas(){
  9. if(empty($this->apiParas)){
  10. return "{}";
  11. }
  12. return $this->apiParas;
  13. }
  14. public function check(){
  15. }
  16. public function putOtherTextParam($key, $value){
  17. $this->apiParas[$key] = $value;
  18. $this->$key = $value;
  19. }
  20. private $version;
  21. public function setVersion($version){
  22. $this->version = $version;
  23. }
  24. public function getVersion(){
  25. return $this->version;
  26. }
  27. private $path;
  28. public function setPath($path){
  29. $this->path = $path;
  30. $this->apiParas["path"] = $path;
  31. }
  32. public function getPath(){
  33. return $this->path;
  34. }
  35. private $query;
  36. public function setQuery($query){
  37. $this->query = $query;
  38. $this->apiParas["query"] = $query;
  39. }
  40. public function getQuery(){
  41. return $this->query;
  42. }
  43. private $envVersion;
  44. public function setEnvVersion($envVersion){
  45. $this->envVersion = $envVersion;
  46. $this->apiParas["envVersion"] = $envVersion;
  47. }
  48. public function getEnvVersion(){
  49. return $this->envVersion;
  50. }
  51. private $venderId;
  52. public function setVenderId($venderId){
  53. $this->venderId = $venderId;
  54. $this->apiParas["venderId"] = $venderId;
  55. }
  56. public function getVenderId(){
  57. return $this->venderId;
  58. }
  59. private $userId;
  60. public function setUserId($userId){
  61. $this->userId = $userId;
  62. $this->apiParas["userId"] = $userId;
  63. }
  64. public function getUserId(){
  65. return $this->userId;
  66. }
  67. }