V2InvoiceSelfscanopenRequest.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <?php
  2. namespace BsPaySdk\request;
  3. use BsPaySdk\enums\FunctionCodeEnum;
  4. /**
  5. * 自助扫码开票
  6. *
  7. * @author sdk-generator
  8. * @Description
  9. */
  10. class V2InvoiceSelfscanopenRequest extends BaseRequest
  11. {
  12. /**
  13. * 请求流水号
  14. */
  15. private $reqSeqId;
  16. /**
  17. * 请求时间
  18. */
  19. private $reqDate;
  20. /**
  21. * 汇付商户号
  22. */
  23. private $huifuId;
  24. /**
  25. * 发票类型
  26. */
  27. private $ivcType;
  28. /**
  29. * 开票类型
  30. */
  31. private $openType;
  32. /**
  33. * 含税合计金额(元)
  34. */
  35. private $orderAmt;
  36. /**
  37. * 开票商品信息
  38. */
  39. private $goodsInfos;
  40. /**
  41. * 开票人信息
  42. */
  43. private $payerInfo;
  44. public function getFunctionCode() {
  45. return FunctionCodeEnum::$V2_INVOICE_SELFSCANOPEN;
  46. }
  47. public function getReqSeqId() {
  48. return $this->reqSeqId;
  49. }
  50. public function setReqSeqId($reqSeqId) {
  51. $this->reqSeqId = $reqSeqId;
  52. }
  53. public function getReqDate() {
  54. return $this->reqDate;
  55. }
  56. public function setReqDate($reqDate) {
  57. $this->reqDate = $reqDate;
  58. }
  59. public function getHuifuId() {
  60. return $this->huifuId;
  61. }
  62. public function setHuifuId($huifuId) {
  63. $this->huifuId = $huifuId;
  64. }
  65. public function getIvcType() {
  66. return $this->ivcType;
  67. }
  68. public function setIvcType($ivcType) {
  69. $this->ivcType = $ivcType;
  70. }
  71. public function getOpenType() {
  72. return $this->openType;
  73. }
  74. public function setOpenType($openType) {
  75. $this->openType = $openType;
  76. }
  77. public function getOrderAmt() {
  78. return $this->orderAmt;
  79. }
  80. public function setOrderAmt($orderAmt) {
  81. $this->orderAmt = $orderAmt;
  82. }
  83. public function getGoodsInfos() {
  84. return $this->goodsInfos;
  85. }
  86. public function setGoodsInfos($goodsInfos) {
  87. $this->goodsInfos = $goodsInfos;
  88. }
  89. public function getPayerInfo() {
  90. return $this->payerInfo;
  91. }
  92. public function setPayerInfo($payerInfo) {
  93. $this->payerInfo = $payerInfo;
  94. }
  95. }