Price


public final class Price


An object representing a price.

Summary

Nested types

public final class Price.Builder

Builder class for Price.

Public fields

final String

Public methods

String

Returns the current price.

Optional<String>

Returns the price that should be strikethrough on UI.

Public fields

currentPrice

public final String currentPrice

Public methods

getCurrentPrice

public String getCurrentPrice()

Returns the current price.

getStrikethroughPrice

public Optional<StringgetStrikethroughPrice()

Returns the price that should be strikethrough on UI.