KplOpenYaoOrdersyncUpdatestateRequest.php 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?php
  2. class KplOpenYaoOrdersyncUpdatestateRequest
  3. {
  4. public function __construct()
  5. {
  6. $this->version = "1.0";
  7. }
  8. private $apiParas = array();
  9. public function getApiMethodName(){
  10. return "jd.kpl.open.yao.ordersync.updatestate";
  11. }
  12. public function getApiParas(){
  13. if(empty($this->apiParas)){
  14. return "{}";
  15. }
  16. return $this->apiParas;
  17. }
  18. public function check(){
  19. }
  20. public function putOtherTextParam($key, $value){
  21. $this->apiParas[$key] = $value;
  22. $this->$key = $value;
  23. }
  24. private $version;
  25. public function setVersion($version){
  26. $this->version = $version;
  27. }
  28. public function getVersion(){
  29. return $this->version;
  30. }
  31. private $venderId;
  32. public function setVenderId($venderId){
  33. $this->apiParas['venderId'] = $venderId;
  34. }
  35. public function getVenderId(){
  36. return $this->apiParas['venderId'];
  37. }
  38. private $orderId;
  39. public function setOrderId($orderId){
  40. $this->apiParas['orderId'] = $orderId;
  41. }
  42. public function getOrderId(){
  43. return $this->apiParas['orderId'];
  44. }
  45. private $deliverInfo;
  46. public function setDeliverInfo($deliverInfo){
  47. $this->apiParas['deliverInfo'] = $deliverInfo;
  48. }
  49. public function getDeliverInfo(){
  50. return $this->apiParas['deliverInfo'];
  51. }
  52. }
  53. ?>