export interface SponsorSettingsUpdateViewModel {
  success: boolean;
  errorCode?: string;
  message?: string;
}

export class SponsorSettingsUpdatePresenter {
  private result: SponsorSettingsUpdateViewModel | null = null;

  reset() {
    this.result = null;
  }

  present(viewModel: SponsorSettingsUpdateViewModel) {
    this.result = viewModel;
  }

  getViewModel(): SponsorSettingsUpdateViewModel | null {
    return this.result;
  }

  get viewModel(): SponsorSettingsUpdateViewModel | null {
    return this.result;
  }
}
