Criteria

public enum Criteria : Hashable, Equatable

An enum type that determines how a products are matched.

  • any

    The requirement rule will be met if any of the products have been purchased

    Declaration

    Swift

    case any
  • all

    The requirement rule will be met only if all of the products have been purchased

    Declaration

    Swift

    case all