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

io.gitee.putaoo.easypay.config.AlipayProperties Maven / Gradle / Ivy

package io.gitee.putaoo.easypay.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.io.Serializable;

@Data
@Configuration
@ConfigurationProperties(prefix = "easy.pay.alipay")
public class AlipayProperties implements Serializable {
    /**
     * enable
     */
    private boolean enable = false;
    /**
     * notify-url
     */
    private String notifyUrl;
    /**
     * return-url
     */
    private String returnUrl;
    /**
     * public-key
     */
    private String publicKey;
    /**
     * config
     */
    private Config config;

    @Data
    public static class Config implements Serializable{
        /**
         * app-id
         */
        private String appId;
        /**
         * private-key
         */
        private String privateKey;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy