KplOpenAftersaleOrderidRequest.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?php
  2. class KplOpenAftersaleOrderidRequest
  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.aftersale.orderid";
  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 $refId;
  32. public function setRefId($refId){
  33. $this->apiParas['refId'] = $refId;
  34. }
  35. public function getRefId(){
  36. return $this->apiParas['refId'];
  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. }
  46. ?>