KplOpenYaoOrdersyncGetorderlistRequest.php 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?php
  2. class KplOpenYaoOrdersyncGetorderlistRequest
  3. {
  4. private $apiParas = array();
  5. public function getApiMethodName(){
  6. return "jingdong.kpl.open.yao.ordersync.getorderlist";
  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 $venderId;
  28. public function setVenderId($venderId){
  29. $this->venderId = $venderId;
  30. $this->apiParas["venderId"] = $venderId;
  31. }
  32. public function getVenderId(){
  33. return $this->venderId;
  34. }
  35. private $orderId;
  36. public function setOrderId($orderId ){
  37. $this->orderId=$orderId;
  38. $this->apiParas["orderId"] = $orderId;
  39. }
  40. public function getOrderId(){
  41. return $this->orderId;
  42. }
  43. }