PddEinvoiceMallRegisterResultRequest.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <?php
  2. namespace Com\Pdd\Pop\Sdk\Api\Request;
  3. use Com\Pdd\Pop\Sdk\PopBaseHttpRequest;
  4. use Com\Pdd\Pop\Sdk\PopBaseJsonEntity;
  5. class PddEinvoiceMallRegisterResultRequest extends PopBaseHttpRequest
  6. {
  7. public function __construct()
  8. {
  9. }
  10. /**
  11. * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceMallRegisterResultRequest_Data, "data")
  12. */
  13. private $data;
  14. protected function setUserParams(&$params)
  15. {
  16. $this->setUserParam($params, "data", $this->data);
  17. }
  18. public function getVersion()
  19. {
  20. return "V1";
  21. }
  22. public function getDataType()
  23. {
  24. return "JSON";
  25. }
  26. public function getType()
  27. {
  28. return "pdd.einvoice.mall.register.result";
  29. }
  30. public function setData($data)
  31. {
  32. $this->data = $data;
  33. }
  34. }
  35. class PddEinvoiceMallRegisterResultRequest_Data extends PopBaseJsonEntity
  36. {
  37. public function __construct()
  38. {
  39. }
  40. /**
  41. * @JsonProperty(String, "einvoiceApiVersion")
  42. */
  43. private $einvoiceApiVersion;
  44. /**
  45. * @JsonProperty(String, "eventSerialNo")
  46. */
  47. private $eventSerialNo;
  48. /**
  49. * @JsonProperty(String, "mallId")
  50. */
  51. private $mallId;
  52. /**
  53. * @JsonProperty(String, "refuseReason")
  54. */
  55. private $refuseReason;
  56. /**
  57. * @JsonProperty(String, "registerId")
  58. */
  59. private $registerId;
  60. /**
  61. * @JsonProperty(Integer, "registerStatus")
  62. */
  63. private $registerStatus;
  64. /**
  65. * @JsonProperty(String, "taxNo")
  66. */
  67. private $taxNo;
  68. public function setEinvoiceApiVersion($einvoiceApiVersion)
  69. {
  70. $this->einvoiceApiVersion = $einvoiceApiVersion;
  71. }
  72. public function setEventSerialNo($eventSerialNo)
  73. {
  74. $this->eventSerialNo = $eventSerialNo;
  75. }
  76. public function setMallId($mallId)
  77. {
  78. $this->mallId = $mallId;
  79. }
  80. public function setRefuseReason($refuseReason)
  81. {
  82. $this->refuseReason = $refuseReason;
  83. }
  84. public function setRegisterId($registerId)
  85. {
  86. $this->registerId = $registerId;
  87. }
  88. public function setRegisterStatus($registerStatus)
  89. {
  90. $this->registerStatus = $registerStatus;
  91. }
  92. public function setTaxNo($taxNo)
  93. {
  94. $this->taxNo = $taxNo;
  95. }
  96. }