无关风月
2024-12-09 2053b8fe0e98d4b4449bc756a93ced78f42277c4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// Copyright 2021 Tencent Inc. All rights reserved.
 
// API version: 1.2.3
 
// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.
 
package com.jilongda.common.wxPay.payments.model;
 
import com.google.gson.annotations.SerializedName;
import com.wechat.pay.java.core.util.GsonUtil;
 
/** PromotionGoodsDetail */
public class PromotionGoodsDetail {
  /** 商品编码 说明:商品编码 */
  @SerializedName("goods_id")
  private String goodsId;
  /** 商品数量 说明:商品数量 */
  @SerializedName("quantity")
  private Integer quantity;
  /** 商品价格 说明:商品价格 */
  @SerializedName("unit_price")
  private Integer unitPrice;
  /** 商品优惠金额 说明:商品优惠金额 */
  @SerializedName("discount_amount")
  private Integer discountAmount;
  /** 商品备注 说明:商品备注 */
  @SerializedName("goods_remark")
  private String goodsRemark;
 
  public String getGoodsId() {
    return goodsId;
  }
 
  public void setGoodsId(String goodsId) {
    this.goodsId = goodsId;
  }
 
  public Integer getQuantity() {
    return quantity;
  }
 
  public void setQuantity(Integer quantity) {
    this.quantity = quantity;
  }
 
  public Integer getUnitPrice() {
    return unitPrice;
  }
 
  public void setUnitPrice(Integer unitPrice) {
    this.unitPrice = unitPrice;
  }
 
  public Integer getDiscountAmount() {
    return discountAmount;
  }
 
  public void setDiscountAmount(Integer discountAmount) {
    this.discountAmount = discountAmount;
  }
 
  public String getGoodsRemark() {
    return goodsRemark;
  }
 
  public void setGoodsRemark(String goodsRemark) {
    this.goodsRemark = goodsRemark;
  }
 
  @Override
  public String toString() {
    return GsonUtil.getGson().toJson(this);
  }
}