public class

Product

extends Object
implements Parcelable
java.lang.Object
   ↳ com.usebutton.sdk.models.Product

Class Overview

A product represents a single product and is described with a title, subtitle, description and a list of images.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Methods
int getBackgroundColor()
Text getDescription()
List<Asset> getImages()
Text getSubtitle()
Text getTitle()
boolean shouldPadImages()
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Public Methods

public int getBackgroundColor ()

public Text getDescription ()

public List<Asset> getImages ()

public Text getSubtitle ()

public Text getTitle ()

public boolean shouldPadImages ()

Returns
  • true if the images should be framed with some padding, false if they should bleed to the edge of the view.