AlipayEbppConfigProductSearchRequest.php 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.ebpp.config.product.search request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019-03-08 15:29:11
  7. */
  8. class AlipayEbppConfigProductSearchRequest
  9. {
  10. /**
  11. * 出账机构例如杭州电力HZELECTRIC
  12. **/
  13. private $chargeInst;
  14. /**
  15. * 获取场景,如query或者是confirm
  16. **/
  17. private $fieldScene;
  18. /**
  19. * 产品业务类型如缴费:JF
  20. **/
  21. private $orderType;
  22. /**
  23. * 产品子业务类型如水费WATER
  24. **/
  25. private $subOrderType;
  26. private $apiParas = array();
  27. private $terminalType;
  28. private $terminalInfo;
  29. private $prodCode;
  30. private $apiVersion="1.0";
  31. private $notifyUrl;
  32. private $returnUrl;
  33. private $needEncrypt=false;
  34. public function setChargeInst($chargeInst)
  35. {
  36. $this->chargeInst = $chargeInst;
  37. $this->apiParas["charge_inst"] = $chargeInst;
  38. }
  39. public function getChargeInst()
  40. {
  41. return $this->chargeInst;
  42. }
  43. public function setFieldScene($fieldScene)
  44. {
  45. $this->fieldScene = $fieldScene;
  46. $this->apiParas["field_scene"] = $fieldScene;
  47. }
  48. public function getFieldScene()
  49. {
  50. return $this->fieldScene;
  51. }
  52. public function setOrderType($orderType)
  53. {
  54. $this->orderType = $orderType;
  55. $this->apiParas["order_type"] = $orderType;
  56. }
  57. public function getOrderType()
  58. {
  59. return $this->orderType;
  60. }
  61. public function setSubOrderType($subOrderType)
  62. {
  63. $this->subOrderType = $subOrderType;
  64. $this->apiParas["sub_order_type"] = $subOrderType;
  65. }
  66. public function getSubOrderType()
  67. {
  68. return $this->subOrderType;
  69. }
  70. public function getApiMethodName()
  71. {
  72. return "alipay.ebpp.config.product.search";
  73. }
  74. public function setNotifyUrl($notifyUrl)
  75. {
  76. $this->notifyUrl=$notifyUrl;
  77. }
  78. public function getNotifyUrl()
  79. {
  80. return $this->notifyUrl;
  81. }
  82. public function setReturnUrl($returnUrl)
  83. {
  84. $this->returnUrl=$returnUrl;
  85. }
  86. public function getReturnUrl()
  87. {
  88. return $this->returnUrl;
  89. }
  90. public function getApiParas()
  91. {
  92. return $this->apiParas;
  93. }
  94. public function getTerminalType()
  95. {
  96. return $this->terminalType;
  97. }
  98. public function setTerminalType($terminalType)
  99. {
  100. $this->terminalType = $terminalType;
  101. }
  102. public function getTerminalInfo()
  103. {
  104. return $this->terminalInfo;
  105. }
  106. public function setTerminalInfo($terminalInfo)
  107. {
  108. $this->terminalInfo = $terminalInfo;
  109. }
  110. public function getProdCode()
  111. {
  112. return $this->prodCode;
  113. }
  114. public function setProdCode($prodCode)
  115. {
  116. $this->prodCode = $prodCode;
  117. }
  118. public function setApiVersion($apiVersion)
  119. {
  120. $this->apiVersion=$apiVersion;
  121. }
  122. public function getApiVersion()
  123. {
  124. return $this->apiVersion;
  125. }
  126. public function setNeedEncrypt($needEncrypt)
  127. {
  128. $this->needEncrypt=$needEncrypt;
  129. }
  130. public function getNeedEncrypt()
  131. {
  132. return $this->needEncrypt;
  133. }
  134. }