Type Alias PurchaseWidgetParams

PurchaseWidgetParams: {
    language?: WidgetLanguage;
    environmentId?: string;
    showBackButton?: boolean;
    items?: PurchaseItem[];
}

Type declaration

  • Optionallanguage?: WidgetLanguage

    The language to use for the Purchase widget

  • OptionalenvironmentId?: string

    Environment id from Immutable Hub

  • OptionalshowBackButton?: boolean

    Whether to show a back button on the first screen, on click triggers REQUEST_GO_BACK event

  • Optionalitems?: PurchaseItem[]

    The list of products to be purchased