MNFSpendingChallenge

Objective-C

@interface MNFSpendingChallenge : MNFObject

Swift

class MNFSpendingChallenge : MNFObject

The MNFSpendingChallenge represents a suggested challenge generated by a server admin.

Immutable properties

  • The category ids of the categories for this challenge.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSArray *_Nullable categoryIds;

    Swift

    var categoryIds: [Any]? { get }
  • The target spending percentage of this challenge.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSNumber *_Nullable targetPercentage;

    Swift

    var targetPercentage: NSNumber? { get }
  • The spend amount of this challenge.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSNumber *_Nullable spentAmount;

    Swift

    var spentAmount: NSNumber? { get }
  • The interval with which this challenge repeates.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nullable recurringInterval;

    Swift

    var recurringInterval: String? { get }
  • The number of participants in this challenge.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSNumber *_Nullable numberOfParticipants;

    Swift

    var numberOfParticipants: NSNumber? { get }

Mutable properties

  • The target spending amount of this challenge.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable targetAmount;

    Swift

    var targetAmount: NSNumber? { get set }