InstallmentsInfo class
Type containing information of installment subscriptions. Supported in Google Play (via SubscriptionOption) and iOS (via StoreProduct).
Constructors
- InstallmentsInfo(int commitmentPaymentsCount, int renewalCommitmentPaymentsCount, {String? commitmentInstallmentPeriod, double? installmentBillingPrice, String? installmentBillingPriceString, String? commitmentTotalPeriod, double? commitmentTotalPrice, String? commitmentTotalPriceString, BillingPlanType? billingPlanType})
-
const
-
InstallmentsInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
- billingPlanType → BillingPlanType?
-
The billing plan used for the installments.
iOS only. Null on Android.
final
- commitmentInstallmentPeriod → String?
-
Duration of each installment, specified in ISO 8601 format. For example, P1M equates to one month.
iOS only. Null on Android.
final
- commitmentPaymentsCount → int
-
Number of payments the customer commits to in order to purchase
the subscription.
final
- commitmentTotalPeriod → String?
-
Total duration of the customer's installment commitment, specified in ISO 8601 format.
iOS only. Null on Android.
final
- commitmentTotalPrice → double?
-
Total price the customer commits to paying across all installments.
iOS only. Null on Android.
final
- commitmentTotalPriceString → String?
-
Formatted total price the customer commits to paying across all installments, including its currency sign.
iOS only. Null on Android.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- installmentBillingPrice → double?
-
Price charged for each installment billing period.
iOS only. Null on Android.
final
- installmentBillingPriceString → String?
-
Formatted price charged for each installment billing period, including its currency sign.
iOS only. Null on Android.
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- renewalCommitmentPaymentsCount → int
-
After the commitment payments are complete, the number of payments
the user commits to upon a renewal.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true, thetoStringmethod will be overridden to output this instance'sprops.no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited