| 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. | |||||||||||
Animates the active card out of the checkout view. 
  
   | |||||||||||
Sets the active checkout card. 
  
   | |||||||||||
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. 
  
   | |||||||||||
Animates the active card into the checkout view. 
  
   | |||||||||||
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.
Animates the active card out of the checkout view. [BETA]
Sets the active checkout card. Call to action text will be displayed in the checkout footer. [BETA]
| card | the card to become active or null to clear the current card.
 | 
        
|---|
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
 | 
        
|---|
Animates the active card into the checkout view. [BETA]