com.wechat.pay.java.service.payments.h5.model.H5Info 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.
//
// H5支付
//
// H5支付API
//
// API version: 1.2.3
// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.
package com.wechat.pay.java.service.payments.h5.model;
import static com.wechat.pay.java.core.util.StringUtil.toIndentedString;
import com.google.gson.annotations.SerializedName;
/** H5Info */
public class H5Info {
/** 场景类型 说明:场景类型 */
@SerializedName("type")
private String type;
/** 应用名称 说明:应用名称 */
@SerializedName("app_name")
private String appName;
/** 网站URL 说明:网站URL */
@SerializedName("app_url")
private String appUrl;
/** iOS平台BundleID 说明:iOS平台BundleID */
@SerializedName("bundle_id")
private String bundleId;
/** Android平台PackageName 说明:Android平台PackageName */
@SerializedName("package_name")
private String packageName;
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getAppName() {
return appName;
}
public void setAppName(String appName) {
this.appName = appName;
}
public String getAppUrl() {
return appUrl;
}
public void setAppUrl(String appUrl) {
this.appUrl = appUrl;
}
public String getBundleId() {
return bundleId;
}
public void setBundleId(String bundleId) {
this.bundleId = bundleId;
}
public String getPackageName() {
return packageName;
}
public void setPackageName(String packageName) {
this.packageName = packageName;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class H5Info {\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" appName: ").append(toIndentedString(appName)).append("\n");
sb.append(" appUrl: ").append(toIndentedString(appUrl)).append("\n");
sb.append(" bundleId: ").append(toIndentedString(bundleId)).append("\n");
sb.append(" packageName: ").append(toIndentedString(packageName)).append("\n");
sb.append("}");
return sb.toString();
}
}