public sealed class Offer : IMessage<Offer>, IEquatable<Offer>, IDeepCloneable<Offer>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Channel v1 API class Offer.
Represents an offer made to resellers for purchase. An offer is associated with a [Sku][google.cloud.channel.v1.Sku], has a plan for payment, a price, and defines the constraints for buying.
Namespace
Google.Cloud.Channel.V1Assembly
Google.Cloud.Channel.V1.dll
Constructors
Offer()
public Offer()
Offer(Offer)
public Offer(Offer other)
Parameter | |
---|---|
Name | Description |
other |
Offer |
Properties
Constraints
public Constraints Constraints { get; set; }
Constraints on transacting the Offer.
Property Value | |
---|---|
Type | Description |
Constraints |
DealCode
public string DealCode { get; set; }
The deal code of the offer to get a special promotion or discount.
Property Value | |
---|---|
Type | Description |
string |
EndTime
public Timestamp EndTime { get; set; }
Output only. End of the Offer validity time.
Property Value | |
---|---|
Type | Description |
Timestamp |
MarketingInfo
public MarketingInfo MarketingInfo { get; set; }
Marketing information for the Offer.
Property Value | |
---|---|
Type | Description |
MarketingInfo |
Name
public string Name { get; set; }
Resource Name of the Offer. Format: accounts/{account_id}/offers/{offer_id}
Property Value | |
---|---|
Type | Description |
string |
OfferName
public OfferName OfferName { get; set; }
Property Value | |
---|---|
Type | Description |
OfferName |
ParameterDefinitions
public RepeatedField<ParameterDefinition> ParameterDefinitions { get; }
Parameters required to use current Offer to purchase.
Property Value | |
---|---|
Type | Description |
RepeatedFieldParameterDefinition |
Plan
public Plan Plan { get; set; }
Describes the payment plan for the Offer.
Property Value | |
---|---|
Type | Description |
Plan |
PriceByResources
public RepeatedField<PriceByResource> PriceByResources { get; }
Price for each monetizable resource type.
Property Value | |
---|---|
Type | Description |
RepeatedFieldPriceByResource |
Sku
public Sku Sku { get; set; }
SKU the offer is associated with.
Property Value | |
---|---|
Type | Description |
Sku |
StartTime
public Timestamp StartTime { get; set; }
Start of the Offer validity time.
Property Value | |
---|---|
Type | Description |
Timestamp |