OrderReq.php 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?php
  2. namespace UnionOpenOrderAgentQuery;
  3. class OrderReq{
  4. private $params=array();
  5. function __construct(){
  6. $this->params["@type"]="com.jd.union.open.gateway.api.dto.order.agent.OrderAgentReq";
  7. }
  8. private $pageIndex;
  9. public function setPageIndex($pageIndex){
  10. $this->params['pageIndex'] = $pageIndex;
  11. }
  12. public function getPageIndex(){
  13. return $this->pageIndex;
  14. }
  15. private $pageSize;
  16. public function setPageSize($pageSize){
  17. $this->params['pageSize'] = $pageSize;
  18. }
  19. public function getPageSize(){
  20. return $this->pageSize;
  21. }
  22. private $type;
  23. public function setType($type){
  24. $this->params['type'] = $type;
  25. }
  26. public function getType(){
  27. return $this->type;
  28. }
  29. private $startTime;
  30. public function setStartTime($startTime){
  31. $this->params['startTime'] = $startTime;
  32. }
  33. public function getStartTime(){
  34. return $this->startTime;
  35. }
  36. private $endTime;
  37. public function setEndTime($endTime){
  38. $this->params['endTime'] = $endTime;
  39. }
  40. public function getEndTime(){
  41. return $this->endTime;
  42. }
  43. private $fields;
  44. public function setFields($fields){
  45. $this->params['fields'] = $fields;
  46. }
  47. public function getFields(){
  48. return $this->fields;
  49. }
  50. function getInstance(){
  51. return $this->params;
  52. }
  53. }
  54. ?>