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

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

/**
 * 提现结果通知接口（异步接口）请求
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "document")
public class BkcloudfundsWithdrawNotifyRequest extends MybankResponse {

    private static final long serialVersionUID = 8139656655934383560L;
    @XmlElementRef
    private BkcloudfundsWithdrawNotify bkcloudfundsWithdrawNotify;

    public BkcloudfundsWithdrawNotify getBkcloudfundsWithdrawNotify() {
        return bkcloudfundsWithdrawNotify;
    }

    public void setBkcloudfundsWithdrawNotify(BkcloudfundsWithdrawNotify bkcloudfundsWithdrawNotify) {
        this.bkcloudfundsWithdrawNotify = bkcloudfundsWithdrawNotify;
    }

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

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

        /**
         * 业务应答参数（body）
         */
        @XmlElementRef
        private BkcloudfundsWithdrawNotifyModel bkcloudfundsWithdrawNotifyModel;

        public RequestHead getRequestHead() {
            return requestHead;
        }

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

        public BkcloudfundsWithdrawNotifyModel getBkcloudfundsWithdrawNotifyModel() {
            return bkcloudfundsWithdrawNotifyModel;
        }

        public void setBkcloudfundsWithdrawNotifyModel(BkcloudfundsWithdrawNotifyModel bkcloudfundsWithdrawNotifyModel) {
            this.bkcloudfundsWithdrawNotifyModel = bkcloudfundsWithdrawNotifyModel;
        }
    }
}