无关风月
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
// Copyright 2021 Tencent Inc. All rights reserved.
//
// Native支付
//
// Native支付API
//
// 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.nativepay.model;
 
import static com.wechat.pay.java.core.util.StringUtil.toIndentedString;
 
import com.google.gson.annotations.SerializedName;
 
/** Amount */
public class Amount {
  /** 总金额 说明:订单总金额,单位为分 */
  @SerializedName("total")
  private Integer total;
  /** 货币类型 说明:CNY:人民币,境内商户号仅支持人民币。 */
  @SerializedName("currency")
  private String currency;
 
  public Integer getTotal() {
    return total;
  }
 
  public void setTotal(Integer total) {
    this.total = total;
  }
 
  public String getCurrency() {
    return currency;
  }
 
  public void setCurrency(String currency) {
    this.currency = currency;
  }
 
  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class Amount {\n");
    sb.append("    total: ").append(toIndentedString(total)).append("\n");
    sb.append("    currency: ").append(toIndentedString(currency)).append("\n");
    sb.append("}");
    return sb.toString();
  }
}