package com.cool.store.config.weixin;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @description 微信支付配置类
 * @date 2024-03-13 14:28
 */
@Data
@Component
@ConfigurationProperties(prefix = "wx.pay")
public class WxPayConfig {

    //mchid
    private String merchantId;
    /** 商户API私钥路径 */
    private String privateKeyPath;
    //商户证书序列号
    private String merchantSerialNumber;
    //商户APIv3密钥
    private String apiV3Key;
    //支付通知地址
    private String payNotifyUrl;
    //退款回调地址
    private String backNotifyUrl;

}