Price.Builder


class Price.Builder


Builder class for Price.

Summary

Public constructors

Public functions

Price!
Price.Builder!

Sets the current price.

Price.Builder!

Sets the price that should be strikethrough on UI

Public constructors

Builder

Builder()

Public functions

build

fun build(): Price!

setCurrentPrice

@CanIgnoreReturnValue
fun setCurrentPrice(currentPrice: String!): Price.Builder!

Sets the current price.

Required.

setStrikethroughPrice

@CanIgnoreReturnValue
fun setStrikethroughPrice(strikethroughPrice: String!): Price.Builder!

Sets the price that should be strikethrough on UI

Optional.