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

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.bkmerchantprod.merch.applet.pre.register
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "document")
public class MerchantprodMerchAppletPreRegisterResponse extends MybankResponse {

    private static final long serialVersionUID = -4735708539318970547L;
    @XmlElementRef
    private MerchantprodMerchAppletPreRegister merchantprodMerchAppletPreRegister;

    public MerchantprodMerchAppletPreRegister getMerchantprodMerchAppletPreRegister() {
        return merchantprodMerchAppletPreRegister;
    }

    public void setMerchantprodMerchAppletPreRegister(MerchantprodMerchAppletPreRegister merchantprodMerchAppletPreRegister) {
        this.merchantprodMerchAppletPreRegister = merchantprodMerchAppletPreRegister;
    }

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

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

        /**
         * 业务应答参数（body）
         */
        @XmlElementRef
        private MerchantprodMerchAppletPreRegisterResponseModel merchantprodMerchAppletPreRegisterResponseModel;

        public ResponseHead getResponseHead() {
            return responseHead;
        }

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

        public MerchantprodMerchAppletPreRegisterResponseModel getMerchantprodMerchAppletPreRegisterResponseModel() {
            return merchantprodMerchAppletPreRegisterResponseModel;
        }

        public void setMerchantprodMerchAppletPreRegisterResponseModel(MerchantprodMerchAppletPreRegisterResponseModel merchantprodMerchAppletPreRegisterResponseModel) {
            this.merchantprodMerchAppletPreRegisterResponseModel = merchantprodMerchAppletPreRegisterResponseModel;
        }
    }
}