| com.usebutton.sdk.checkout.CheckoutExtension |
This interface allows you to create a Checkout extension which allow dynamic customization of the checkout experience.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Called when the checkout flow is closed.
| |||||||||||
Called during the initialization of the Checkout experience
| |||||||||||
Called during navigation events in the checkout experience
| |||||||||||
Called when the checkout flow navigates to a product.
| |||||||||||
Called when a purchase is completed [BETA]
Note: This is not guaranteed to be called for every purchase as not all merchants are enabled
for this feature
| |||||||||||
Called when the checkout flow is closed. This does not mean a purchase was completed.
Called during the initialization of the Checkout experience
| checkout | An interface which allows you to customize the experience. |
|---|
Called during navigation events in the checkout experience
| uri | The uri the of the event. This can contain a web link or and Android URI |
|---|---|
| checkout | The interface to the checkout object. |
Called when the checkout flow navigates to a product. [BETA] Note: This feature is supported by a subset of Merchants that is constantly growing. New Merchants may begin supporting this method at any time.
| product | An object representing the product. |
|---|---|
| commission | An object representing commission availability |
| checkout | The interface to the checkout object. |
Called when a purchase is completed [BETA] Note: This is not guaranteed to be called for every purchase as not all merchants are enabled for this feature
| checkout | The interface to the checkout object. |
|---|