| java.lang.Object | |
| ↳ | com.usebutton.sdk.checkout.Card | 
   Known Direct Subclasses
  
 | 
Base template class for checkout extension overlay cards.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| float | DEFAULT_TEXT_SIZE_BODY | ||||||||||
| float | DEFAULT_TEXT_SIZE_TITLE | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new card instance with the given call to action. 
  
   | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Invoked by the checkout system when a view should be populated with the card data. 
  
   | |||||||||||
Invoked by the checkout system when a new view is needed to display card contents. 
  
   | |||||||||||
Get the public call to action for the active state. 
  
   | |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Called when an inflated card view should be populated with data for display. 
  
   | |||||||||||
Called when a view should be inflated to display the card contents. 
  
   | |||||||||||
| 
  [Expand]
   Inherited Methods  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   
From class
  java.lang.Object
 | |||||||||||
Creates a new card instance with the given call to action.
| callToAction | call to action that will be displayed when the card is "active". | 
|---|
Invoked by the checkout system when a view should be populated with the card data. Delegates
 to onBindView(View) and performs other internal initialization.
| view | a view instance inflated by onCreateView(ViewGroup) to display the card
 contents.
 | 
        
|---|
Invoked by the checkout system when a new view is needed to display card contents. Delegates
 to onCreateView(ViewGroup) and performs other internal initialization.
| parent | ViewGroup where newly inflated view should be attached. | 
        
|---|
Get the public call to action for the active state.
Called when an inflated card view should be populated with data for display.
| view | a view instance inflated by onCreateView(ViewGroup) to display the card
 contents.
 | 
        
|---|
Called when a view should be inflated to display the card contents. Subclasses should override this method
| parent | ViewGroup where newly inflated view should be attached. | 
        
|---|