Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PartnerCenter

Hierarchy

  • PartnerCenter

Index

Constructors

constructor

Properties

accessToken

accessToken: string

config

reqHeaders

reqHeaders: any

Methods

createSubscription

  • createSubscription(customerId: string, offerId: string, usersQuantity: number, billingCycle: "monthly" | "annual"): Promise<any>
  • Parameters

    • customerId: string
    • offerId: string
    • usersQuantity: number
    • billingCycle: "monthly" | "annual"

    Returns Promise<any>

getAllCustomers

  • getAllCustomers(): Promise<any[]>

getCustomerById

  • getCustomerById(customerId: string): Promise<any>
  • Parameters

    • customerId: string

    Returns Promise<any>

getCustomerSubscriptionById

  • getCustomerSubscriptionById(customerId: string, subscriptionId: string): Promise<any>
  • Parameters

    • customerId: string
    • subscriptionId: string

    Returns Promise<any>

getCustomerSubscriptionByOfferId

  • getCustomerSubscriptionByOfferId(customerId: string, offerId: string): Promise<any>
  • Parameters

    • customerId: string
    • offerId: string

    Returns Promise<any>

getCustomerSubscriptions

  • getCustomerSubscriptions(customerId: string): Promise<any[]>
  • Parameters

    • customerId: string

    Returns Promise<any[]>

updateCustomerSubscription

  • updateCustomerSubscription(customerId: string, subscriptionId: string, subscriptionObject: object): Promise<any>
  • Parameters

    • customerId: string
    • subscriptionId: string
    • subscriptionObject: object

    Returns Promise<any>

updateCustomerSubscriptionUsers

  • updateCustomerSubscriptionUsers(customerId: string, subscriptionId: string, usersQuantity: number): Promise<any>
  • Parameters

    • customerId: string
    • subscriptionId: string
    • usersQuantity: number

    Returns Promise<any>

Generated using TypeDoc