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

com.spring.boxes.payment.PaymentProperties Maven / Gradle / Ivy

The newest version!
package com.spring.boxes.payment;

import org.springframework.boot.context.properties.ConfigurationProperties;

import com.spring.boxes.payment.beans.AlibabaPayProperties;
import com.spring.boxes.payment.beans.WechatPayProperties;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.NestedConfigurationProperty;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@NoArgsConstructor
@AllArgsConstructor
@ConfigurationProperties("spring.boxes.payment")
public class PaymentProperties {

    @NestedConfigurationProperty
    private WechatPayProperties wechat;

    @NestedConfigurationProperty
    private AlibabaPayProperties alipay;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy