Show / Hide Table of Contents

Class GoogleCloudPaymentsResellerSubscriptionV1Promotion

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

Inheritance
object
GoogleCloudPaymentsResellerSubscriptionV1Promotion
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.PaymentsResellerSubscription.v1.Data
Assembly: Google.Apis.PaymentsResellerSubscription.v1.dll
Syntax
public class GoogleCloudPaymentsResellerSubscriptionV1Promotion : IDirectResponseSchema

Properties

ApplicableProducts

Output only. The product ids this promotion can be applied to.

Declaration
[JsonProperty("applicableProducts")]
public virtual IList<string> ApplicableProducts { get; set; }
Property Value
Type Description
IList<string>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

EndTime

object representation of EndTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use EndTimeDateTimeOffset instead.")]
public virtual object EndTime { get; set; }
Property Value
Type Description
object

EndTimeDateTimeOffset

DateTimeOffset representation of EndTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? EndTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

EndTimeRaw

Optional. Specifies the end time (exclusive) of the period that the promotion is available in. If unset, the promotion is available indefinitely.

Declaration
[JsonProperty("endTime")]
public virtual string EndTimeRaw { get; set; }
Property Value
Type Description
string

FreeTrialDuration

Optional. Specifies the duration of the free trial of the subscription when promotion_type is PROMOTION_TYPE_FREE_TRIAL

Declaration
[JsonProperty("freeTrialDuration")]
public virtual GoogleCloudPaymentsResellerSubscriptionV1Duration FreeTrialDuration { get; set; }
Property Value
Type Description
GoogleCloudPaymentsResellerSubscriptionV1Duration

IntroductoryPricingDetails

Optional. Specifies the introductory pricing details when the promotion_type is PROMOTION_TYPE_INTRODUCTORY_PRICING.

Declaration
[JsonProperty("introductoryPricingDetails")]
public virtual GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails IntroductoryPricingDetails { get; set; }
Property Value
Type Description
GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails

Name

Identifier. Response only. Resource name of the subscription promotion. It will have the format of "partners/{partner_id}/promotion/{promotion_id}"

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

PromotionType

Output only. Specifies the type of the promotion.

Declaration
[JsonProperty("promotionType")]
public virtual string PromotionType { get; set; }
Property Value
Type Description
string

RegionCodes

Output only. 2-letter ISO region code where the promotion is available in. Ex. "US" Please refers to: https://en.wikipedia.org/wiki/ISO_3166-1

Declaration
[JsonProperty("regionCodes")]
public virtual IList<string> RegionCodes { get; set; }
Property Value
Type Description
IList<string>

StartTime

object representation of StartTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use StartTimeDateTimeOffset instead.")]
public virtual object StartTime { get; set; }
Property Value
Type Description
object

StartTimeDateTimeOffset

DateTimeOffset representation of StartTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? StartTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

StartTimeRaw

Optional. Specifies the start time (inclusive) of the period that the promotion is available in.

Declaration
[JsonProperty("startTime")]
public virtual string StartTimeRaw { get; set; }
Property Value
Type Description
string

Titles

Output only. Localized human readable name of the promotion.

Declaration
[JsonProperty("titles")]
public virtual IList<GoogleTypeLocalizedText> Titles { get; set; }
Property Value
Type Description
IList<GoogleTypeLocalizedText>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX