| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645 |
- <?php
- namespace Com\Pdd\Pop\Sdk\Api\Request;
- use Com\Pdd\Pop\Sdk\PopBaseHttpRequest;
- use Com\Pdd\Pop\Sdk\PopBaseJsonEntity;
- class PddEinvoiceIssueInvoiceResultCallbackRuihongRequest extends PopBaseHttpRequest
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceIssueInvoiceResultCallbackRuihongRequest_Data, "data")
- */
- private $data;
- protected function setUserParams(&$params)
- {
- $this->setUserParam($params, "data", $this->data);
- }
- public function getVersion()
- {
- return "V1";
- }
- public function getDataType()
- {
- return "JSON";
- }
- public function getType()
- {
- return "pdd.einvoice.issue.invoice.result.callback.ruihong";
- }
- public function setData($data)
- {
- $this->data = $data;
- }
- }
- class PddEinvoiceIssueInvoiceResultCallbackRuihongRequest_Data extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(String, "code")
- */
- private $code;
- /**
- * @JsonProperty(String, "einvoiceApiVersion")
- */
- private $einvoiceApiVersion;
- /**
- * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceIssueInvoiceResultCallbackRuihongRequest_DataInvoice, "invoice")
- */
- private $invoice;
- /**
- * @JsonProperty(String, "mallId")
- */
- private $mallId;
- /**
- * @JsonProperty(String, "message")
- */
- private $message;
- /**
- * @JsonProperty(String, "orderNo")
- */
- private $orderNo;
- /**
- * @JsonProperty(String, "serialNo")
- */
- private $serialNo;
- public function setCode($code)
- {
- $this->code = $code;
- }
- public function setEinvoiceApiVersion($einvoiceApiVersion)
- {
- $this->einvoiceApiVersion = $einvoiceApiVersion;
- }
- public function setInvoice($invoice)
- {
- $this->invoice = $invoice;
- }
- public function setMallId($mallId)
- {
- $this->mallId = $mallId;
- }
- public function setMessage($message)
- {
- $this->message = $message;
- }
- public function setOrderNo($orderNo)
- {
- $this->orderNo = $orderNo;
- }
- public function setSerialNo($serialNo)
- {
- $this->serialNo = $serialNo;
- }
- }
- class PddEinvoiceIssueInvoiceResultCallbackRuihongRequest_DataInvoice extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(String, "checkCode")
- */
- private $checkCode;
- /**
- * @JsonProperty(String, "code")
- */
- private $code;
- /**
- * @JsonProperty(String, "customerAddress")
- */
- private $customerAddress;
- /**
- * @JsonProperty(String, "customerBankAccount")
- */
- private $customerBankAccount;
- /**
- * @JsonProperty(String, "customerBankName")
- */
- private $customerBankName;
- /**
- * @JsonProperty(String, "customerCode")
- */
- private $customerCode;
- /**
- * @JsonProperty(String, "customerName")
- */
- private $customerName;
- /**
- * @JsonProperty(String, "customerTel")
- */
- private $customerTel;
- /**
- * @JsonProperty(String, "drawer")
- */
- private $drawer;
- /**
- * @JsonProperty(String, "fiscalCode")
- */
- private $fiscalCode;
- /**
- * @JsonProperty(String, "generateTime")
- */
- private $generateTime;
- /**
- * @JsonProperty(String, "invPdf")
- */
- private $invPdf;
- /**
- * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceIssueInvoiceResultCallbackRuihongRequest_DataInvoiceItemsItem>, "items")
- */
- private $items;
- /**
- * @JsonProperty(String, "noTaxAmount")
- */
- private $noTaxAmount;
- /**
- * @JsonProperty(String, "orderNo")
- */
- private $orderNo;
- /**
- * @JsonProperty(String, "payee")
- */
- private $payee;
- /**
- * @JsonProperty(String, "pdfUnsignedUrl")
- */
- private $pdfUnsignedUrl;
- /**
- * @JsonProperty(String, "relatedCode")
- */
- private $relatedCode;
- /**
- * @JsonProperty(String, "remark")
- */
- private $remark;
- /**
- * @JsonProperty(String, "reviewer")
- */
- private $reviewer;
- /**
- * @JsonProperty(String, "status")
- */
- private $status;
- /**
- * @JsonProperty(String, "taxAmount")
- */
- private $taxAmount;
- /**
- * @JsonProperty(String, "taxDeviceNo")
- */
- private $taxDeviceNo;
- /**
- * @JsonProperty(String, "taxpayerAddress")
- */
- private $taxpayerAddress;
- /**
- * @JsonProperty(String, "taxpayerBankAccount")
- */
- private $taxpayerBankAccount;
- /**
- * @JsonProperty(String, "taxpayerBankName")
- */
- private $taxpayerBankName;
- /**
- * @JsonProperty(String, "taxpayerCode")
- */
- private $taxpayerCode;
- /**
- * @JsonProperty(String, "taxpayerName")
- */
- private $taxpayerName;
- /**
- * @JsonProperty(String, "taxpayerTel")
- */
- private $taxpayerTel;
- /**
- * @JsonProperty(String, "totalAmount")
- */
- private $totalAmount;
- /**
- * @JsonProperty(String, "validReason")
- */
- private $validReason;
- /**
- * @JsonProperty(String, "validTime")
- */
- private $validTime;
- /**
- * @JsonProperty(String, "viewUrl")
- */
- private $viewUrl;
- /**
- * @JsonProperty(String, "cipherText")
- */
- private $cipherText;
- /**
- * @JsonProperty(String, "qrCode")
- */
- private $qrCode;
- public function setCheckCode($checkCode)
- {
- $this->checkCode = $checkCode;
- }
- public function setCode($code)
- {
- $this->code = $code;
- }
- public function setCustomerAddress($customerAddress)
- {
- $this->customerAddress = $customerAddress;
- }
- public function setCustomerBankAccount($customerBankAccount)
- {
- $this->customerBankAccount = $customerBankAccount;
- }
- public function setCustomerBankName($customerBankName)
- {
- $this->customerBankName = $customerBankName;
- }
- public function setCustomerCode($customerCode)
- {
- $this->customerCode = $customerCode;
- }
- public function setCustomerName($customerName)
- {
- $this->customerName = $customerName;
- }
- public function setCustomerTel($customerTel)
- {
- $this->customerTel = $customerTel;
- }
- public function setDrawer($drawer)
- {
- $this->drawer = $drawer;
- }
- public function setFiscalCode($fiscalCode)
- {
- $this->fiscalCode = $fiscalCode;
- }
- public function setGenerateTime($generateTime)
- {
- $this->generateTime = $generateTime;
- }
- public function setInvPdf($invPdf)
- {
- $this->invPdf = $invPdf;
- }
- public function setItems($items)
- {
- $this->items = $items;
- }
- public function setNoTaxAmount($noTaxAmount)
- {
- $this->noTaxAmount = $noTaxAmount;
- }
- public function setOrderNo($orderNo)
- {
- $this->orderNo = $orderNo;
- }
- public function setPayee($payee)
- {
- $this->payee = $payee;
- }
- public function setPdfUnsignedUrl($pdfUnsignedUrl)
- {
- $this->pdfUnsignedUrl = $pdfUnsignedUrl;
- }
- public function setRelatedCode($relatedCode)
- {
- $this->relatedCode = $relatedCode;
- }
- public function setRemark($remark)
- {
- $this->remark = $remark;
- }
- public function setReviewer($reviewer)
- {
- $this->reviewer = $reviewer;
- }
- public function setStatus($status)
- {
- $this->status = $status;
- }
- public function setTaxAmount($taxAmount)
- {
- $this->taxAmount = $taxAmount;
- }
- public function setTaxDeviceNo($taxDeviceNo)
- {
- $this->taxDeviceNo = $taxDeviceNo;
- }
- public function setTaxpayerAddress($taxpayerAddress)
- {
- $this->taxpayerAddress = $taxpayerAddress;
- }
- public function setTaxpayerBankAccount($taxpayerBankAccount)
- {
- $this->taxpayerBankAccount = $taxpayerBankAccount;
- }
- public function setTaxpayerBankName($taxpayerBankName)
- {
- $this->taxpayerBankName = $taxpayerBankName;
- }
- public function setTaxpayerCode($taxpayerCode)
- {
- $this->taxpayerCode = $taxpayerCode;
- }
- public function setTaxpayerName($taxpayerName)
- {
- $this->taxpayerName = $taxpayerName;
- }
- public function setTaxpayerTel($taxpayerTel)
- {
- $this->taxpayerTel = $taxpayerTel;
- }
- public function setTotalAmount($totalAmount)
- {
- $this->totalAmount = $totalAmount;
- }
- public function setValidReason($validReason)
- {
- $this->validReason = $validReason;
- }
- public function setValidTime($validTime)
- {
- $this->validTime = $validTime;
- }
- public function setViewUrl($viewUrl)
- {
- $this->viewUrl = $viewUrl;
- }
- public function setCipherText($cipherText)
- {
- $this->cipherText = $cipherText;
- }
- public function setQrCode($qrCode)
- {
- $this->qrCode = $qrCode;
- }
- }
- class PddEinvoiceIssueInvoiceResultCallbackRuihongRequest_DataInvoiceItemsItem extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(String, "addedValueTaxFlg")
- */
- private $addedValueTaxFlg;
- /**
- * @JsonProperty(String, "amount")
- */
- private $amount;
- /**
- * @JsonProperty(String, "catalogCode")
- */
- private $catalogCode;
- /**
- * @JsonProperty(String, "code")
- */
- private $code;
- /**
- * @JsonProperty(String, "name")
- */
- private $name;
- /**
- * @JsonProperty(String, "noTaxAmount")
- */
- private $noTaxAmount;
- /**
- * @JsonProperty(String, "preferentialPolicyFlg")
- */
- private $preferentialPolicyFlg;
- /**
- * @JsonProperty(String, "price")
- */
- private $price;
- /**
- * @JsonProperty(String, "quantity")
- */
- private $quantity;
- /**
- * @JsonProperty(String, "spec")
- */
- private $spec;
- /**
- * @JsonProperty(String, "taxAmount")
- */
- private $taxAmount;
- /**
- * @JsonProperty(String, "taxRate")
- */
- private $taxRate;
- /**
- * @JsonProperty(String, "type")
- */
- private $type;
- /**
- * @JsonProperty(String, "uom")
- */
- private $uom;
- /**
- * @JsonProperty(String, "zeroTaxRateFlg")
- */
- private $zeroTaxRateFlg;
- public function setAddedValueTaxFlg($addedValueTaxFlg)
- {
- $this->addedValueTaxFlg = $addedValueTaxFlg;
- }
- public function setAmount($amount)
- {
- $this->amount = $amount;
- }
- public function setCatalogCode($catalogCode)
- {
- $this->catalogCode = $catalogCode;
- }
- public function setCode($code)
- {
- $this->code = $code;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function setNoTaxAmount($noTaxAmount)
- {
- $this->noTaxAmount = $noTaxAmount;
- }
- public function setPreferentialPolicyFlg($preferentialPolicyFlg)
- {
- $this->preferentialPolicyFlg = $preferentialPolicyFlg;
- }
- public function setPrice($price)
- {
- $this->price = $price;
- }
- public function setQuantity($quantity)
- {
- $this->quantity = $quantity;
- }
- public function setSpec($spec)
- {
- $this->spec = $spec;
- }
- public function setTaxAmount($taxAmount)
- {
- $this->taxAmount = $taxAmount;
- }
- public function setTaxRate($taxRate)
- {
- $this->taxRate = $taxRate;
- }
- public function setType($type)
- {
- $this->type = $type;
- }
- public function setUom($uom)
- {
- $this->uom = $uom;
- }
- public function setZeroTaxRateFlg($zeroTaxRateFlg)
- {
- $this->zeroTaxRateFlg = $zeroTaxRateFlg;
- }
- }
|