Class GoogleCloudChannelV1Offer
Represents an offer made to resellers for purchase. An offer is associated with a Sku, has a plan for payment, a price, and defines the constraints for buying.
Implements
Inherited Members
Namespace: Google.Apis.Cloudchannel.v1.Data
Assembly: Google.Apis.Cloudchannel.v1.dll
Syntax
public class GoogleCloudChannelV1Offer : IDirectResponseSchema
Properties
Constraints
Constraints on transacting the Offer.
Declaration
[JsonProperty("constraints")]
public virtual GoogleCloudChannelV1Constraints Constraints { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudChannelV1Constraints |
DealCode
The deal code of the offer to get a special promotion or discount.
Declaration
[JsonProperty("dealCode")]
public virtual string DealCode { get; set; }
Property Value
Type | Description |
---|---|
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
Output only. End of the Offer validity time.
Declaration
[JsonProperty("endTime")]
public virtual string EndTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
MarketingInfo
Marketing information for the Offer.
Declaration
[JsonProperty("marketingInfo")]
public virtual GoogleCloudChannelV1MarketingInfo MarketingInfo { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudChannelV1MarketingInfo |
Name
Resource Name of the Offer. Format: accounts/{account_id}/offers/{offer_id}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
ParameterDefinitions
Parameters required to use current Offer to purchase.
Declaration
[JsonProperty("parameterDefinitions")]
public virtual IList<GoogleCloudChannelV1ParameterDefinition> ParameterDefinitions { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudChannelV1ParameterDefinition> |
Plan
Describes the payment plan for the Offer.
Declaration
[JsonProperty("plan")]
public virtual GoogleCloudChannelV1Plan Plan { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudChannelV1Plan |
PriceByResources
Price for each monetizable resource type.
Declaration
[JsonProperty("priceByResources")]
public virtual IList<GoogleCloudChannelV1PriceByResource> PriceByResources { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudChannelV1PriceByResource> |
Sku
SKU the offer is associated with.
Declaration
[JsonProperty("sku")]
public virtual GoogleCloudChannelV1Sku Sku { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudChannelV1Sku |
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
Start of the Offer validity time.
Declaration
[JsonProperty("startTime")]
public virtual string StartTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |