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

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

    private static final long serialVersionUID = -3658440337800559097L;
    @XmlElementRef
    private MerchantprodMerchAppletRegisterQuery merchantprodMerchAppletRegisterQuery;

    public MerchantprodMerchAppletRegisterQuery getMerchantprodMerchAppletRegisterQuery() {
        return merchantprodMerchAppletRegisterQuery;
    }

    public void setMerchantprodMerchAppletRegisterQuery(MerchantprodMerchAppletRegisterQuery merchantprodMerchAppletRegisterQuery) {
        this.merchantprodMerchAppletRegisterQuery = merchantprodMerchAppletRegisterQuery;
    }

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

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

        /**
         * 业务应答参数（body）
         */
        @XmlElementRef
        private MerchantprodMerchAppletRegisterQueryResponseModel merchantprodMerchAppletRegisterQueryResponseModel;

        public ResponseHead getResponseHead() {
            return responseHead;
        }

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

        public MerchantprodMerchAppletRegisterQueryResponseModel getMerchantprodMerchAppletRegisterQueryResponseModel() {
            return merchantprodMerchAppletRegisterQueryResponseModel;
        }

        public void setMerchantprodMerchAppletRegisterQueryResponseModel(MerchantprodMerchAppletRegisterQueryResponseModel merchantprodMerchAppletRegisterQueryResponseModel) {
            this.merchantprodMerchAppletRegisterQueryResponseModel = merchantprodMerchAppletRegisterQueryResponseModel;
        }
    }
}