PromoCode

@objcMembers
@objc(GetSocialPromoCode)
public final class PromoCode : NSObject

Describe promo code object.

  • Promo code.

    Declaration

    Swift

    public internal(set) var code: String { get }
  • Attached data.

    Declaration

    Swift

    public internal(set) var properties: [String : String] { get }
  • Number of maximum claims.

    Declaration

    Swift

    public internal(set) var maxClaimCount: Int { get }
  • Start date.

    Declaration

    Swift

    public internal(set) var startDate: Int64 { get }
  • End date.

    Declaration

    Swift

    public internal(set) var endDate: Int64 { get }
  • Creator.

    Declaration

    Swift

    public internal(set) var creator: User { get }
  • Number of claims.

    Declaration

    Swift

    public internal(set) var claimCount: Int { get }
  • Enabled or not.

    Declaration

    Swift

    public internal(set) var isEnabled: Bool { get }
  • Claimable or not.

    Declaration

    Swift

    public internal(set) var isClaimable: Bool { get }
  • Description.

    Declaration

    Swift

    public override var description: String { get }