All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gitee.target123.develop.pay.PayProperties Maven / Gradle / Ivy

There is a newer version: 1.2.4
Show newest version
package com.gitee.target123.develop.pay;

import com.gitee.target123.develop.pay.wx.WxPayProperties;
import com.gitee.target123.develop.pay.ali.AliPayProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.HashMap;
import java.util.Map;

@ConfigurationProperties(prefix = "pay.map")
public class PayProperties {

    private boolean wxEnabled = false;

    private Map wx = new HashMap<>();

    private boolean aliEnabled = false;

    private Map ali = new HashMap<>();

    public boolean isWxEnabled() {
        return wxEnabled;
    }

    public void setWxEnabled(boolean wxEnabled) {
        this.wxEnabled = wxEnabled;
    }

    public Map getWx() {
        return wx;
    }

    public void setWx(Map wx) {
        this.wx = wx;
    }

    public boolean isAliEnabled() {
        return aliEnabled;
    }

    public void setAliEnabled(boolean aliEnabled) {
        this.aliEnabled = aliEnabled;
    }

    public Map getAli() {
        return ali;
    }

    public void setAli(Map ali) {
        this.ali = ali;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy