Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Squish

Index

Constructors

constructor

Properties

client

client: ApolloClient<any>

Private opts

paymentHook

paymentHook: Function

swish

swish: SwishPayments

Methods

create

pay

paymentRequest

refund

  • refund(data: PaymentRequestType): Promise<InvoiceType>

simulate

subscribe

  • subscribe(id: string, onUpdate: AsyncResultCallback<InvoiceType, Error>, onError: ErrorCallback<Error>): Subscription
  • Subscribe to changes to an invoice

    Parameters

    • id: string
    • onUpdate: AsyncResultCallback<InvoiceType, Error>
    • onError: ErrorCallback<Error>

    Returns Subscription

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc