GoogleCloudPaymentsResellerSubscriptionV1Promotion class
A Promotion resource that defines a promotion for a subscription that can be resold.
Constructors
-
GoogleCloudPaymentsResellerSubscriptionV1Promotion({List<
String> ? applicableProducts, String? endTime, GoogleCloudPaymentsResellerSubscriptionV1Duration? freeTrialDuration, GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails? introductoryPricingDetails, String? name, String? promotionType, List<String> ? regionCodes, String? startTime, List<GoogleTypeLocalizedText> ? titles}) - GoogleCloudPaymentsResellerSubscriptionV1Promotion.fromJson(Map json_)
Properties
-
applicableProducts
↔ List<
String> ? -
The product ids this promotion can be applied to.
getter/setter pair
- endTime ↔ String?
-
Specifies the end time (exclusive) of the period that the promotion is
available in.
getter/setter pair
- freeTrialDuration ↔ GoogleCloudPaymentsResellerSubscriptionV1Duration?
-
Specifies the duration of the free trial of the subscription when
promotion_type is PROMOTION_TYPE_FREE_TRIAL
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- introductoryPricingDetails ↔ GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails?
-
Specifies the introductory pricing details when the promotion_type is
PROMOTION_TYPE_INTRODUCTORY_PRICING.
getter/setter pair
- name ↔ String?
-
Identifier.
getter/setter pair
- promotionType ↔ String?
-
Specifies the type of the promotion.
getter/setter pair
-
regionCodes
↔ List<
String> ? -
2-letter ISO region code where the promotion is available in.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startTime ↔ String?
-
Specifies the start time (inclusive) of the period that the promotion is
available in.
getter/setter pair
-
titles
↔ List<
GoogleTypeLocalizedText> ? -
Localized human readable name of the promotion.
getter/setter pair
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