Purchase

public struct Purchase : Codable, Hashable
  • id

    Declaration

    Swift

    public let id: String
  • Declaration

    Swift

    public let currency: String?
  • Declaration

    Swift

    public let budgetPoints: Int?
  • Declaration

    Swift

    public let productName: String?
  • Declaration

    Swift

    public let productType: String?
  • Declaration

    Swift

    public let validFor: TimeInterval?
  • Declaration

    Swift

    public let validFrom: Date?
  • Declaration

    Swift

    public let branding: TSPBranding?
  • Declaration

    Swift

    public let attribution: TKAPI.DataAttribution?
  • Declaration

    Swift

    public var price: NSDecimalNumber? { get }
  • Declaration

    Swift

    public var isValid: Bool { get }
  • Declaration

    Swift

    public var validTo: Date? { get }