PricingPhaseWrapper class

Represents a pricing phase, describing how a user pays at a point in time.

Annotations

Constructors

PricingPhaseWrapper({required int billingCycleCount, required String billingPeriod, required String formattedPrice, required int priceAmountMicros, required String priceCurrencyCode, required RecurrenceMode recurrenceMode})
Creates a new PricingPhaseWrapper from the supplied info.
const
PricingPhaseWrapper.fromJson(Map<String, dynamic> map)
Factory for creating a PricingPhaseWrapper from a Map with the phase details.
factory

Properties

billingCycleCount int
Represents a pricing phase, describing how a user pays at a point in time.
final
billingPeriod String
Billing period for which the given price applies, specified in ISO 8601 format.
final
formattedPrice String
Returns formatted price for the payment cycle, including its currency sign.
final
hashCode int
The hash code for this object.
no setteroverride
priceAmountMicros int
Returns the price for the payment cycle in micro-units, where 1,000,000 micro-units equal one unit of the currency.
final
priceCurrencyCode String
Returns ISO 4217 currency code for price.
final
recurrenceMode RecurrenceMode
Returns RecurrenceMode for the pricing phase.
final
runtimeType Type
A representation of the runtime type of the object.
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.
override