IndicativePrice

public struct IndicativePrice : Codable

Indicative price to be displayed on in path widget in the form {prefix} {price.currency} {price.amount} {suffix}. e.g. “ From £30.00 per day”

  • prefix e.g. “From:

    Declaration

    Swift

    public let prefix: String
  • price. Consisting of amount and currency e.g. EUR

    Declaration

    Swift

    public let price: Price
  • suffix. e.g. “per day”

    Declaration

    Swift

    public let suffix: String
  • straplineText: The strapline text to be displayed alongside indicative price

    Declaration

    Swift

    public let straplineText: String