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

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.vostro.notify>
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "document")
public class BkcloudfundsVostroNotifyRequest extends MybankResponse {

    private static final long serialVersionUID = 3106209748245705945L;
    @XmlElementRef
    private BkcloudfundsVostroNotify bkcloudfundsVostroNotify;

    public BkcloudfundsVostroNotify getBkcloudfundsVostroNotify() {
        return bkcloudfundsVostroNotify;
    }

    public void setBkcloudfundsVostroNotify(BkcloudfundsVostroNotify bkcloudfundsVostroNotify) {
        this.bkcloudfundsVostroNotify = bkcloudfundsVostroNotify;
    }

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

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

        /**
         * 业务应答参数（body）
         */
        @XmlElementRef
        private BkcloudfundsVostroNotifyModel bkcloudfundsVostroNotifyModel;

        public RequestHead getRequestHead() {
            return requestHead;
        }

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

        public BkcloudfundsVostroNotifyModel getBkcloudfundsVostroNotifyModel() {
            return bkcloudfundsVostroNotifyModel;
        }

        public void setBkcloudfundsVostroNotifyModel(BkcloudfundsVostroNotifyModel bkcloudfundsVostroNotifyModel) {
            this.bkcloudfundsVostroNotifyModel = bkcloudfundsVostroNotifyModel;
        }
    }
}