Welcome to Zuora Product Documentation

Explore our rich library of product information

ZQFClient helper methods

Use the ZQFClient.from helper to create a ZQFClient instance from quoteState and optional pageState for current interval resolution.

Construction

ZQFClient.from(source, options?)

Use ZQFClient.from(source, options?) to create a ZQFClient instance from a quoteState object or getter. You can also provide pageState when your implementation needs current interval resolution.

Signature

static from(
  source: object | (() => object),
  options?: {
    pageState?: object | (() => object)
  }
): ZQFClient

Parameters

ParameterTypeRequiredDescription
sourceobject | (() => object)YesquoteState object or getter returning quoteState.
options.pageStateobject | (() => object)NopageState object or getter. Used for current interval resolution.

For different helper methods, see:

For return events, see Return events.

For sample code, Sample code for ZQFClient helper methods.