Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Readonly backObjects

backObjects: Set<Entity> = ...

Optional baseCost

baseCost: number

Optional baseDomainCount

baseDomainCount: number

Optional baseUserCount

baseUserCount: number

Optional billingCycleDays

billingCycleDays: number

Optional commissionRate

commissionRate: number

Optional companies

companies: Company[]

create

create: (options?: CreateOptions) => Promise<SubscriptionPlan> = ...

Type declaration

Optional created

created: null | Date

Optional createdBy

createdBy: null | User

Optional currency

currency: string

Optional id

id: number

isDirty

isDirty: boolean = false

Optional isPrivate

isPrivate: boolean

key

key: string = ...

merchi

merchi: Merchi

Optional name

name: string

Optional perDomainCost

perDomainCost: number

Optional perSmsCost

perSmsCost: number

Optional perUserCost

perUserCost: number

propertiesMap

propertiesMap: Map<string, PropertyInfo>

Optional showPublic

showPublic: boolean

Optional tax

tax: null | CountryTax

Optional transactionCost

transactionCost: number

Optional updated

updated: null | Date

Optional updatedBy

updatedBy: null | User

Optional whiteLabelDomainCost

whiteLabelDomainCost: number

Static merchi

merchi: Merchi

Methods

cleanDirty

  • cleanDirty(): void

createFactory

  • createFactory(__namedParameters: Object): (options?: CreateOptions) => Promise<this>
  • Parameters

    • __namedParameters: Object

    Returns (options?: CreateOptions) => Promise<this>

      • (options?: CreateOptions): Promise<this>
      • Parameters

        • Optional options: CreateOptions

        Returns Promise<this>

delete

  • delete(options?: DeleteOptions): Promise<this>

fromJson

  • fromJson(json: any, options?: FromJsonOptions): this

getPrimaryKeyValue

  • getPrimaryKeyValue(): any

recover

  • recover(options?: SaveOptions): Promise<this>

save

  • save(options?: SaveOptions): Promise<this>

toFormData

  • toFormData(options?: SerialiseOptions, fileIndex?: Counter): FormData

toJson

  • toJson(): any

updateOrder

  • updateOrder(property: string): void

Static get

  • get<T>(key: string | number, options?: GetOptions): Promise<InstanceType<T>>
  • Type parameters

    Parameters

    • key: string | number
    • Optional options: GetOptions

    Returns Promise<InstanceType<T>>

Static list

  • list<T>(options?: ListOptions): Promise<ListResponse<InstanceType<T>>>

Generated using TypeDoc