| com.usebutton.sdk.checkout.CheckoutInterface |
Interface containing methods that a publisher can use to customize the experience of the
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
The view container can be used to add custom views to the checkout experience with
LayoutInflater.from(viewContainer.getContext()).inflate(R.layout.layout_goes_here, viewContainer);
The view must be inflated with the view container's context to avoid any memory leaks. | |||||||||||
Sets the primary color of the bottom bar in the checkout experience.
| |||||||||||
Sets the tint color of the bottom bar in the checkout experience.
| |||||||||||
Sets the sub title of the checkout experience.
| |||||||||||
Sets the color of the sub title of in the checkout experience.
| |||||||||||
Sets the main title of the checkout experience.
| |||||||||||
Sets the color of the main title of in the checkout experience.
| |||||||||||
Sets the primary color of the top bar in the checkout experience.
| |||||||||||
Sets the tint color of the top bar in the checkout experience.
| |||||||||||
The view container can be used to add custom views to the checkout experience with
LayoutInflater.from(viewContainer.getContext()).inflate(R.layout.layout_goes_here, viewContainer);
The view must be inflated with the view container's context to avoid any memory leaks.
Sets the primary color of the bottom bar in the checkout experience.
| color | ColorInt Color
|
|---|
Sets the tint color of the bottom bar in the checkout experience.
| color | ColorInt Color
|
|---|
Sets the sub title of the checkout experience.
| subTitle | The title |
|---|
Sets the color of the sub title of in the checkout experience.
| color | ColorInt Color
|
|---|
Sets the main title of the checkout experience.
| title | The title |
|---|
Sets the color of the main title of in the checkout experience.
| color | ColorInt Color
|
|---|
Sets the primary color of the top bar in the checkout experience.
| color | ColorInt Color
|
|---|
Sets the tint color of the top bar in the checkout experience.
| color | ColorInt Color
|
|---|