import { Payload, PayloadBody, HandlerPayload, Publisher, Consumer, BaseEventHandler } from 'ec-base'
export { Publisher as AlibabaFinishOrderPublisher }
export { Consumer, BaseEventHandler }




    export type AlibabaFinishOrderPayloadBody = {
        userName?: string
        sex?: number
    }

export class AlibabaFinishOrderPayload extends Payload {

    getTopic(): string { return 'alibaba-finish-order' }
    getVersion(): string { return '1.0' }
    getMajorVersion(): number { return 1 }
    body: AlibabaFinishOrderPayloadBody
}
export class AlibabaFinishOrderHandlerPayload extends HandlerPayload {

    body: AlibabaFinishOrderPayloadBody
}
