GoogleCloudPaymentsResellerSubscriptionV1Promotion class Null safety

A Promotion resource that defines a promotion for a subscription that can be resold.


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_)


applicableProducts List<String>?
The product ids this promotion can be applied to.
read / write
endTime String?
Specifies the end time (exclusive) of the period that the promotion is available in.
read / write
freeTrialDuration GoogleCloudPaymentsResellerSubscriptionV1Duration?
Specifies the duration of the free trial of the subscription when promotion_type is PROMOTION_TYPE_FREE_TRIAL
read / write
hashCode int
The hash code for this object.
introductoryPricingDetails GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails?
Specifies the introductory pricing details when the promotion_type is PROMOTION_TYPE_INTRODUCTORY_PRICING.
read / write
name String?
Response only.
read / write
promotionType String?
Specifies the type of the promotion.
read / write
regionCodes List<String>?
2-letter ISO region code where the promotion is available in.
read / write
runtimeType Type
A representation of the runtime type of the object.
startTime String?
Specifies the start time (inclusive) of the period that the promotion is available in.
read / write
titles List<GoogleTypeLocalizedText>?
Localized human readable name of the promotion.
read / write


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


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