OneTimeProductOfferRegionalPricingAndAvailabilityConfig class
Regional pricing and availability configuration for a one-time product offer.
Constructors
- OneTimeProductOfferRegionalPricingAndAvailabilityConfig.new({Money? absoluteDiscount, String? availability, OneTimeProductOfferNoPriceOverrideOptions? noOverride, String? regionCode, double? relativeDiscount})
- OneTimeProductOfferRegionalPricingAndAvailabilityConfig.fromJson(Map json_)
Properties
- absoluteDiscount ↔ Money?
-
The absolute value of the discount that is subtracted from the purchase
option price.
getter/setter pair
- availability ↔ String?
-
The availability for this region.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- noOverride ↔ OneTimeProductOfferNoPriceOverrideOptions?
-
The price defined in the purchase option for this region will be used.
getter/setter pair
- regionCode ↔ String?
-
Region code this configuration applies to, as defined by ISO 3166-2, e.g.,
"US".
getter/setter pair
- relativeDiscount ↔ double?
-
The fraction of the purchase option price that the user pays for this
offer.
getter/setter pair
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited