LUPaymentOptionsSummary Class Reference
| Inherits from | LUAPIModel : NSObject |
| Declared in | LUPaymentOptionsSummary.h LUPaymentOptionsSummary.m |
Overview
For some LevelUp-powered apps, users can choose how they wish to be billed: either to preload money into their account (and to automatically load more money when their balance is low), or to be billed monthly (or in certain cases, immediately after an order is made).
LUPaymentOptionsSummary provides a summary of a user’s possible payment options (two of
LUPaymentOptionInstantBilling, LUPaymentOptionMonthlyBilling or LUPaymentOptionPreload),
along with relevant information for a user to make their choice.
For the monthly billing option, this model includes the maximum credit limit and monthly billing day that would be set if they choose that option. For the preloading, this model includes the amount that will be loaded into their account, and the balance threshold for reloading more money. Instant billing has no additional information.
See LUPaymentPreferenceRequestFactory to request the payment options summary and to set a user’s
payment preference.
Tasks
-
maxCreditLimitproperty -
monthlyBillingDayproperty -
optionsproperty -
preloadReloadThresholdproperty -
preloadValueproperty
Properties
maxCreditLimit
The maximum amount of pending charges a user can have before getting charged. Applies to the
LUPaymentOptionMonthlyBilling option.
@property (nonatomic, strong, readonly) LUMonetaryValue *maxCreditLimitDiscussion
The maximum amount of pending charges a user can have before getting charged. Applies to the
LUPaymentOptionMonthlyBilling option.
Declared In
LUPaymentOptionsSummary.hmonthlyBillingDay
The day of the month on which the user will be charged. Applies to the
LUPaymentOptionMonthlyBilling option.
@property (nonatomic, copy, readonly) NSNumber *monthlyBillingDayDiscussion
The day of the month on which the user will be charged. Applies to the
LUPaymentOptionMonthlyBilling option.
Declared In
LUPaymentOptionsSummary.hoptions
An array of 2 possible payment options, each one of LUPaymentOptionInstantBilling,
LUPaymentOptionMonthlyBillingorLUPaymentOptionPreload`.
@property (nonatomic, copy, readonly) NSArray *optionsDiscussion
An array of 2 possible payment options, each one of LUPaymentOptionInstantBilling,
LUPaymentOptionMonthlyBillingorLUPaymentOptionPreload`.
Declared In
LUPaymentOptionsSummary.hpreloadReloadThreshold
Once the user’s balance falls below this threshold, more money will be loaded into their account.
Applies to the LUPaymentOptionPreload option.
@property (nonatomic, strong, readonly) LUMonetaryValue *preloadReloadThresholdDiscussion
Once the user’s balance falls below this threshold, more money will be loaded into their account.
Applies to the LUPaymentOptionPreload option.
Declared In
LUPaymentOptionsSummary.hpreloadValue
The amount of money loaded into a user’s account when first registering or when their balance falls below the reload threshold.
@property (nonatomic, strong, readonly) LUMonetaryValue *preloadValueDiscussion
The amount of money loaded into a user’s account when first registering or when their balance falls below the reload threshold.
Declared In
LUPaymentOptionsSummary.h