package com.czg.entity.req;


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

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

    //非必填范围
    /**
     * 跳转通知地址
     * 支付结果同步跳转通知URL
     */
    private String returnUrl;


    public CzgH5PayReq(@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;
    }
}
