| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339 |
- <?php
- class InvoiceSubmitRequest
- {
- public function __construct()
- {
- $this->version = "1.0";
- }
- private $apiParas = array();
-
- public function getApiMethodName(){
- return "biz.invoice.submit";
- }
-
- public function getApiParas(){
- if(empty($this->apiParas)){
- return "{}";
- }
- return $this->apiParas;
- }
-
- public function check(){
-
- }
-
- public function putOtherTextParam($key, $value){
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- private $version;
- public function setVersion($version){
- $this->version = $version;
- }
- public function getVersion(){
- return $this->version;
- }
- private $supplierOrder;
- public function setSupplierOrder($supplierOrder){
- $this->apiParas['supplierOrder'] = $supplierOrder;
- }
- public function getSupplierOrder(){
- return $this->apiParas['supplierOrder'];
- }
- private $markId;
- public function setMarkId($markId){
- $this->apiParas['markId'] = $markId;
- }
- public function getMarkId(){
- return $this->apiParas['markId'];
- }
- private $settlementId;
- public function setSettlementId($settlementId){
- $this->apiParas['settlementId'] = $settlementId;
- }
- public function getSettlementId(){
- return $this->apiParas['settlementId'];
- }
- private $settlementNum;
- public function setSettlementNum($settlementNum){
- $this->apiParas['settlementNum'] = $settlementNum;
- }
- public function getSettlementNum(){
- return $this->apiParas['settlementNum'];
- }
- private $settlementNakedPrice;
- public function setSettlementNakedPrice($settlementNakedPrice){
- $this->apiParas['settlementNakedPrice'] = $settlementNakedPrice;
- }
- public function getSettlementNakedPrice(){
- return $this->apiParas['settlementNakedPrice'];
- }
- private $settlementTaxPrice;
- public function setSettlementTaxPrice($settlementTaxPrice){
- $this->apiParas['settlementTaxPrice'] = $settlementTaxPrice;
- }
- public function getSettlementTaxPrice(){
- return $this->apiParas['settlementTaxPrice'];
- }
- private $invoiceType;
- public function setInvoiceType($invoiceType){
- $this->apiParas['invoiceType'] = $invoiceType;
- }
- public function getInvoiceType(){
- return $this->apiParas['invoiceType'];
- }
- private $invoiceOrg;
- public function setInvoiceOrg($invoiceOrg){
- $this->apiParas['invoiceOrg'] = $invoiceOrg;
- }
- public function getInvoiceOrg(){
- return $this->apiParas['invoiceOrg'];
- }
- private $bizInvoiceContent;
- public function setBizInvoiceContent($bizInvoiceContent){
- $this->apiParas['bizInvoiceContent'] = $bizInvoiceContent;
- }
- public function getBizInvoiceContent(){
- return $this->apiParas['bizInvoiceContent'];
- }
- private $invoiceDate;
- public function setInvoiceDate($invoiceDate){
- $this->apiParas['invoiceDate'] = $invoiceDate;
- }
- public function getInvoiceDate(){
- return $this->apiParas['invoiceDate'];
- }
- private $title;
- public function setTitle($title){
- $this->apiParas['title'] = $title;
- }
- public function getTitle(){
- return $this->apiParas['title'];
- }
- private $billToParty;
- public function setBillToParty($billToParty){
- $this->apiParas['billToParty'] = $billToParty;
- }
- public function getBillToParty(){
- return $this->apiParas['billToParty'];
- }
- private $enterpriseTaxpayer;
- public function setEnterpriseTaxpayer($enterpriseTaxpayer){
- $this->apiParas['enterpriseTaxpayer'] = $enterpriseTaxpayer;
- }
- public function getEnterpriseTaxpayer(){
- return $this->apiParas['enterpriseTaxpayer'];
- }
- private $billToer;
- public function setBillToer($billToer){
- $this->apiParas['billToer'] = $billToer;
- }
- public function getBillToer(){
- return $this->apiParas['billToer'];
- }
- private $billToContact;
- public function setBillToContact($billToContact){
- $this->apiParas['billToContact'] = $billToContact;
- }
- public function getBillToContact(){
- return $this->apiParas['billToContact'];
- }
- private $billToProvince;
- public function setBillToProvince($billToProvince){
- $this->apiParas['billToProvince'] = $billToProvince;
- }
- public function getBillToProvince(){
- return $this->apiParas['billToProvince'];
- }
- private $billToCity;
- public function setBillToCity($billToCity){
- $this->apiParas['billToCity'] = $billToCity;
- }
- public function getBillToCity(){
- return $this->apiParas['billToCity'];
- }
- private $billToCounty;
- public function setBillToCounty($billToCounty){
- $this->apiParas['billToCounty'] = $billToCounty;
- }
- public function getBillToCounty(){
- return $this->apiParas['billToCounty'];
- }
- private $billToTown;
- public function setBillToTown($billToTown){
- $this->apiParas['billToTown'] = $billToTown;
- }
- public function getBillToTown(){
- return $this->apiParas['billToTown'];
- }
- private $billToAddress;
- public function setBillToAddress($billToAddress){
- $this->apiParas['billToAddress'] = $billToAddress;
- }
- public function getBillToAddress(){
- return $this->apiParas['billToAddress'];
- }
- private $repaymentDate;
- public function setRepaymentDate($repaymentDate){
- $this->apiParas['repaymentDate'] = $repaymentDate;
- }
- public function getRepaymentDate(){
- return $this->apiParas['repaymentDate'];
- }
- private $invoiceNum;
- public function setInvoiceNum($invoiceNum){
- $this->apiParas['invoiceNum'] = $invoiceNum;
- }
- public function getInvoiceNum(){
- return $this->apiParas['invoiceNum'];
- }
- private $invoiceNakedPrice;
- public function setInvoiceNakedPrice($invoiceNakedPrice){
- $this->apiParas['invoiceNakedPrice'] = $invoiceNakedPrice;
- }
- public function getInvoiceNakedPrice(){
- return $this->apiParas['invoiceNakedPrice'];
- }
- private $invoiceTaxPrice;
- public function setInvoiceTaxPrice($invoiceTaxPrice){
- $this->apiParas['invoiceTaxPrice'] = $invoiceTaxPrice;
- }
- public function getInvoiceTaxPrice(){
- return $this->apiParas['invoiceTaxPrice'];
- }
- private $currentBatch;
- public function setCurrentBatch($currentBatch){
- $this->apiParas['currentBatch'] = $currentBatch;
- }
- public function getCurrentBatch(){
- return $this->apiParas['currentBatch'];
- }
- private $totalBatch;
- public function setTotalBatch($totalBatch){
- $this->apiParas['totalBatch'] = $totalBatch;
- }
- public function getTotalBatch(){
- return $this->apiParas['totalBatch'];
- }
- private $totalBatchInvoiceNakedAmount;
- public function setTotalBatchInvoiceNakedAmount($totalBatchInvoiceNakedAmount){
- $this->apiParas['totalBatchInvoiceNakedAmount'] = $totalBatchInvoiceNakedAmount;
- }
- public function getTotalBatchInvoiceNakedAmount(){
- return $this->apiParas['totalBatchInvoiceNakedAmount'];
- }
- private $totalBatchInvoiceTaxAmount;
- public function setTotalBatchInvoiceTaxAmount($totalBatchInvoiceTaxAmount){
- $this->apiParas['totalBatchInvoiceTaxAmount'] = $totalBatchInvoiceTaxAmount;
- }
- public function getTotalBatchInvoiceTaxAmount(){
- return $this->apiParas['totalBatchInvoiceTaxAmount'];
- }
- private $totalBatchInvoiceAmount;
- public function setTotalBatchInvoiceAmount($totalBatchInvoiceAmount){
- $this->apiParas['totalBatchInvoiceAmount'] = $totalBatchInvoiceAmount;
- }
- public function getTotalBatchInvoiceAmount(){
- return $this->apiParas['totalBatchInvoiceAmount'];
- }
- private $billingType;
- public function setBillingType($billingType){
- $this->apiParas['billingType'] = $billingType;
- }
- public function getBillingType(){
- return $this->apiParas['billingType'];
- }
- private $invoicePrice;
- public function setInvoicePrice($invoicePrice){
- $this->apiParas['invoicePrice'] = $invoicePrice;
- }
- public function getInvoicePrice(){
- return $this->apiParas['invoicePrice'];
- }
- private $isMerge;
- public function setIsMerge($isMerge){
- $this->apiParas['isMerge'] = $isMerge;
- }
- public function getIsMerge(){
- return $this->apiParas['isMerge'];
- }
- private $poNo;
- public function setPoNo($poNo){
- $this->apiParas['poNo'] = $poNo;
- }
- public function getPoNo(){
- return $this->apiParas['poNo'];
- }
- private $enterpriseRegAddress;
- public function setEnterpriseRegAddress($enterpriseRegAddress){
- $this->apiParas['enterpriseRegAddress'] = $enterpriseRegAddress;
- }
- public function getEnterpriseRegAddress(){
- return $this->apiParas['enterpriseRegAddress'];
- }
- private $enterpriseRegPhone;
- public function setEnterpriseRegPhone($enterpriseRegPhone){
- $this->apiParas['enterpriseRegPhone'] = $enterpriseRegPhone;
- }
- public function getEnterpriseRegPhone(){
- return $this->apiParas['enterpriseRegPhone'];
- }
- private $enterpriseBankName;
- public function setEnterpriseBankName($enterpriseBankName){
- $this->apiParas['enterpriseBankName'] = $enterpriseBankName;
- }
- public function getEnterpriseBankName(){
- return $this->apiParas['enterpriseBankName'];
- }
- private $enterpriseBankAccount;
- public function setEnterpriseBankAccount($enterpriseBankAccount){
- $this->apiParas['enterpriseBankAccount'] = $enterpriseBankAccount;
- }
- public function getEnterpriseBankAccount(){
- return $this->apiParas['enterpriseBankAccount'];
- }
- }
- ?>
|