ZDCUserBillMetadata

@interface ZDCUserBillMetadata : NSObject

Represents the metadata from a ZDCUserBill.

  • The month of the bill.

    Months are 1-based to match NSCalendar. (i.e. january=1, december=12)

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSInteger month;

    Swift

    var month: Int { get }
  • The year of the bill.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSInteger year;

    Swift

    var year: Int { get }
  • The last time this bill was updated by the server.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSDate *_Nonnull timestamp;

    Swift

    var timestamp: Date { get }
  • If the final flag is TRUE, it means the bill is for a previous month/year and is finalized. Otherwise, the bill is for the current month, and may be updated as the user continues using the cloud.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL isFinal;

    Swift

    var isFinal: Bool { get }