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

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.smscode.MerchantprodSendsmscodeResponseModel;

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.sendsmscode
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "document")
public class MerchantprodSendsmscodeResponse extends MybankResponse {
    private static final long serialVersionUID = -4840083171105205727L;

    @XmlElementRef
    private MerchantprodSendsmscode merchantprodSendsmscode;

    public MerchantprodSendsmscode getMerchantprodSendsmscode() {
        return merchantprodSendsmscode;
    }

    public void setMerchantprodSendsmscode(MerchantprodSendsmscode merchantprodSendsmscode) {
        this.merchantprodSendsmscode = merchantprodSendsmscode;
    }

    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlRootElement(name = "response")
    public static class MerchantprodSendsmscode extends MybankObject {
        private static final long serialVersionUID = 6826386251736967260L;

        /**
         * 公共应答参数（head）
         */
        @XmlElementRef
        private ResponseHead responseHead;

        /**
         * 业务应答参数（body）
         */
        @XmlElementRef
        private MerchantprodSendsmscodeResponseModel merchantprodSendsmscodeResponseModel;

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

        public MerchantprodSendsmscodeResponseModel getMerchantprodSendsmscodeResponseModel() {
            return merchantprodSendsmscodeResponseModel;
        }
        public void setMerchantprodSendsmscodeResponseModel(MerchantprodSendsmscodeResponseModel merchantprodSendsmscodeResponseModel) {
            this.merchantprodSendsmscodeResponseModel = merchantprodSendsmscodeResponseModel;
        }
    }
}