package com.tzy.framework.pay.config;

import com.huifu.adapay.model.MerConfig;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.*;

/**
 * 汇付配置
 */
@Data
@Component
@ConfigurationProperties(prefix = "pay.hf.app")
public class HfPayConfig extends MerConfig {

    private String name = "hf";

    private String appid;
    /**
     * 商户key
     */
    private String merchantKey;
    /**
     * debug 模式，开启后有详细的日志
     */
    private boolean debug = true;
    /**
     * prodMode 模式，默认为生产模式，false可以使用mock模式
     */
    private boolean prodMode = true;

    private String notify_url;

    private String refundNotifyUrl;

    private String reverseNotifyUrl;


}
