# ButtonProductCompatible

interface [ButtonProductCompatible](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-button-product-compatible/index.html)

An interface that defines the product properties that may be provided when reporting user activity.

#### Inheritors

[ButtonProduct](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-button-product/index.html)

## Members

### Functions

- [getAttributes](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-button-product-compatible/get-attributes.html)  
  @ [Nullable](https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html)  
  abstract fun [getAttributes](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-button-product-compatible/get-attributes.html)(): [Map](https://developer.android.com/reference/kotlin/java/util/Map.html) < [String](https://developer.android.com/reference/kotlin/java/lang/String.html), [String](https://developer.android.com/reference/kotlin/java/lang/String.html) >

- [getCategories](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-button-product-compatible/get-categories.html)  
  @ [Nullable](https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html)  
  abstract fun [getCategories](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-button-product-compatible/get-categories.html)(): [List](https://developer.android.com/reference/kotlin/java/util/List.html) < [String](https://developer.android.com/reference/kotlin/java/lang/String.html) >

- [getCurrency](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-button-product-compatible/get-currency.html)  
  @ [Nullable](https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html)  
  abstract fun [getCurrency](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-button-product-compatible/get-currency.html)(): [String](https://developer.android.com/reference/kotlin/java/lang/String.html)

- [getId](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-button-product-compatible/get-id.html)  
  @ [Nullable](https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html)  
  abstract fun [getId](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-button-product-compatible/get-id.html)(): [String](https://developer.android.com/reference/kotlin/java/lang/String.html)

- [getName](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-button-product-compatible/get-name.html)  
  @ [Nullable](https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html)  
  abstract fun [getName](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-button-product-compatible/get-name.html)(): [String](https://developer.android.com/reference/kotlin/java/lang/String.html)

- [getQuantity](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-button-product-compatible/get-quantity.html)  
  @ [Nullable](https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html)  
  abstract fun [getQuantity](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-button-product-compatible/get-quantity.html)(): [Integer](https://developer.android.com/reference/kotlin/java/lang/Integer.html)

- [getUpc](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-button-product-compatible/get-upc.html)  
  @ [Nullable](https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html)  
  abstract fun [getUpc](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-button-product-compatible/get-upc.html)(): [String](https://developer.android.com/reference/kotlin/java/lang/String.html)

- [getUrl](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-button-product-compatible/get-url.html)  
  @ [Nullable](https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html)  
  abstract fun [getUrl](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-button-product-compatible/get-url.html)(): [String](https://developer.android.com/reference/kotlin/java/lang/String.html)

- [getValue](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-button-product-compatible/get-value.html)  
  @ [Nullable](https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html)  
  abstract fun [getValue](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-button-product-compatible/get-value.html)(): [Integer](https://developer.android.com/reference/kotlin/java/lang/Integer.html)
