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

import com.zbkj.service.wangshang.api.MybankObject;
import com.zbkj.service.wangshang.api.MybankResponse;
import com.zbkj.service.wangshang.api.domain.ResponseHead;
import com.zbkj.service.wangshang.api.domain.model.BkcloudfundsWithdrawApplyResponseModel;

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

/**
 * Mybank Api: ant.mybank.bkcloudfunds.withdraw.apply
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "document")
public class BkcloudfundsWithdrawApplyResponse extends MybankResponse {

    private static final long serialVersionUID = -2713466381381476524L;
    @XmlElementRef
    private BkcloudfundsWithdrawApply bkcloudfundsWithdrawApply;

    public BkcloudfundsWithdrawApply getBkcloudfundsWithdrawApply() {
        return bkcloudfundsWithdrawApply;
    }

    public void setBkcloudfundsWithdrawApply(BkcloudfundsWithdrawApply bkcloudfundsWithdrawApply) {
        this.bkcloudfundsWithdrawApply = bkcloudfundsWithdrawApply;
    }

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

        private static final long serialVersionUID = 9041690442802698126L;
        /**
         * 公共应答参数（head）
         */
        @XmlElementRef
        private ResponseHead responseHead;

        /**
         * 业务应答参数（body）
         */
        @XmlElementRef
        private BkcloudfundsWithdrawApplyResponseModel bkcloudfundsWithdrawApplyResponseModel;

        public ResponseHead getResponseHead() {
            return responseHead;
        }

        public void setResponseHead(ResponseHead responseHead) {
            this.responseHead = responseHead;
        }

        public BkcloudfundsWithdrawApplyResponseModel getBkcloudfundsWithdrawApplyResponseModel() {
            return bkcloudfundsWithdrawApplyResponseModel;
        }

        public void setBkcloudfundsWithdrawApplyResponseModel(BkcloudfundsWithdrawApplyResponseModel bkcloudfundsWithdrawApplyResponseModel) {
            this.bkcloudfundsWithdrawApplyResponseModel = bkcloudfundsWithdrawApplyResponseModel;
        }
    }
}