# Price

# Price

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Price "View this page in Java")  

<br />

```
class Price
```

<br />

*** ** * ** ***

An object representing a price.

## Summary

|                                                                                                                      ### Nested types                                                                                                                       |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `class `[Price.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Price.Builder) Builder class for[Price](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Price). |

|                                                                               ### Public functions                                                                                |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!` | [getStrikethroughPrice](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Price#getStrikethroughPrice())`()` Returns the price that should be strikethrough on UI. |

|                                ### Public properties                                |
|-------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|
| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!` | [currentPrice](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Price#currentPrice()) |

## Public functions

### getStrikethroughPrice

```
fun getStrikethroughPrice(): Optional<String!>!
```

Returns the price that should be strikethrough on UI.  

## Public properties

### currentPrice

```
val currentPrice: String!
```