@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class TradeInfoDTO extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TradeInfoDTO.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_BUYER_ID |
static String |
SERIALIZED_NAME_CREATE_TIME |
static String |
SERIALIZED_NAME_PLATFORM_ORDER_ID |
static String |
SERIALIZED_NAME_TOTAL_AMOUNT |
static String |
SERIALIZED_NAME_TRADE_AMOUNT |
static String |
SERIALIZED_NAME_TRADE_FUND_BILL_LIST |
static String |
SERIALIZED_NAME_TRADE_NO |
static String |
SERIALIZED_NAME_TRADE_STATUS |
| 构造器和说明 |
|---|
TradeInfoDTO() |
| 限定符和类型 | 方法和说明 |
|---|---|
TradeInfoDTO |
addTradeFundBillListItem(TradeFundBillDetail tradeFundBillListItem) |
TradeInfoDTO |
buyerId(String buyerId) |
TradeInfoDTO |
createTime(String createTime) |
boolean |
equals(Object o) |
static TradeInfoDTO |
fromJson(String jsonString)
Create an instance of TradeInfoDTO 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 |
getBuyerId()
买家ID
|
String |
getCreateTime()
交易创建时间
|
String |
getPlatformOrderId()
外部平台订单号
|
String |
getTotalAmount()
订单总金额
|
String |
getTradeAmount()
订单总金额
|
List<TradeFundBillDetail> |
getTradeFundBillList()
资金单明细
|
String |
getTradeNo()
交易单号
|
String |
getTradeStatus()
交易状态:WAIT_BUYER_PAY(交易创建,等待买家付款)、TRADE_CLOSED(未付款交易超时关闭,或支付完成后全额退款)、TRADE_SUCCESS(交易支付成功)、TRADE_FINISHED(交易结束,不可退款)
|
int |
hashCode() |
TradeInfoDTO |
platformOrderId(String platformOrderId) |
TradeInfoDTO |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setBuyerId(String buyerId) |
void |
setCreateTime(String createTime) |
void |
setPlatformOrderId(String platformOrderId) |
void |
setTotalAmount(String totalAmount) |
void |
setTradeAmount(String tradeAmount) |
void |
setTradeFundBillList(List<TradeFundBillDetail> tradeFundBillList) |
void |
setTradeNo(String tradeNo) |
void |
setTradeStatus(String tradeStatus) |
String |
toJson()
Convert an instance of TradeInfoDTO to an JSON string
|
String |
toString() |
TradeInfoDTO |
totalAmount(String totalAmount) |
TradeInfoDTO |
tradeAmount(String tradeAmount) |
TradeInfoDTO |
tradeFundBillList(List<TradeFundBillDetail> tradeFundBillList) |
TradeInfoDTO |
tradeNo(String tradeNo) |
TradeInfoDTO |
tradeStatus(String tradeStatus) |
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_PLATFORM_ORDER_ID
public static final String SERIALIZED_NAME_TRADE_FUND_BILL_LIST
public TradeInfoDTO buyerId(String buyerId)
public void setBuyerId(String buyerId)
public TradeInfoDTO createTime(String createTime)
public void setCreateTime(String createTime)
public TradeInfoDTO platformOrderId(String platformOrderId)
public void setPlatformOrderId(String platformOrderId)
public TradeInfoDTO totalAmount(String totalAmount)
public void setTotalAmount(String totalAmount)
public TradeInfoDTO tradeAmount(String tradeAmount)
public void setTradeAmount(String tradeAmount)
public TradeInfoDTO tradeFundBillList(List<TradeFundBillDetail> tradeFundBillList)
public TradeInfoDTO addTradeFundBillListItem(TradeFundBillDetail tradeFundBillListItem)
@Nullable public List<TradeFundBillDetail> getTradeFundBillList()
public void setTradeFundBillList(List<TradeFundBillDetail> tradeFundBillList)
public TradeInfoDTO tradeNo(String tradeNo)
public void setTradeNo(String tradeNo)
public TradeInfoDTO tradeStatus(String tradeStatus)
@Nullable public String getTradeStatus()
public void setTradeStatus(String tradeStatus)
public TradeInfoDTO 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 TradeInfoDTOpublic static TradeInfoDTO fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to TradeInfoDTOpublic String toJson()
Copyright © 2024. All rights reserved.