package com.czg.entity.req;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NonNull;

/**
 * 正扫支付请求参数
 *
 * @author ww
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class CzgScanPayReq extends CzgBaseReq {
    // 必填项
    /**
     * 用户IP 支付的用户IP
     */
    private String clientIp;

    //非必填项
    /**
     * 跳转通知地址
     * String(128)
     */
    private String returnUrl;

    public CzgScanPayReq(@NonNull String mchOrderNo, @NonNull Long amount, String body,
                         @NonNull String clientIp, String returnUrl, String buyerRemark, @NonNull String extParam) {
        super(mchOrderNo, amount, body, buyerRemark, extParam);
        this.clientIp = clientIp;
        this.returnUrl = returnUrl;
    }
}
