package com.hzs.third.pay.config;

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

import java.util.List;

@Setter
@Getter
@Component
@ConfigurationProperties(prefix = "jd.bank") // 绑定jd.pay前缀的配置
public class JdPayBankProperties {

    private String merchantNo;
    private String signKey;
    private String priCertPwd;
    private String priCert;
    private String pubCert;
    private String apiDomain;
    private String pageBackUrl;
    private String notifyUrl;
    private String refundNotifyUrl;

    private List<JdPaySeparateAccountConfig> separateAccounts;
}
