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

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 BkcloudfundsUnifiedOrderNotifyRequest extends MybankResponse {

    private static final long serialVersionUID = 1774339219723408639L;

    @XmlElementRef
    private BkcloudfundsUnifiedOrderNotify bkcloudfundsUnifiedOrderNotify;

    public BkcloudfundsUnifiedOrderNotify getBkcloudfundsUnifiedOrderNotify() {
        return bkcloudfundsUnifiedOrderNotify;
    }

    public void setBkcloudfundsUnifiedOrderNotify(BkcloudfundsUnifiedOrderNotify bkcloudfundsUnifiedOrderNotify) {
        this.bkcloudfundsUnifiedOrderNotify = bkcloudfundsUnifiedOrderNotify;
    }

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

        private static final long serialVersionUID = -9205005183089640277L;

        /**
         * 公共应答参数（head）
         */
        @XmlElementRef
        private RequestHead requestHead;

        /**
         * 业务应答参数（body）
         */
        @XmlElementRef
        private BkcloudfundsUnifiedOrderNotifyModel bkcloudfundsUnifiedOrderNotifyModel;

        public RequestHead getRequestHead() {
            return requestHead;
        }

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

        public BkcloudfundsUnifiedOrderNotifyModel getBkcloudfundsUnifiedOrderNotifyModel() {
            return bkcloudfundsUnifiedOrderNotifyModel;
        }

        public void setBkcloudfundsUnifiedOrderNotifyModel(BkcloudfundsUnifiedOrderNotifyModel bkcloudfundsUnifiedOrderNotifyModel) {
            this.bkcloudfundsUnifiedOrderNotifyModel = bkcloudfundsUnifiedOrderNotifyModel;
        }
    }
}