package com.izouma.nineth.config;

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

@Data
@ConfigurationProperties(prefix="payeasenet")
public class PayeasenetProperties {

    /**
     * 网关地址
     */
    private String gateWay = "https://apis.5upay.com";


    /**
     * 首信易公钥
     */
    private String publicKey;

    /**
     * 首信易私钥
     */
    private String privateKey;

    /**
     * 商户私钥密码
     */
    private String privateKeyPwd;

    /**
     * 商户号
     */
    private String merchantId;

    /**
     * 服务商ID(可选)
     */
    private String partnerId;

    private Integer socketTimeout = 30000;

    private Integer connectTimeout = 30000;


}
