package com.younike.hlpay.dto;

import com.google.common.collect.ImmutableSet;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Set;

/**
 * 结算信息
 *
 * @author chenpengfei
 */
@Setter
@Getter
@ToString
public class SettleVo {
    private String P1_bizType;
    private String P2_orderId;
    private String P3_customerNumber;
    private String P4_amount;
    private String P5_summary;
    private String sign;
    private String signType;

    /**
     * 需要加签的属性参数,要求加签的参数空值也签名
     * 看接口文档
     */
    public static final Set<String> NEED_SIGN_PARAMS = ImmutableSet.of("P1_bizType", "P2_orderId", "P3_customerNumber",
            "P4_amount", "P5_summary");
}
