com.wechat.pay.java.service.cashcoupons.model.SetCallbackRequest 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: 3.4.0
// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.
package com.wechat.pay.java.service.cashcoupons.model;
import static com.wechat.pay.java.core.util.StringUtil.toIndentedString;
import com.google.gson.annotations.SerializedName;
/** SetCallbackRequest */
public class SetCallbackRequest {
/** 商户号 说明:微信支付商户号 */
@SerializedName("mchid")
private String mchid;
/** 通知url地址 说明:支付通知商户url地址 */
@SerializedName("notify_url")
private String notifyUrl;
/** 回调开关 说明:true-开启推送;false-停止推送 */
@SerializedName("switch")
private Boolean _switch;
public String getMchid() {
return mchid;
}
public void setMchid(String mchid) {
this.mchid = mchid;
}
public String getNotifyUrl() {
return notifyUrl;
}
public void setNotifyUrl(String notifyUrl) {
this.notifyUrl = notifyUrl;
}
public Boolean getSwitch() {
return _switch;
}
public void setSwitch(Boolean _switch) {
this._switch = _switch;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SetCallbackRequest {\n");
sb.append(" mchid: ").append(toIndentedString(mchid)).append("\n");
sb.append(" notifyUrl: ").append(toIndentedString(notifyUrl)).append("\n");
sb.append(" _switch: ").append(toIndentedString(_switch)).append("\n");
sb.append("}");
return sb.toString();
}
}