com.wechat.pay.java.service.ecommerceprofitsharing.model.QueryOrderResponse 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.0.21
// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.
package com.wechat.pay.java.service.ecommerceprofitsharing.model;
import static com.wechat.pay.java.core.util.StringUtil.toIndentedString;
import com.google.gson.annotations.SerializedName;
import java.util.List;
/** QueryOrderResponse */
public class QueryOrderResponse {
/** 电商平台二级商户号 说明:分账出资的电商平台二级商户,填写微信支付分配的商户号 */
@SerializedName("sub_mchid")
private String subMchid;
/** 微信订单号 说明:微信支付订单号 */
@SerializedName("transaction_id")
private String transactionId;
/** 商户分账单号 说明:商户系统内部的分账单号,在商户系统内部唯一(单次分账、多次分账、完结分账应使用不同的商户分账单号),同一分账单号多次请求等同一次。只能是数字、大小写字母_-|*@ */
@SerializedName("out_order_no")
private String outOrderNo;
/** 微信分账单号 说明:微信分账单号,微信系统返回的唯一标识 */
@SerializedName("order_id")
private String orderId;
/** 分账单状态 说明:分账单状态(每个接收方的分账结果请查看receivers中的result字段) */
@SerializedName("status")
private String status;
/** 分账接收方列表 说明:分账接收方列表 */
@SerializedName("receivers")
private List receivers;
/** 分账完结金额 说明:分账完结的分账金额,单位为分, 仅当查询分账完结的执行结果时,存在本字段 */
@SerializedName("finish_amount")
private Long finishAmount;
/** 分账完结描述 说明:分账完结的原因描述,仅当查询分账完结的执行结果时,存在本字段 */
@SerializedName("finish_description")
private String finishDescription;
public String getSubMchid() {
return subMchid;
}
public void setSubMchid(String subMchid) {
this.subMchid = subMchid;
}
public String getTransactionId() {
return transactionId;
}
public void setTransactionId(String transactionId) {
this.transactionId = transactionId;
}
public String getOutOrderNo() {
return outOrderNo;
}
public void setOutOrderNo(String outOrderNo) {
this.outOrderNo = outOrderNo;
}
public String getOrderId() {
return orderId;
}
public void setOrderId(String orderId) {
this.orderId = orderId;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public List getReceivers() {
return receivers;
}
public void setReceivers(List receivers) {
this.receivers = receivers;
}
public Long getFinishAmount() {
return finishAmount;
}
public void setFinishAmount(Long finishAmount) {
this.finishAmount = finishAmount;
}
public String getFinishDescription() {
return finishDescription;
}
public void setFinishDescription(String finishDescription) {
this.finishDescription = finishDescription;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class QueryOrderResponse {\n");
sb.append(" subMchid: ").append(toIndentedString(subMchid)).append("\n");
sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n");
sb.append(" outOrderNo: ").append(toIndentedString(outOrderNo)).append("\n");
sb.append(" orderId: ").append(toIndentedString(orderId)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" receivers: ").append(toIndentedString(receivers)).append("\n");
sb.append(" finishAmount: ").append(toIndentedString(finishAmount)).append("\n");
sb.append(" finishDescription: ").append(toIndentedString(finishDescription)).append("\n");
sb.append("}");
return sb.toString();
}
}