@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class RoyaltyDetailInfos extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
RoyaltyDetailInfos.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_AMOUNT |
static String |
SERIALIZED_NAME_AMOUNT_PERCENTAGE |
static String |
SERIALIZED_NAME_BATCH_NO |
static String |
SERIALIZED_NAME_DESC |
static String |
SERIALIZED_NAME_OUT_RELATION_ID |
static String |
SERIALIZED_NAME_SERIAL_NO |
static String |
SERIALIZED_NAME_TRANS_IN |
static String |
SERIALIZED_NAME_TRANS_IN_TYPE |
static String |
SERIALIZED_NAME_TRANS_OUT |
static String |
SERIALIZED_NAME_TRANS_OUT_TYPE |
| 构造器和说明 |
|---|
RoyaltyDetailInfos() |
| 限定符和类型 | 方法和说明 |
|---|---|
RoyaltyDetailInfos |
amount(String amount) |
RoyaltyDetailInfos |
amountPercentage(String amountPercentage) |
RoyaltyDetailInfos |
batchNo(String batchNo) |
RoyaltyDetailInfos |
desc(String desc) |
boolean |
equals(Object o) |
static RoyaltyDetailInfos |
fromJson(String jsonString)
Create an instance of RoyaltyDetailInfos given an JSON string
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getAmount()
分账的金额,单位为元
|
String |
getAmountPercentage()
分账的比例,值为20代表按20%的比例分账
|
String |
getBatchNo()
分账批次号 分账批次号。
|
String |
getDesc()
分账描述信息
|
String |
getOutRelationId()
商户分账的外部关联号,用于关联到每一笔分账信息,商户需保证其唯一性。
|
Integer |
getSerialNo()
分账序列号,表示分账执行的顺序,必须为正整数
|
String |
getTransIn()
如果转入账号类型为userId,本参数为接受分账金额的支付宝账号对应的支付宝唯一用户号。
|
String |
getTransInType()
接受分账金额的账户类型
|
String |
getTransOut()
如果转出账号类型为userId,本参数为要分账的支付宝账号对应的支付宝唯一用户号。
|
String |
getTransOutType()
要分账的账户类型。
|
int |
hashCode() |
RoyaltyDetailInfos |
outRelationId(String outRelationId) |
RoyaltyDetailInfos |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
RoyaltyDetailInfos |
serialNo(Integer serialNo) |
void |
setAmount(String amount) |
void |
setAmountPercentage(String amountPercentage) |
void |
setBatchNo(String batchNo) |
void |
setDesc(String desc) |
void |
setOutRelationId(String outRelationId) |
void |
setSerialNo(Integer serialNo) |
void |
setTransIn(String transIn) |
void |
setTransInType(String transInType) |
void |
setTransOut(String transOut) |
void |
setTransOutType(String transOutType) |
String |
toJson()
Convert an instance of RoyaltyDetailInfos to an JSON string
|
String |
toString() |
RoyaltyDetailInfos |
transIn(String transIn) |
RoyaltyDetailInfos |
transInType(String transInType) |
RoyaltyDetailInfos |
transOut(String transOut) |
RoyaltyDetailInfos |
transOutType(String transOutType) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_AMOUNT_PERCENTAGE
public static final String SERIALIZED_NAME_OUT_RELATION_ID
public static final String SERIALIZED_NAME_TRANS_OUT_TYPE
public RoyaltyDetailInfos amount(String amount)
public void setAmount(String amount)
public RoyaltyDetailInfos amountPercentage(String amountPercentage)
@Nullable public String getAmountPercentage()
public void setAmountPercentage(String amountPercentage)
public RoyaltyDetailInfos batchNo(String batchNo)
public void setBatchNo(String batchNo)
public RoyaltyDetailInfos desc(String desc)
public void setDesc(String desc)
public RoyaltyDetailInfos outRelationId(String outRelationId)
@Nullable public String getOutRelationId()
public void setOutRelationId(String outRelationId)
public RoyaltyDetailInfos serialNo(Integer serialNo)
public void setSerialNo(Integer serialNo)
public RoyaltyDetailInfos transIn(String transIn)
@Nullable public String getTransIn()
public void setTransIn(String transIn)
public RoyaltyDetailInfos transInType(String transInType)
public void setTransInType(String transInType)
public RoyaltyDetailInfos transOut(String transOut)
@Nullable public String getTransOut()
public void setTransOut(String transOut)
public RoyaltyDetailInfos transOutType(String transOutType)
@Nullable public String getTransOutType()
public void setTransOutType(String transOutType)
public RoyaltyDetailInfos putAdditionalProperty(String key, Object value)
key - name of the propertyvalue - value of the propertypublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - name of the propertypublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to RoyaltyDetailInfospublic static RoyaltyDetailInfos fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to RoyaltyDetailInfospublic String toJson()
Copyright © 2024. All rights reserved.