Billing

  • Represents a user’s bill, which is their tally of cloud costs such as:

    • s3 storage consumption
    • sns push notification count
    • lambda cpu usage (in milliseconds)
    • bandwidth usage (in bytes)

    Converting a bill to actual user costs is highly app dependent. But this class has tools to provide the tallies & raw cloud costs.

    See more

    Declaration

    Objective-C

    @interface ZDCUserBill : NSObject

    Swift

    class ZDCUserBill : NSObject
  • Represents the metadata from a ZDCUserBill.

    See more

    Declaration

    Objective-C

    @interface ZDCUserBillMetadata : NSObject

    Swift

    class ZDCUserBillMetadata : NSObject
  • Represents the raw tallies for a specific app, or for the user’s totals (all apps). Instances of this class are created via ZDCUserBill.

    See more

    Declaration

    Objective-C

    @interface ZDCAppBill : NSObject

    Swift

    class ZDCAppBill : NSObject
  • Represents the storage tally for a specific {app, storageType} tuple. Instances of this class are created via ZDCAppBill.

    See more

    Declaration

    Objective-C

    @interface ZDCStorageBill : NSObject

    Swift

    class ZDCStorageBill : NSObject
  • Provides a calculation of the app’s raw cloud costs.

    Instances of this class are created via -[ZDCUserBill calculateCost:].

    See more

    Declaration

    Objective-C

    @interface ZDCAppCost : NSObject

    Swift

    class ZDCAppCost : NSObject
  • The calculated raw cost for each service.

    See more

    Declaration

    Objective-C

    @interface ZDCAppCostDetails : NSObject

    Swift

    class ZDCAppCostDetails : NSObject