package org.tio.sitexxx.service.service.pay.vo.ncount;

import lombok.Data;
import org.tio.sitexxx.service.service.pay.vo.ncount.base.NCountBaseVo;

/**
 * <pre>
 *    @author : vagrancy
 *    e-mail : 18050829067@163.com
 *    time   : 2025-11-25 10:34
 *    desc   :
 * </pre>
 */
@Data
public class NTransferVo extends NCountBaseVo {

    private static final long		serialVersionUID	= -5184487010481871113L;
    public static final String[]	encryptArr			= new String[] { "payUserId", "receiveUserId", "tranAmount", "businessType" };
    public static final String[]	verifyArr			= new String[] { "version", "tranCode", "merOrderId", "merId", "charset", "signType", "resultCode", "errorCode" };
    public static final String[]	submitArr			= new String[] { "version", "tranCode", "merId", "merOrderId", "submitTime", "msgCiphertext", "signType", "signValue",
            "merAttach", "charset" };

    /**
     *  付款方用户编号
     */
    private String payUserId;

    /**
     * 收款方用户编号
     */
    private String receiveUserId;

    /**
     *  转账金额
     */
    private String tranAmount;

    public static final String ORDER_STATUS = "orderStatus";

    /**
     * 业务类型
     */
    private String businessType;

    @Override
    public String getEncryptJsonStr() {
        return getJsonStr(this, encryptArr);
    }

    @Override
    public String getVerifyJsonStr() {
        return getJsonStr(this, verifyArr);
    }

    @Override
    public String getSubmitJsonStr() {
        return getJsonStr(this, submitArr);
    }
}

