PayParamBo.java 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. package com.caimei.modules.order.entity;
  2. import java.io.Serializable;
  3. /**
  4. * Description
  5. *
  6. * @author : Charles
  7. * @date : 2021/7/30
  8. */
  9. public class PayParamBo implements Serializable {
  10. private static final long serialVersionUID = 1L;
  11. /**
  12. * 用户Id
  13. */
  14. private Integer userId;
  15. /**
  16. * 订单Id
  17. */
  18. private Integer orderId;
  19. /**
  20. * 二手发布商品id
  21. */
  22. private Integer productId;
  23. /**
  24. * 会员购买记录Id
  25. */
  26. private Integer vipRecordId;
  27. /**
  28. * 优惠券购买记录id
  29. */
  30. private Integer couponRecordId;
  31. /**
  32. * 会员套餐id
  33. */
  34. private Integer vipId;
  35. /**
  36. * 支付金额,单位分,必须大于2
  37. */
  38. private Integer payAmount;
  39. /**
  40. * double支付金额,单位元
  41. */
  42. private Double AllPay;
  43. /**
  44. * 支付方式,
  45. * 银联:UNIONPAY,
  46. * 微信:WEIXIN,
  47. * 支付宝:ALIPAY,
  48. * 银联转账:TRANSFER
  49. */
  50. private String payWay;
  51. /**
  52. * 支付类型(现阶段主要是区分微信支付)
  53. * 微信小程序支付: MINIAPP_WEIXIN
  54. * 微信公众号支付: JSAPI_WEIXIN
  55. */
  56. private String payType;
  57. /**
  58. * 微信小程序code,微信小程序支付使用
  59. */
  60. private String code;
  61. /**
  62. * 微信公众号state参数
  63. */
  64. private String state;
  65. /**
  66. * 页面回调地址
  67. */
  68. private String returnUrl;
  69. /**
  70. * 微信openId
  71. */
  72. private String openId;
  73. /**
  74. * 异步通知回调
  75. */
  76. private String notifyUrl;
  77. /**
  78. * 银行编码(银联支付使用)
  79. */
  80. private String bankCode;
  81. /**
  82. * 用户类型(银联支付使用)
  83. * 企业:ENTERPRISE
  84. * 个人:USER
  85. */
  86. private String userType;
  87. /**
  88. * 购买优惠券id
  89. */
  90. private Integer couponId;
  91. /**
  92. * 1小程序 2网站
  93. */
  94. private Integer source;
  95. public static long getSerialVersionUID() {
  96. return serialVersionUID;
  97. }
  98. public Double getAllPay() {
  99. return AllPay;
  100. }
  101. public void setAllPay(Double allPay) {
  102. AllPay = allPay;
  103. }
  104. public Integer getUserId() {
  105. return userId;
  106. }
  107. public void setUserId(Integer userId) {
  108. this.userId = userId;
  109. }
  110. public Integer getOrderId() {
  111. return orderId;
  112. }
  113. public void setOrderId(Integer orderId) {
  114. this.orderId = orderId;
  115. }
  116. public Integer getProductId() {
  117. return productId;
  118. }
  119. public void setProductId(Integer productId) {
  120. this.productId = productId;
  121. }
  122. public Integer getVipRecordId() {
  123. return vipRecordId;
  124. }
  125. public void setVipRecordId(Integer vipRecordId) {
  126. this.vipRecordId = vipRecordId;
  127. }
  128. public Integer getCouponRecordId() {
  129. return couponRecordId;
  130. }
  131. public void setCouponRecordId(Integer couponRecordId) {
  132. this.couponRecordId = couponRecordId;
  133. }
  134. public Integer getVipId() {
  135. return vipId;
  136. }
  137. public void setVipId(Integer vipId) {
  138. this.vipId = vipId;
  139. }
  140. public Integer getPayAmount() {
  141. return payAmount;
  142. }
  143. public void setPayAmount(Integer payAmount) {
  144. this.payAmount = payAmount;
  145. }
  146. public String getPayWay() {
  147. return payWay;
  148. }
  149. public void setPayWay(String payWay) {
  150. this.payWay = payWay;
  151. }
  152. public String getPayType() {
  153. return payType;
  154. }
  155. public void setPayType(String payType) {
  156. this.payType = payType;
  157. }
  158. public String getCode() {
  159. return code;
  160. }
  161. public void setCode(String code) {
  162. this.code = code;
  163. }
  164. public String getState() {
  165. return state;
  166. }
  167. public void setState(String state) {
  168. this.state = state;
  169. }
  170. public String getReturnUrl() {
  171. return returnUrl;
  172. }
  173. public void setReturnUrl(String returnUrl) {
  174. this.returnUrl = returnUrl;
  175. }
  176. public String getOpenId() {
  177. return openId;
  178. }
  179. public void setOpenId(String openId) {
  180. this.openId = openId;
  181. }
  182. public String getNotifyUrl() {
  183. return notifyUrl;
  184. }
  185. public void setNotifyUrl(String notifyUrl) {
  186. this.notifyUrl = notifyUrl;
  187. }
  188. public String getBankCode() {
  189. return bankCode;
  190. }
  191. public void setBankCode(String bankCode) {
  192. this.bankCode = bankCode;
  193. }
  194. public String getUserType() {
  195. return userType;
  196. }
  197. public void setUserType(String userType) {
  198. this.userType = userType;
  199. }
  200. public Integer getCouponId() {
  201. return couponId;
  202. }
  203. public void setCouponId(Integer couponId) {
  204. this.couponId = couponId;
  205. }
  206. public Integer getSource() {
  207. return source;
  208. }
  209. public void setSource(Integer source) {
  210. this.source = source;
  211. }
  212. }