com.wechat.pay.java.service.refund.model.FundsFromItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wechatpay-java Show documentation
Show all versions of wechatpay-java Show documentation
A Java SDK for WeChat Pay APIv3
// 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.wechat.pay.java.service.refund.model;
import static com.wechat.pay.java.core.util.StringUtil.toIndentedString;
import com.google.gson.annotations.SerializedName;
/** FundsFromItem */
public class FundsFromItem {
/** 出资金额 说明:对应账户出资金额 */
@SerializedName("amount")
private Long amount;
/** 出资账户类型 说明:下面枚举值多选一。 枚举值: AVAILABLE : 可用余额 UNAVAILABLE : 不可用余额 */
@SerializedName("account")
private Account account;
public Long getAmount() {
return amount;
}
public void setAmount(Long amount) {
this.amount = amount;
}
public Account getAccount() {
return account;
}
public void setAccount(Account account) {
this.account = account;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FundsFromItem {\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" account: ").append(toIndentedString(account)).append("\n");
sb.append("}");
return sb.toString();
}
}