/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/packagecom.framework.pay.core.handler.wxpay.config;importlombok.Data;importorg.springframework.boot.context.properties.ConfigurationProperties;importorg.springframework.context.annotation.Configuration;/**
* @Filename: WxPayProperties
* @Author: zzy
* @Data:2023/5/4 10:50
* @Description: 微信支付配置类
*/@Data@Configuration@ConfigurationProperties(prefix=WxPayProperties.PREFIX)publicclassWxPayProperties{publicstaticfinalStringPREFIX="pay.wxpay";/**
* 应用ID
*/privateStringappId;/**
* 商户号
*/privateStringmchId;/**
* 商户API证书序列号
*/privateStringserialNo;/**
* 商户API私钥路径
*/privateStringprivateKey;/**
* 商户APIV3密钥
*/privateStringapiV3key;/**
* 网关地址
*/privateStringserverUrl;/**
* 支付结果回调地址
*/privateStringnotifyUrl;}
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/packagecom.framework.pay.core.handler.wxpay.config;importlombok.Data;importorg.springframework.boot.context.properties.ConfigurationProperties;importorg.springframework.context.annotation.Configuration;/**
* @Filename: WxPayProperties
* @Author: zzy
* @Data:2023/5/4 10:50
* @Description: 微信支付配置类
*/@Data@Configuration@ConfigurationProperties(prefix=WxPayProperties.PREFIX)publicclassWxPayProperties{publicstaticfinalStringPREFIX="pay.wxpay";/**
* 应用ID
*/privateStringappId;/**
* 商户号
*/privateStringmchId;/**
* 商户api私钥文件路径
*/privateStringmerchantPrivateKeyPath;/**
* 商户api证书文件路径
*/privateStringmerchantCertificatepath;/**
* 商户API证书序列号
*/privateStringserialNo;/**
* 商户APIV3密钥
*/privateStringapiV3key;/**
* 网关地址
*/privateStringserverUrl;/**
* 支付结果回调地址
*/privateStringnotifyUrl;}