InvoiceSubmitRequest.php 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  1. <?php
  2. class InvoiceSubmitRequest
  3. {
  4. public function __construct()
  5. {
  6. $this->version = "1.0";
  7. }
  8. private $apiParas = array();
  9. public function getApiMethodName(){
  10. return "biz.invoice.submit";
  11. }
  12. public function getApiParas(){
  13. if(empty($this->apiParas)){
  14. return "{}";
  15. }
  16. return $this->apiParas;
  17. }
  18. public function check(){
  19. }
  20. public function putOtherTextParam($key, $value){
  21. $this->apiParas[$key] = $value;
  22. $this->$key = $value;
  23. }
  24. private $version;
  25. public function setVersion($version){
  26. $this->version = $version;
  27. }
  28. public function getVersion(){
  29. return $this->version;
  30. }
  31. private $supplierOrder;
  32. public function setSupplierOrder($supplierOrder){
  33. $this->apiParas['supplierOrder'] = $supplierOrder;
  34. }
  35. public function getSupplierOrder(){
  36. return $this->apiParas['supplierOrder'];
  37. }
  38. private $markId;
  39. public function setMarkId($markId){
  40. $this->apiParas['markId'] = $markId;
  41. }
  42. public function getMarkId(){
  43. return $this->apiParas['markId'];
  44. }
  45. private $settlementId;
  46. public function setSettlementId($settlementId){
  47. $this->apiParas['settlementId'] = $settlementId;
  48. }
  49. public function getSettlementId(){
  50. return $this->apiParas['settlementId'];
  51. }
  52. private $settlementNum;
  53. public function setSettlementNum($settlementNum){
  54. $this->apiParas['settlementNum'] = $settlementNum;
  55. }
  56. public function getSettlementNum(){
  57. return $this->apiParas['settlementNum'];
  58. }
  59. private $settlementNakedPrice;
  60. public function setSettlementNakedPrice($settlementNakedPrice){
  61. $this->apiParas['settlementNakedPrice'] = $settlementNakedPrice;
  62. }
  63. public function getSettlementNakedPrice(){
  64. return $this->apiParas['settlementNakedPrice'];
  65. }
  66. private $settlementTaxPrice;
  67. public function setSettlementTaxPrice($settlementTaxPrice){
  68. $this->apiParas['settlementTaxPrice'] = $settlementTaxPrice;
  69. }
  70. public function getSettlementTaxPrice(){
  71. return $this->apiParas['settlementTaxPrice'];
  72. }
  73. private $invoiceType;
  74. public function setInvoiceType($invoiceType){
  75. $this->apiParas['invoiceType'] = $invoiceType;
  76. }
  77. public function getInvoiceType(){
  78. return $this->apiParas['invoiceType'];
  79. }
  80. private $invoiceOrg;
  81. public function setInvoiceOrg($invoiceOrg){
  82. $this->apiParas['invoiceOrg'] = $invoiceOrg;
  83. }
  84. public function getInvoiceOrg(){
  85. return $this->apiParas['invoiceOrg'];
  86. }
  87. private $bizInvoiceContent;
  88. public function setBizInvoiceContent($bizInvoiceContent){
  89. $this->apiParas['bizInvoiceContent'] = $bizInvoiceContent;
  90. }
  91. public function getBizInvoiceContent(){
  92. return $this->apiParas['bizInvoiceContent'];
  93. }
  94. private $invoiceDate;
  95. public function setInvoiceDate($invoiceDate){
  96. $this->apiParas['invoiceDate'] = $invoiceDate;
  97. }
  98. public function getInvoiceDate(){
  99. return $this->apiParas['invoiceDate'];
  100. }
  101. private $title;
  102. public function setTitle($title){
  103. $this->apiParas['title'] = $title;
  104. }
  105. public function getTitle(){
  106. return $this->apiParas['title'];
  107. }
  108. private $billToParty;
  109. public function setBillToParty($billToParty){
  110. $this->apiParas['billToParty'] = $billToParty;
  111. }
  112. public function getBillToParty(){
  113. return $this->apiParas['billToParty'];
  114. }
  115. private $enterpriseTaxpayer;
  116. public function setEnterpriseTaxpayer($enterpriseTaxpayer){
  117. $this->apiParas['enterpriseTaxpayer'] = $enterpriseTaxpayer;
  118. }
  119. public function getEnterpriseTaxpayer(){
  120. return $this->apiParas['enterpriseTaxpayer'];
  121. }
  122. private $billToer;
  123. public function setBillToer($billToer){
  124. $this->apiParas['billToer'] = $billToer;
  125. }
  126. public function getBillToer(){
  127. return $this->apiParas['billToer'];
  128. }
  129. private $billToContact;
  130. public function setBillToContact($billToContact){
  131. $this->apiParas['billToContact'] = $billToContact;
  132. }
  133. public function getBillToContact(){
  134. return $this->apiParas['billToContact'];
  135. }
  136. private $billToProvince;
  137. public function setBillToProvince($billToProvince){
  138. $this->apiParas['billToProvince'] = $billToProvince;
  139. }
  140. public function getBillToProvince(){
  141. return $this->apiParas['billToProvince'];
  142. }
  143. private $billToCity;
  144. public function setBillToCity($billToCity){
  145. $this->apiParas['billToCity'] = $billToCity;
  146. }
  147. public function getBillToCity(){
  148. return $this->apiParas['billToCity'];
  149. }
  150. private $billToCounty;
  151. public function setBillToCounty($billToCounty){
  152. $this->apiParas['billToCounty'] = $billToCounty;
  153. }
  154. public function getBillToCounty(){
  155. return $this->apiParas['billToCounty'];
  156. }
  157. private $billToTown;
  158. public function setBillToTown($billToTown){
  159. $this->apiParas['billToTown'] = $billToTown;
  160. }
  161. public function getBillToTown(){
  162. return $this->apiParas['billToTown'];
  163. }
  164. private $billToAddress;
  165. public function setBillToAddress($billToAddress){
  166. $this->apiParas['billToAddress'] = $billToAddress;
  167. }
  168. public function getBillToAddress(){
  169. return $this->apiParas['billToAddress'];
  170. }
  171. private $repaymentDate;
  172. public function setRepaymentDate($repaymentDate){
  173. $this->apiParas['repaymentDate'] = $repaymentDate;
  174. }
  175. public function getRepaymentDate(){
  176. return $this->apiParas['repaymentDate'];
  177. }
  178. private $invoiceNum;
  179. public function setInvoiceNum($invoiceNum){
  180. $this->apiParas['invoiceNum'] = $invoiceNum;
  181. }
  182. public function getInvoiceNum(){
  183. return $this->apiParas['invoiceNum'];
  184. }
  185. private $invoiceNakedPrice;
  186. public function setInvoiceNakedPrice($invoiceNakedPrice){
  187. $this->apiParas['invoiceNakedPrice'] = $invoiceNakedPrice;
  188. }
  189. public function getInvoiceNakedPrice(){
  190. return $this->apiParas['invoiceNakedPrice'];
  191. }
  192. private $invoiceTaxPrice;
  193. public function setInvoiceTaxPrice($invoiceTaxPrice){
  194. $this->apiParas['invoiceTaxPrice'] = $invoiceTaxPrice;
  195. }
  196. public function getInvoiceTaxPrice(){
  197. return $this->apiParas['invoiceTaxPrice'];
  198. }
  199. private $currentBatch;
  200. public function setCurrentBatch($currentBatch){
  201. $this->apiParas['currentBatch'] = $currentBatch;
  202. }
  203. public function getCurrentBatch(){
  204. return $this->apiParas['currentBatch'];
  205. }
  206. private $totalBatch;
  207. public function setTotalBatch($totalBatch){
  208. $this->apiParas['totalBatch'] = $totalBatch;
  209. }
  210. public function getTotalBatch(){
  211. return $this->apiParas['totalBatch'];
  212. }
  213. private $totalBatchInvoiceNakedAmount;
  214. public function setTotalBatchInvoiceNakedAmount($totalBatchInvoiceNakedAmount){
  215. $this->apiParas['totalBatchInvoiceNakedAmount'] = $totalBatchInvoiceNakedAmount;
  216. }
  217. public function getTotalBatchInvoiceNakedAmount(){
  218. return $this->apiParas['totalBatchInvoiceNakedAmount'];
  219. }
  220. private $totalBatchInvoiceTaxAmount;
  221. public function setTotalBatchInvoiceTaxAmount($totalBatchInvoiceTaxAmount){
  222. $this->apiParas['totalBatchInvoiceTaxAmount'] = $totalBatchInvoiceTaxAmount;
  223. }
  224. public function getTotalBatchInvoiceTaxAmount(){
  225. return $this->apiParas['totalBatchInvoiceTaxAmount'];
  226. }
  227. private $totalBatchInvoiceAmount;
  228. public function setTotalBatchInvoiceAmount($totalBatchInvoiceAmount){
  229. $this->apiParas['totalBatchInvoiceAmount'] = $totalBatchInvoiceAmount;
  230. }
  231. public function getTotalBatchInvoiceAmount(){
  232. return $this->apiParas['totalBatchInvoiceAmount'];
  233. }
  234. private $billingType;
  235. public function setBillingType($billingType){
  236. $this->apiParas['billingType'] = $billingType;
  237. }
  238. public function getBillingType(){
  239. return $this->apiParas['billingType'];
  240. }
  241. private $invoicePrice;
  242. public function setInvoicePrice($invoicePrice){
  243. $this->apiParas['invoicePrice'] = $invoicePrice;
  244. }
  245. public function getInvoicePrice(){
  246. return $this->apiParas['invoicePrice'];
  247. }
  248. private $isMerge;
  249. public function setIsMerge($isMerge){
  250. $this->apiParas['isMerge'] = $isMerge;
  251. }
  252. public function getIsMerge(){
  253. return $this->apiParas['isMerge'];
  254. }
  255. private $poNo;
  256. public function setPoNo($poNo){
  257. $this->apiParas['poNo'] = $poNo;
  258. }
  259. public function getPoNo(){
  260. return $this->apiParas['poNo'];
  261. }
  262. private $enterpriseRegAddress;
  263. public function setEnterpriseRegAddress($enterpriseRegAddress){
  264. $this->apiParas['enterpriseRegAddress'] = $enterpriseRegAddress;
  265. }
  266. public function getEnterpriseRegAddress(){
  267. return $this->apiParas['enterpriseRegAddress'];
  268. }
  269. private $enterpriseRegPhone;
  270. public function setEnterpriseRegPhone($enterpriseRegPhone){
  271. $this->apiParas['enterpriseRegPhone'] = $enterpriseRegPhone;
  272. }
  273. public function getEnterpriseRegPhone(){
  274. return $this->apiParas['enterpriseRegPhone'];
  275. }
  276. private $enterpriseBankName;
  277. public function setEnterpriseBankName($enterpriseBankName){
  278. $this->apiParas['enterpriseBankName'] = $enterpriseBankName;
  279. }
  280. public function getEnterpriseBankName(){
  281. return $this->apiParas['enterpriseBankName'];
  282. }
  283. private $enterpriseBankAccount;
  284. public function setEnterpriseBankAccount($enterpriseBankAccount){
  285. $this->apiParas['enterpriseBankAccount'] = $enterpriseBankAccount;
  286. }
  287. public function getEnterpriseBankAccount(){
  288. return $this->apiParas['enterpriseBankAccount'];
  289. }
  290. }
  291. ?>