com.wechat.pay.java.service.profitsharing.model.DeleteReceiverRequest 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: 0.0.9
// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.
package com.wechat.pay.java.service.profitsharing.model;
import static com.wechat.pay.java.core.util.StringUtil.toIndentedString;
import com.google.gson.annotations.SerializedName;
/** DeleteReceiverRequest */
public class DeleteReceiverRequest {
/** 子商户号 说明:微信支付分配的子商户号,即分账的出资商户号。(直连商户不需要,服务商需要) */
@SerializedName("sub_mchid")
private String subMchid;
/** 公众账号ID 说明:微信分配的公众账号ID */
@SerializedName("appid")
private String appid;
/** 子商户公众账号ID 说明:微信分配的子商户公众账号ID,分账接收方类型包含PERSONAL_SUB_OPENID时必填。(直连商户不需要,服务商需要) */
@SerializedName("sub_appid")
private String subAppid;
/**
* 接收方类型 说明:枚举值: MERCHANT_ID:商户ID PERSONAL_OPENID:个人openid(由父商户APPID转换得到)
* PERSONAL_SUB_OPENID:个人sub_openid(由子商户APPID转换得到)
*/
@SerializedName("type")
private ReceiverType type;
/**
* 接收方账号 说明:类型是MERCHANT\\_ID时,是商户号 类型是PERSONAL\\_OPENID时,是个人openid
* [openid获取方法](https://pay.weixin.qq.com/wiki/doc/apiv3_partner/open/pay/chapter3_3_1.shtml#part-13)
*/
@SerializedName("account")
private String account;
public String getSubMchid() {
return subMchid;
}
public void setSubMchid(String subMchid) {
this.subMchid = subMchid;
}
public String getAppid() {
return appid;
}
public void setAppid(String appid) {
this.appid = appid;
}
public String getSubAppid() {
return subAppid;
}
public void setSubAppid(String subAppid) {
this.subAppid = subAppid;
}
public ReceiverType getType() {
return type;
}
public void setType(ReceiverType type) {
this.type = type;
}
public String getAccount() {
return account;
}
public void setAccount(String account) {
this.account = account;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DeleteReceiverRequest {\n");
sb.append(" subMchid: ").append(toIndentedString(subMchid)).append("\n");
sb.append(" appid: ").append(toIndentedString(appid)).append("\n");
sb.append(" subAppid: ").append(toIndentedString(subAppid)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" account: ").append(toIndentedString(account)).append("\n");
sb.append("}");
return sb.toString();
}
}