STEP 3-2
Functions the SDK calls (CartConnector and callbacks)
These are the functions the SDK calls. The SDK user implements them and passes them to init() (Options you can pass). Their roles are in the SDK reference list.
CartConnector (always implement it)
A pair of two functions that you pass to cart in init. The SDK reads and writes your cart through these two functions (Why a CartConnector is needed).
Callbacks
When you pass these to init, they are called when the SDK's state changes.
© Recustomer, Inc.