AlipayDatabizCorePaymentAbilityGetRequest.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.databiz.core.payment.ability.get request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019-03-08 15:29:11
  7. */
  8. class AlipayDatabizCorePaymentAbilityGetRequest
  9. {
  10. /**
  11. * 外部商户应用名称
  12. **/
  13. private $appInfo;
  14. /**
  15. * 移动设备唯一标示码,后续版本废弃该参数,手机号码作为唯一查询标示。
  16. **/
  17. private $imei;
  18. /**
  19. * 手机号码,必选!
  20. **/
  21. private $mobileNum;
  22. private $apiParas = array();
  23. private $terminalType;
  24. private $terminalInfo;
  25. private $prodCode;
  26. private $apiVersion="1.0";
  27. private $notifyUrl;
  28. private $returnUrl;
  29. private $needEncrypt=false;
  30. public function setAppInfo($appInfo)
  31. {
  32. $this->appInfo = $appInfo;
  33. $this->apiParas["app_info"] = $appInfo;
  34. }
  35. public function getAppInfo()
  36. {
  37. return $this->appInfo;
  38. }
  39. public function setImei($imei)
  40. {
  41. $this->imei = $imei;
  42. $this->apiParas["imei"] = $imei;
  43. }
  44. public function getImei()
  45. {
  46. return $this->imei;
  47. }
  48. public function setMobileNum($mobileNum)
  49. {
  50. $this->mobileNum = $mobileNum;
  51. $this->apiParas["mobile_num"] = $mobileNum;
  52. }
  53. public function getMobileNum()
  54. {
  55. return $this->mobileNum;
  56. }
  57. public function getApiMethodName()
  58. {
  59. return "alipay.databiz.core.payment.ability.get";
  60. }
  61. public function setNotifyUrl($notifyUrl)
  62. {
  63. $this->notifyUrl=$notifyUrl;
  64. }
  65. public function getNotifyUrl()
  66. {
  67. return $this->notifyUrl;
  68. }
  69. public function setReturnUrl($returnUrl)
  70. {
  71. $this->returnUrl=$returnUrl;
  72. }
  73. public function getReturnUrl()
  74. {
  75. return $this->returnUrl;
  76. }
  77. public function getApiParas()
  78. {
  79. return $this->apiParas;
  80. }
  81. public function getTerminalType()
  82. {
  83. return $this->terminalType;
  84. }
  85. public function setTerminalType($terminalType)
  86. {
  87. $this->terminalType = $terminalType;
  88. }
  89. public function getTerminalInfo()
  90. {
  91. return $this->terminalInfo;
  92. }
  93. public function setTerminalInfo($terminalInfo)
  94. {
  95. $this->terminalInfo = $terminalInfo;
  96. }
  97. public function getProdCode()
  98. {
  99. return $this->prodCode;
  100. }
  101. public function setProdCode($prodCode)
  102. {
  103. $this->prodCode = $prodCode;
  104. }
  105. public function setApiVersion($apiVersion)
  106. {
  107. $this->apiVersion=$apiVersion;
  108. }
  109. public function getApiVersion()
  110. {
  111. return $this->apiVersion;
  112. }
  113. public function setNeedEncrypt($needEncrypt)
  114. {
  115. $this->needEncrypt=$needEncrypt;
  116. }
  117. public function getNeedEncrypt()
  118. {
  119. return $this->needEncrypt;
  120. }
  121. }