Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Protected iugu

iugu: Iugu

Methods

activate

  • Activates an existing subscription

    Parameters

    • subscription: string | Subscription

      the id or object of the subscription that will be activated

    Returns Promise<Subscription>

    a promise that may resolve to the associated subscription object

create

delete

  • Deletes an existing subscription

    Parameters

    • subscription: string | Subscription

      the id or object of the subscription that will be deleted

    Returns Promise<Subscription>

    a promise that may resolve to the deleted subscription object

get

  • Retrieves information of an existing subscription

    Parameters

    • subscription: string | Subscription

      the id or object of the subscription that will be retrieved

    Returns Promise<Subscription>

    a promise that may resolve to the subscription object

list

Private recreateExpires

Private subscriptionParamToString

  • subscriptionParamToString(subscription: string | Subscription): string

suspend

  • Suspends an existing subscription

    Parameters

    • subscription: string | Subscription

      the id or object of the subscription that will be suspended

    Returns Promise<Subscription>

    a promise that may resolve to the associated subscription object

update

Generated using TypeDoc