Metric

public struct Metric : Codable, Equatable

Struct representing Metric summary related values.

  • Metric label.

    Declaration

    Swift

    public var label: String
  • Metric balance.

    Declaration

    Swift

    public var balance: String
  • Metric lifetime.

    Declaration

    Swift

    public var lifeTime: String
  • Metric last 12 months.

    Declaration

    Swift

    public var last12mos: String
  • ytd

    Metric YTD.

    Declaration

    Swift

    public var ytd: String
  • Metric last 30 days.

    Declaration

    Swift

    public var last30d: String
  • mtd

    Metric MTD.

    Declaration

    Swift

    public var mtd: String
  • Metric Today.

    Declaration

    Swift

    public var today: String
  • Metric redeem total.

    Declaration

    Swift

    public var redeemTotal: String
  • Undocumented

    Declaration

    Swift

    public init(label: String, balance: String, lifeTime: String, last12mos: String,
                ytd: String, last30d: String, mtd: String, today: String, redeemTotal: String)
  • Declaration

    Swift

    public init(from decoder: Decoder) throws