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

com.wechat.pay.java.service.payments.model.TransactionAmount Maven / Gradle / Ivy

There is a newer version: 0.2.15
Show newest version
// 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.wechat.pay.java.service.payments.model;

import com.google.gson.annotations.SerializedName;
import com.wechat.pay.java.core.util.GsonUtil;

/** TransactionAmount */
public class TransactionAmount {
  /** currency */
  @SerializedName("currency")
  private String currency;

  /** payerCurrency */
  @SerializedName("payer_currency")
  private String payerCurrency;

  /** payerTotal */
  @SerializedName("payer_total")
  private Integer payerTotal;

  /** total */
  @SerializedName("total")
  private Integer total;

  public String getCurrency() {
    return currency;
  }

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

  public String getPayerCurrency() {
    return payerCurrency;
  }

  public void setPayerCurrency(String payerCurrency) {
    this.payerCurrency = payerCurrency;
  }

  public Integer getPayerTotal() {
    return payerTotal;
  }

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

  public Integer getTotal() {
    return total;
  }

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

  @Override
  public String toString() {
    return GsonUtil.getGson().toJson(this);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy