无关风月
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
// Copyright 2021 Tencent Inc. All rights reserved.
//
// 境内普通商户退款API
//
// 境内普通商户退款功能涉及的API文档
//
// API version: 1.2.0
 
// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.
 
package com.jilongda.common.wxPay.refund.model;
 
import static com.wechat.pay.java.core.util.StringUtil.toIndentedString;
 
import com.google.gson.annotations.SerializedName;
 
/** GoodsDetail */
public class GoodsDetail {
  /** 商户侧商品编码 说明:由半角的大小写字母、数字、中划线、下划线中的一种或几种组成 */
  @SerializedName("merchant_goods_id")
  private String merchantGoodsId;
  /** 微信侧商品编码 说明:微信支付定义的统一商品编号(没有可不传) */
  @SerializedName("wechatpay_goods_id")
  private String wechatpayGoodsId;
  /** 商品名称 说明:商品的实际名称 */
  @SerializedName("goods_name")
  private String goodsName;
  /** 商品单价 说明:商品单价金额,单位为分 */
  @SerializedName("unit_price")
  private Long unitPrice;
  /** 商品退款金额 说明:商品退款金额,单位为分 */
  @SerializedName("refund_amount")
  private Long refundAmount;
  /** 商品退货数量 说明:对应商品的退货数量 */
  @SerializedName("refund_quantity")
  private Integer refundQuantity;
 
  public String getMerchantGoodsId() {
    return merchantGoodsId;
  }
 
  public void setMerchantGoodsId(String merchantGoodsId) {
    this.merchantGoodsId = merchantGoodsId;
  }
 
  public String getWechatpayGoodsId() {
    return wechatpayGoodsId;
  }
 
  public void setWechatpayGoodsId(String wechatpayGoodsId) {
    this.wechatpayGoodsId = wechatpayGoodsId;
  }
 
  public String getGoodsName() {
    return goodsName;
  }
 
  public void setGoodsName(String goodsName) {
    this.goodsName = goodsName;
  }
 
  public Long getUnitPrice() {
    return unitPrice;
  }
 
  public void setUnitPrice(Long unitPrice) {
    this.unitPrice = unitPrice;
  }
 
  public Long getRefundAmount() {
    return refundAmount;
  }
 
  public void setRefundAmount(Long refundAmount) {
    this.refundAmount = refundAmount;
  }
 
  public Integer getRefundQuantity() {
    return refundQuantity;
  }
 
  public void setRefundQuantity(Integer refundQuantity) {
    this.refundQuantity = refundQuantity;
  }
 
  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class GoodsDetail {\n");
    sb.append("    merchantGoodsId: ").append(toIndentedString(merchantGoodsId)).append("\n");
    sb.append("    wechatpayGoodsId: ").append(toIndentedString(wechatpayGoodsId)).append("\n");
    sb.append("    goodsName: ").append(toIndentedString(goodsName)).append("\n");
    sb.append("    unitPrice: ").append(toIndentedString(unitPrice)).append("\n");
    sb.append("    refundAmount: ").append(toIndentedString(refundAmount)).append("\n");
    sb.append("    refundQuantity: ").append(toIndentedString(refundQuantity)).append("\n");
    sb.append("}");
    return sb.toString();
  }
}