import {IMessageEvent} from "../../../../../api";
import {MessageEvent} from "../../../../../events";
import {MarketplaceCanMakeOfferResultParser} from "../../parser";

export class MarketplaceCanMakeOfferResult extends MessageEvent implements IMessageEvent {
  constructor(callBack: Function) {
    super(callBack, MarketplaceCanMakeOfferResultParser);
  }

  public getParser(): MarketplaceCanMakeOfferResultParser {
    return this.parser as MarketplaceCanMakeOfferResultParser;
  }
}
