
com.spring.boxes.payment.beans.WechatPayProperties Maven / Gradle / Ivy
The newest version!
package com.spring.boxes.payment.beans;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import org.springframework.context.annotation.Configuration;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@Configuration
@NoArgsConstructor
@AllArgsConstructor
public class WechatPayProperties implements Serializable {
@Schema(description = "公众账号appId, 获取地址 https://mp.weixin.qq.com")
private String mpAppId;
@Schema(description = "小程序appId, 获取地址 https://mp.weixin.qq.com")
private String miniAppId;
@Schema(description = "小程序appSecret")
private String miniAppSecret;
@Schema(description = "商户号 获取地址 https://pay.weixin.qq.com")
private String mchId;
@Schema(description = "商户密钥")
private String mchKey;
@Schema(description = "商户证书路径")
private String keyPath;
@Schema(description = "微信支付异步通知地址")
private String notifyUrl;
@Schema(description = "移动应用appId, https://open.weixin.qq.com")
private String appAppId;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy