Skip to content

Latest commit

 

History

History
105 lines (61 loc) · 1.94 KB

CheckoutButtonSelector.md

File metadata and controls

105 lines (61 loc) · 1.94 KB

@bigcommerce/checkout-sdk / CheckoutButtonSelector

Interface: CheckoutButtonSelector

Table of contents

Methods

Methods

getDeinitializeError

getDeinitializeError(methodId?): undefined | Error

Parameters

Name Type
methodId? CheckoutButtonMethodType

Returns

undefined | Error


getInitializeError

getInitializeError(methodId?): undefined | Error

Parameters

Name Type
methodId? CheckoutButtonMethodType

Returns

undefined | Error


getState

getState(): CheckoutButtonState

Returns

CheckoutButtonState


isDeinitializing

isDeinitializing(methodId?): boolean

Parameters

Name Type
methodId? CheckoutButtonMethodType

Returns

boolean


isInitialized

isInitialized(methodId, containerId?): boolean

Parameters

Name Type
methodId CheckoutButtonMethodType
containerId? string

Returns

boolean


isInitializing

isInitializing(methodId?): boolean

Parameters

Name Type
methodId? CheckoutButtonMethodType

Returns

boolean