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
-
maxCreditLimit
property -
monthlyBillingDay
property -
options
property -
preloadReloadThreshold
property -
preloadValue
property
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 *maxCreditLimit
Discussion
The maximum amount of pending charges a user can have before getting charged. Applies to the
LUPaymentOptionMonthlyBilling
option.
Declared In
LUPaymentOptionsSummary.h
monthlyBillingDay
The day of the month on which the user will be charged. Applies to the
LUPaymentOptionMonthlyBilling
option.
@property (nonatomic, copy, readonly) NSNumber *monthlyBillingDay
Discussion
The day of the month on which the user will be charged. Applies to the
LUPaymentOptionMonthlyBilling
option.
Declared In
LUPaymentOptionsSummary.h
options
An array of 2 possible payment options, each one of LUPaymentOptionInstantBilling,
LUPaymentOptionMonthlyBillingor
LUPaymentOptionPreload`.
@property (nonatomic, copy, readonly) NSArray *options
Discussion
An array of 2 possible payment options, each one of LUPaymentOptionInstantBilling,
LUPaymentOptionMonthlyBillingor
LUPaymentOptionPreload`.
Declared In
LUPaymentOptionsSummary.h
preloadReloadThreshold
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 *preloadReloadThreshold
Discussion
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.h
preloadValue
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 *preloadValue
Discussion
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