AlipayEbppMerchantMeterialUploadRequest.php 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.ebpp.merchant.meterial.upload request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2023-04-03 15:04:35
  7. */
  8. class AlipayEbppMerchantMeterialUploadRequest
  9. {
  10. /**
  11. * 文件二进制
  12. **/
  13. private $content;
  14. /**
  15. * 实体创建时对应的code,如小区或物业的shortName。当entity_type=RELATIONSHIP时,entity_code=关系id
  16. **/
  17. private $entityCode;
  18. /**
  19. * 实体类型:
  20. COMMUNITY_COMPANY("COMMUNITY_COMPANY", "物业"),
  21. OMMUNITY_INFO("COMMUNITY_INFO", "小区"),
  22. COMMUNITY_ISV("COMMUNITY_ISV", "ISV"),
  23. RELATIONSHIP("RELATIONSHIP", "物业小区绑定关系"),
  24. EXTERNAL_BILL_INFO("EXTERNAL_BILL_INFO", "账单"),;
  25. **/
  26. private $entityType;
  27. /**
  28. * 文件描述
  29. **/
  30. private $fileDesc;
  31. /**
  32. * 文件名
  33. **/
  34. private $fileName;
  35. /**
  36. * 备注
  37. **/
  38. private $memo;
  39. private $apiParas = array();
  40. private $terminalType;
  41. private $terminalInfo;
  42. private $prodCode;
  43. private $apiVersion="1.0";
  44. private $notifyUrl;
  45. private $returnUrl;
  46. private $needEncrypt=false;
  47. public function setContent($content)
  48. {
  49. $this->content = $content;
  50. $this->apiParas["content"] = $content;
  51. }
  52. public function getContent()
  53. {
  54. return $this->content;
  55. }
  56. public function setEntityCode($entityCode)
  57. {
  58. $this->entityCode = $entityCode;
  59. $this->apiParas["entity_code"] = $entityCode;
  60. }
  61. public function getEntityCode()
  62. {
  63. return $this->entityCode;
  64. }
  65. public function setEntityType($entityType)
  66. {
  67. $this->entityType = $entityType;
  68. $this->apiParas["entity_type"] = $entityType;
  69. }
  70. public function getEntityType()
  71. {
  72. return $this->entityType;
  73. }
  74. public function setFileDesc($fileDesc)
  75. {
  76. $this->fileDesc = $fileDesc;
  77. $this->apiParas["file_desc"] = $fileDesc;
  78. }
  79. public function getFileDesc()
  80. {
  81. return $this->fileDesc;
  82. }
  83. public function setFileName($fileName)
  84. {
  85. $this->fileName = $fileName;
  86. $this->apiParas["file_name"] = $fileName;
  87. }
  88. public function getFileName()
  89. {
  90. return $this->fileName;
  91. }
  92. public function setMemo($memo)
  93. {
  94. $this->memo = $memo;
  95. $this->apiParas["memo"] = $memo;
  96. }
  97. public function getMemo()
  98. {
  99. return $this->memo;
  100. }
  101. public function getApiMethodName()
  102. {
  103. return "alipay.ebpp.merchant.meterial.upload";
  104. }
  105. public function setNotifyUrl($notifyUrl)
  106. {
  107. $this->notifyUrl=$notifyUrl;
  108. }
  109. public function getNotifyUrl()
  110. {
  111. return $this->notifyUrl;
  112. }
  113. public function setReturnUrl($returnUrl)
  114. {
  115. $this->returnUrl=$returnUrl;
  116. }
  117. public function getReturnUrl()
  118. {
  119. return $this->returnUrl;
  120. }
  121. public function getApiParas()
  122. {
  123. return $this->apiParas;
  124. }
  125. public function getTerminalType()
  126. {
  127. return $this->terminalType;
  128. }
  129. public function setTerminalType($terminalType)
  130. {
  131. $this->terminalType = $terminalType;
  132. }
  133. public function getTerminalInfo()
  134. {
  135. return $this->terminalInfo;
  136. }
  137. public function setTerminalInfo($terminalInfo)
  138. {
  139. $this->terminalInfo = $terminalInfo;
  140. }
  141. public function getProdCode()
  142. {
  143. return $this->prodCode;
  144. }
  145. public function setProdCode($prodCode)
  146. {
  147. $this->prodCode = $prodCode;
  148. }
  149. public function setApiVersion($apiVersion)
  150. {
  151. $this->apiVersion=$apiVersion;
  152. }
  153. public function getApiVersion()
  154. {
  155. return $this->apiVersion;
  156. }
  157. public function setNeedEncrypt($needEncrypt)
  158. {
  159. $this->needEncrypt=$needEncrypt;
  160. }
  161. public function getNeedEncrypt()
  162. {
  163. return $this->needEncrypt;
  164. }
  165. }