AlipayOfflineMarketShopPublicUnbindRequest.php 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.offline.market.shop.public.unbind request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2016-12-19 20:52:06
  7. */
  8. class AlipayOfflineMarketShopPublicUnbindRequest
  9. {
  10. /**
  11. * 是否解绑所有门店,T表示解绑所有门店,F表示解绑指定shop_ids的门店列表
  12. **/
  13. private $isAll;
  14. /**
  15. * 解除绑定门店的ID列表,一次最多解绑100个门店,is_all为T时表示解除绑定本商家下所有门店,即门店列表无需通过本参数shop_ids传入,由系统自动查询;is_all为F时该参数必填
  16. **/
  17. private $shopIds;
  18. private $apiParas = array();
  19. private $terminalType;
  20. private $terminalInfo;
  21. private $prodCode;
  22. private $apiVersion="1.0";
  23. private $notifyUrl;
  24. private $returnUrl;
  25. private $needEncrypt=false;
  26. public function setIsAll($isAll)
  27. {
  28. $this->isAll = $isAll;
  29. $this->apiParas["is_all"] = $isAll;
  30. }
  31. public function getIsAll()
  32. {
  33. return $this->isAll;
  34. }
  35. public function setShopIds($shopIds)
  36. {
  37. $this->shopIds = $shopIds;
  38. $this->apiParas["shop_ids"] = $shopIds;
  39. }
  40. public function getShopIds()
  41. {
  42. return $this->shopIds;
  43. }
  44. public function getApiMethodName()
  45. {
  46. return "alipay.offline.market.shop.public.unbind";
  47. }
  48. public function setNotifyUrl($notifyUrl)
  49. {
  50. $this->notifyUrl=$notifyUrl;
  51. }
  52. public function getNotifyUrl()
  53. {
  54. return $this->notifyUrl;
  55. }
  56. public function setReturnUrl($returnUrl)
  57. {
  58. $this->returnUrl=$returnUrl;
  59. }
  60. public function getReturnUrl()
  61. {
  62. return $this->returnUrl;
  63. }
  64. public function getApiParas()
  65. {
  66. return $this->apiParas;
  67. }
  68. public function getTerminalType()
  69. {
  70. return $this->terminalType;
  71. }
  72. public function setTerminalType($terminalType)
  73. {
  74. $this->terminalType = $terminalType;
  75. }
  76. public function getTerminalInfo()
  77. {
  78. return $this->terminalInfo;
  79. }
  80. public function setTerminalInfo($terminalInfo)
  81. {
  82. $this->terminalInfo = $terminalInfo;
  83. }
  84. public function getProdCode()
  85. {
  86. return $this->prodCode;
  87. }
  88. public function setProdCode($prodCode)
  89. {
  90. $this->prodCode = $prodCode;
  91. }
  92. public function setApiVersion($apiVersion)
  93. {
  94. $this->apiVersion=$apiVersion;
  95. }
  96. public function getApiVersion()
  97. {
  98. return $this->apiVersion;
  99. }
  100. public function setNeedEncrypt($needEncrypt)
  101. {
  102. $this->needEncrypt=$needEncrypt;
  103. }
  104. public function getNeedEncrypt()
  105. {
  106. return $this->needEncrypt;
  107. }
  108. }