Price.Builder


public final class Price.Builder


Builder class for Price.

Summary

Public constructors

Public methods

Price
Price.Builder

Sets the current price.

Price.Builder

Sets the price that should be strikethrough on UI

Public constructors

Builder

public Builder()

Public methods

build

public Price build()

setCurrentPrice

@CanIgnoreReturnValue
public Price.Builder setCurrentPrice(String currentPrice)

Sets the current price.

Required.

setStrikethroughPrice

@CanIgnoreReturnValue
public Price.Builder setStrikethroughPrice(String strikethroughPrice)

Sets the price that should be strikethrough on UI

Optional.