GoogleCloudPaymentsResellerSubscriptionV1Promotion class Null safety

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

Constructors

GoogleCloudPaymentsResellerSubscriptionV1Promotion({List<String>? applicableProducts, String? endTime, GoogleCloudPaymentsResellerSubscriptionV1Duration? freeTrialDuration, String? name, 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. [...]
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. [...]
read-only, inherited
name String?
Response only. [...]
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.
read-only, inherited
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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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