QProductPricingPhase class

This class represents a pricing phase, describing how a user pays at a point in time.

Annotations
  • @JsonSerializable()

Constructors

QProductPricingPhase(QProductPrice price, QSubscriptionPeriod billingPeriod, int billingCycleCount, QPricingPhaseRecurrenceMode recurrenceMode, QPricingPhaseType type, bool isTrial, bool isIntro, bool isBasePlan)
const
QProductPricingPhase.fromJson(Map<String, dynamic> json)
factory

Properties

billingCycleCount int
Number of cycles for which the billing period is applied.
final
billingPeriod QSubscriptionPeriod
The billing period for which the given price applies.
final
hashCode int
The hash code for this object.
no setterinherited
isBasePlan bool
True, if the current phase represents the base plan. False otherwise.
final
isIntro bool
True, if the current phase is an intro period. False otherwise. The intro phase is one of single or recurrent discounted payments.
final
isTrial bool
True, if the current phase is a trial period. False otherwise.
final
price QProductPrice
Price for the current phase.
final
recurrenceMode QPricingPhaseRecurrenceMode
Recurrence mode for the pricing phase.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type QPricingPhaseType
Type of the pricing phase.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited