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.BkcloudfundsProtocolWithholdResultNotifyModel;

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

/**
 * 协议授权代扣通知结果<ant.mybank.bkcloudfunds.protocol.withhold.result.notify>
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "document")
public class BkcloudfundsProtocolWithholdResultNotifyRequest extends MybankResponse {

    private static final long serialVersionUID = -5266076231109070529L;
    @XmlElementRef
    private BkcloudfundsProtocolWithholdResultNotify bkcloudfundsProtocolWithholdResultNotify;

    public BkcloudfundsProtocolWithholdResultNotify getBkcloudfundsProtocolWithholdResultNotify() {
        return bkcloudfundsProtocolWithholdResultNotify;
    }

    public void setBkcloudfundsProtocolWithholdResultNotify(BkcloudfundsProtocolWithholdResultNotify bkcloudfundsProtocolWithholdResultNotify) {
        this.bkcloudfundsProtocolWithholdResultNotify = bkcloudfundsProtocolWithholdResultNotify;
    }

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

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

        /**
         * 业务应答参数（body）
         */
        @XmlElementRef
        private BkcloudfundsProtocolWithholdResultNotifyModel bkcloudfundsProtocolWithholdResultNotifyModel;

        public RequestHead getRequestHead() {
            return requestHead;
        }

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

        public BkcloudfundsProtocolWithholdResultNotifyModel getBkcloudfundsProtocolWithholdResultNotifyModel() {
            return bkcloudfundsProtocolWithholdResultNotifyModel;
        }

        public void setBkcloudfundsProtocolWithholdResultNotifyModel(BkcloudfundsProtocolWithholdResultNotifyModel bkcloudfundsProtocolWithholdResultNotifyModel) {
            this.bkcloudfundsProtocolWithholdResultNotifyModel = bkcloudfundsProtocolWithholdResultNotifyModel;
        }
    }
}