TNEntityTariff

@objcMembers
open class TNEntityTariff : NSObject, Codable

A Tariff object consists of a list of one or more Tariff Elements, which can be used to create complex Tariff structures.

  • ISO-3166 alpha-2 country code of the country this party is operating in

    Declaration

    Swift

    public var countryCode: String?
  • CPO, eMSP (or other role) ID of this party (following the ISO-15118 standard).

    Declaration

    Swift

    public var partyId: String?
  • id

    Uniquely identifies the tariff within the CPO’s platform

    Declaration

    Swift

    public var id: String?
  • ISO 4217 code of the currency used for this session.

    Declaration

    Swift

    public var currency: String?
  • Defines the type of the tariff.

    Declaration

    Swift

    public var type: String?
  • List of multi-language alternative tariff info texts.

    Declaration

    Swift

    public var tariffAltText: [TNEntityDisplayText]?
  • * URL to a web page that contains an explanation of the tariff information in human readable form.

    Declaration

    Swift

    public var tariffAltUrl: String?
  • When this field is set, a Charging Session with this tariff will at least cost this amount.

    Declaration

    Swift

    public var minPrice: TNEntityOcpiPrice?
  • When this field is set, a Charging Session with this tariff will NOT cost more than this amount.

    Declaration

    Swift

    public var maxPrice: TNEntityOcpiPrice?
  • The time when this tariff becomes active

    Declaration

    Swift

    public var startDateTime: String?
  • The time after which this tariff is no longer valid

    Declaration

    Swift

    public var endDateTime: String?
  • Details on the energy supplied with this tariff.

    Declaration

    Swift

    public var energyMix: TNEntityEnergyMix?
  • List of Tariff Elements.

    Declaration

    Swift

    public var elements: [TNEntityTariffElement]?
  • Timestamp when this Tariff was last updated (or created).

    Declaration

    Swift

    public var lastUpdated: String?