Ignite Tools
UASubscriptionProduct Class Reference

List of all members.

Properties

Product Info

---------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------

NSString * productIdentifier
NSURL * subscribeURL
NSURL * previewURL
NSURL * iconURL
int duration
 The duration in days.
NSString * subscriptionKey
NSString * subscriptionName
SKProduct * skProduct
 The SKProduct (from Apple) that this product provides.
NSString * title
NSString * productDescription
NSString * price
NSDecimalNumber * priceNumber
BOOL isPurchasing
Purchase Info

---------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------

BOOL purchased
 This flag is set if this product is a member of the [UASubscription purchasedProducts] array.
NSDate * startDate
 The start date for this specific purchased product's time slice.
NSDate * endDate
 The end date for this specific purchased product's time slice.
BOOL isForSale

Autorenewable Info

---------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------

BOOL autorenewable
UAAutorenewableDuration autorenewableDuration
 The duration of this autorenewable product.
(id) - initWithDict:
(id) - initWithSubscriptionProduct:
(void) - setPurchasingInfo:

Property Documentation

- (BOOL) autorenewable [read, write, assign]
Returns:
YES if the product is an autorenewable subscription, otherwise NO
- (UAAutorenewableDuration) autorenewableDuration [read, write, assign]

The duration of this autorenewable product.

UAAutorenewableDurationNone returned if not an autorenewable

- (int) duration [read, write, assign]

The duration in days.

This value is set in the UA web site for non-autorenewables, but for autorenewables it is estimated based on autorenewableDuration for sorting purposes.

- (NSDate *) endDate [read, write, retain]

The end date for this specific purchased product's time slice.

This value is only set if this product is a member of the [UASubscription purchasedProducts] array.

- (BOOL) isForSale [read, write, assign]
Returns:
YES if the product is listed for sale in iTunes Connect, otherwise NO
- (BOOL) purchased [read, write, assign]

This flag is set if this product is a member of the [UASubscription purchasedProducts] array.

- (SKProduct *) skProduct [read, write, retain]

The SKProduct (from Apple) that this product provides.

nil if the product is not for sale

- (NSDate *) startDate [read, write, retain]

The start date for this specific purchased product's time slice.

This value is only set if this product is a member of the [UASubscription purchasedProducts] array.


The documentation for this class was generated from the following file:
 All Classes Functions Variables Properties