All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.wechat.pay.java.service.weixinpayscanandride.model.QueryOrderAmount Maven / Gradle / Ivy

There is a newer version: 0.2.15
Show newest version
// Copyright 2021 Tencent Inc. All rights reserved.
//
// 公共出行平台代扣服务对外API
//
// 公共出行平台代扣服务对外API
//
// API version: 1.0.0

// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.

package com.wechat.pay.java.service.weixinpayscanandride.model;

import static com.wechat.pay.java.core.util.StringUtil.toIndentedString;

import com.google.gson.annotations.SerializedName;

/** QueryOrderAmount */
public class QueryOrderAmount {
  /** 订单金额 说明:订单总金额,单位为分,只能为整数,详见支付金额 */
  @SerializedName("total")
  private Long total;

  /** 用户实际支付金额 说明:用户实际支付金额,单位为分,只能为整数,详见支付金额 */
  @SerializedName("payer_total")
  private Long payerTotal;

  /** 货币类型 说明:CNY:人民币,境内商户号仅支持人民币。 */
  @SerializedName("currency")
  private String currency;

  public Long getTotal() {
    return total;
  }

  public void setTotal(Long total) {
    this.total = total;
  }

  public Long getPayerTotal() {
    return payerTotal;
  }

  public void setPayerTotal(Long payerTotal) {
    this.payerTotal = payerTotal;
  }

  public String getCurrency() {
    return currency;
  }

  public void setCurrency(String currency) {
    this.currency = currency;
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class QueryOrderAmount {\n");
    sb.append("    total: ").append(toIndentedString(total)).append("\n");
    sb.append("    payerTotal: ").append(toIndentedString(payerTotal)).append("\n");
    sb.append("    currency: ").append(toIndentedString(currency)).append("\n");
    sb.append("}");
    return sb.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy