Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Campaign

Index

Constructors

constructor

  • new Campaign(name: string, company: string, agency: string, campaignId: string, activate: boolean, created: string): Campaign
  • Parameters

    • name: string
    • company: string
    • agency: string
    • campaignId: string
    • activate: boolean
    • created: string

    Returns Campaign

Properties

Private _activate

_activate: boolean

Private _agency

_agency: string

Private _campaignId

_campaignId: string

Private _company

_company: string

Private _created

_created: string

Private _name

_name: string

Accessors

activate

  • get activate(): boolean

agency

  • get agency(): string

campaignId

  • get campaignId(): string

company

  • get company(): string

created

  • get created(): string

name

  • get name(): string

Methods

toJson

  • toJson(): {}
  • Gera um JSON correspondente ao objeto Campaign

    Returns {}

    JSON correspondente ao objeto Campaign

    • [key: string]: string | boolean

validateCampaignInfos

  • validateCampaignInfos(): boolean
  • Checa se há todas as informações de campanha vindas do Firestore

    Returns boolean

Generated using TypeDoc