AlipayOpenAgentCreateRequest.php 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <?php
  2. /**
  3. * 重庆赤晓店信息科技有限公司
  4. * https://www.chixiaodian.com
  5. * Copyright (c) 2023 赤店商城 All rights reserved.
  6. */
  7. class AlipayOpenAgentCreateRequest
  8. {
  9. /**
  10. * 开启带商户签约、创建应用事务
  11. **/
  12. private $bizContent;
  13. private $apiParas = array();
  14. private $terminalType;
  15. private $terminalInfo;
  16. private $prodCode;
  17. private $apiVersion="1.0";
  18. private $notifyUrl;
  19. private $returnUrl;
  20. private $needEncrypt=false;
  21. public function setBizContent($bizContent)
  22. {
  23. $this->bizContent = $bizContent;
  24. $this->apiParas["biz_content"] = $bizContent;
  25. }
  26. public function getBizContent()
  27. {
  28. return $this->bizContent;
  29. }
  30. public function getApiMethodName()
  31. {
  32. return "alipay.open.agent.create";
  33. }
  34. public function setNotifyUrl($notifyUrl)
  35. {
  36. $this->notifyUrl=$notifyUrl;
  37. }
  38. public function getNotifyUrl()
  39. {
  40. return $this->notifyUrl;
  41. }
  42. public function setReturnUrl($returnUrl)
  43. {
  44. $this->returnUrl=$returnUrl;
  45. }
  46. public function getReturnUrl()
  47. {
  48. return $this->returnUrl;
  49. }
  50. public function getApiParas()
  51. {
  52. return $this->apiParas;
  53. }
  54. public function getTerminalType()
  55. {
  56. return $this->terminalType;
  57. }
  58. public function setTerminalType($terminalType)
  59. {
  60. $this->terminalType = $terminalType;
  61. }
  62. public function getTerminalInfo()
  63. {
  64. return $this->terminalInfo;
  65. }
  66. public function setTerminalInfo($terminalInfo)
  67. {
  68. $this->terminalInfo = $terminalInfo;
  69. }
  70. public function getProdCode()
  71. {
  72. return $this->prodCode;
  73. }
  74. public function setProdCode($prodCode)
  75. {
  76. $this->prodCode = $prodCode;
  77. }
  78. public function setApiVersion($apiVersion)
  79. {
  80. $this->apiVersion=$apiVersion;
  81. }
  82. public function getApiVersion()
  83. {
  84. return $this->apiVersion;
  85. }
  86. public function setNeedEncrypt($needEncrypt)
  87. {
  88. $this->needEncrypt=$needEncrypt;
  89. }
  90. public function getNeedEncrypt()
  91. {
  92. return $this->needEncrypt;
  93. }
  94. }