com.wechat.pay.java.service.merchantexclusivecoupon.model.ModifyCustomEntrance 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
//
// No description provided (generated by Openapi Generator
// https://github.com/openapitools/openapi-generator)
//
// API version: 0.0.11
// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.
package com.wechat.pay.java.service.merchantexclusivecoupon.model;
import static com.wechat.pay.java.core.util.StringUtil.toIndentedString;
import com.google.gson.annotations.SerializedName;
/** ModifyCustomEntrance */
public class ModifyCustomEntrance {
/** 小程序入口 说明:需要小程序APPID、path、入口文案、引导文案。如果需要跳转小程序,APPID、path、入口文案为必填,引导文案非必填。AppID要与归属商户号有绑定关系 */
@SerializedName("mini_programs_info")
private ModifyMiniAppInfo miniProgramsInfo;
/** 商户公众号AppID 说明:可配置商户公众号,从券详情可跳转至公众号 */
@SerializedName("appid")
private String appid;
/**
* 更多优惠入口;营销馆创建地址:https://pay.weixin.qq.com/index.php/xphp/cfav_market/hall#/pages/list/list
* 说明:填写微信支付营销馆的馆id,用户自定义字段。[营销馆](https://pay.weixin.qq.com/index.php/xphp/cfav_market/hall#/pages/list/list)需在商户平台创建。
*/
@SerializedName("hall_id")
private String hallId;
/** code展示模式 说明:code展示模式 */
@SerializedName("code_display_mode")
private CodeDisplayMode codeDisplayMode;
public ModifyMiniAppInfo getMiniProgramsInfo() {
return miniProgramsInfo;
}
public void setMiniProgramsInfo(ModifyMiniAppInfo miniProgramsInfo) {
this.miniProgramsInfo = miniProgramsInfo;
}
public String getAppid() {
return appid;
}
public void setAppid(String appid) {
this.appid = appid;
}
public String getHallId() {
return hallId;
}
public void setHallId(String hallId) {
this.hallId = hallId;
}
public CodeDisplayMode getCodeDisplayMode() {
return codeDisplayMode;
}
public void setCodeDisplayMode(CodeDisplayMode codeDisplayMode) {
this.codeDisplayMode = codeDisplayMode;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ModifyCustomEntrance {\n");
sb.append(" miniProgramsInfo: ").append(toIndentedString(miniProgramsInfo)).append("\n");
sb.append(" appid: ").append(toIndentedString(appid)).append("\n");
sb.append(" hallId: ").append(toIndentedString(hallId)).append("\n");
sb.append(" codeDisplayMode: ").append(toIndentedString(codeDisplayMode)).append("\n");
sb.append("}");
return sb.toString();
}
}