public sealed class Offer : IMessage<Offer>, IEquatable<Offer>, IDeepCloneable<Offer>, IBufferMessage, IMessage
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.
Implements
Google.Protobuf.IMessage<Offer>, IEquatable<Offer>, Google.Protobuf.IDeepCloneable<Offer>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
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 |
EndTime
public Timestamp EndTime { get; set; }
Output only. End of the Offer validity time.
Property Value | |
---|---|
Type | Description |
Google.Protobuf.WellKnownTypes.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 |
Google.Protobuf.Collections.RepeatedField<ParameterDefinition> |
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 |
Google.Protobuf.Collections.RepeatedField<PriceByResource> |
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 |
Google.Protobuf.WellKnownTypes.Timestamp |