package com.zbkj.service.wangshang.api.service.notify;

import com.zbkj.service.wangshang.api.MybankObject;
import com.zbkj.service.wangshang.api.MybankResponse;
import com.zbkj.service.wangshang.api.domain.RequestHead;
import com.zbkj.service.wangshang.api.domain.model.notify.BkcloudfundsElectronicReceiptNotifyModel;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 电子业务凭证申请结果通知 @2.0.0请求
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "document")
public class BkcloudfundsElectronicReceiptNotifyRequest extends MybankResponse {

    private static final long serialVersionUID = 6299380846076948587L;
    @XmlElementRef
    private BkcloudfundsElectronicReceiptNotify bkcloudfundsElectronicReceiptNotify;

    public BkcloudfundsElectronicReceiptNotify getBkcloudfundsElectronicReceiptNotify() {
        return bkcloudfundsElectronicReceiptNotify;
    }

    public void setBkcloudfundsElectronicReceiptNotify(BkcloudfundsElectronicReceiptNotify bkcloudfundsElectronicReceiptNotify) {
        this.bkcloudfundsElectronicReceiptNotify = bkcloudfundsElectronicReceiptNotify;
    }

    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlRootElement(name = "request")
    public static class BkcloudfundsElectronicReceiptNotify extends MybankObject {

        private static final long serialVersionUID = 1556346340698456183L;
        /**
         * 公共应答参数（head）
         */
        @XmlElementRef
        private RequestHead requestHead;

        /**
         * 业务应答参数（body）
         */
        @XmlElementRef
        private BkcloudfundsElectronicReceiptNotifyModel bkcloudfundsElectronicReceiptNotifyModel;

        public RequestHead getRequestHead() {
            return requestHead;
        }

        public void setRequestHead(RequestHead requestHead) {
            this.requestHead = requestHead;
        }

        public BkcloudfundsElectronicReceiptNotifyModel getBkcloudfundsElectronicReceiptNotifyModel() {
            return bkcloudfundsElectronicReceiptNotifyModel;
        }

        public void setBkcloudfundsElectronicReceiptNotifyModel(BkcloudfundsElectronicReceiptNotifyModel bkcloudfundsElectronicReceiptNotifyModel) {
            this.bkcloudfundsElectronicReceiptNotifyModel = bkcloudfundsElectronicReceiptNotifyModel;
        }
    }
}