GetCodePayUrlParamBean.php 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. <?php
  2. namespace Tool\ShanTaoTool\Bean\Pay;
  3. use Tool\ShanTaoTool\Bean\BaseBean;
  4. class GetCodePayUrlParamBean extends BaseBean
  5. {
  6. /**
  7. * appkey
  8. * @var string $appKey
  9. */
  10. private $appKey;
  11. /**
  12. * secret
  13. * @var string $appSecret
  14. */
  15. private $appSecret;
  16. /**
  17. * 订单支付金额
  18. * @var int $orderPrice
  19. */
  20. private $orderPrice;
  21. /**
  22. * 第三方关联订单号
  23. * @var string $relationOrderNumber
  24. */
  25. private $relationOrderNumber;
  26. /**
  27. * 支付类型(1微信2支付宝)
  28. * @var int $payType
  29. */
  30. private $payType;
  31. /**
  32. * @return string
  33. */
  34. public function getAppKey(): string
  35. {
  36. return $this->appKey;
  37. }
  38. /**
  39. * @param string $appKey
  40. */
  41. public function setAppKey(string $appKey)
  42. {
  43. $this->appKey = $appKey;
  44. }
  45. /**
  46. * @return string
  47. */
  48. public function getAppSecret(): string
  49. {
  50. return $this->appSecret;
  51. }
  52. /**
  53. * @param string $appSecret
  54. */
  55. public function setAppSecret(string $appSecret)
  56. {
  57. $this->appSecret = $appSecret;
  58. }
  59. /**
  60. * @return int
  61. */
  62. public function getOrderPrice(): int
  63. {
  64. return $this->orderPrice;
  65. }
  66. /**
  67. * @param int $orderPrice
  68. */
  69. public function setOrderPrice(int $orderPrice)
  70. {
  71. $this->orderPrice = $orderPrice;
  72. }
  73. /**
  74. * @return string
  75. */
  76. public function getRelationOrderNumber(): string
  77. {
  78. return $this->relationOrderNumber;
  79. }
  80. /**
  81. * @param string $relationOrderNumber
  82. */
  83. public function setRelationOrderNumber(string $relationOrderNumber)
  84. {
  85. $this->relationOrderNumber = $relationOrderNumber;
  86. }
  87. /**
  88. * @return int
  89. */
  90. public function getPayType(): int
  91. {
  92. return $this->payType;
  93. }
  94. /**
  95. * @param int $payType
  96. */
  97. public function setPayType(int $payType)
  98. {
  99. $this->payType = $payType;
  100. }
  101. }