Cloud Channel v1 API - Class Offer (2.6.0)

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.

Inheritance

object > Offer

Namespace

Google.Cloud.Channel.V1

Assembly

Google.Cloud.Channel.V1.dll

Constructors

Offer()

public Offer()

Offer(Offer)

public Offer(Offer other)
Parameter
NameDescription
otherOffer

Properties

Constraints

public Constraints Constraints { get; set; }

Constraints on transacting the Offer.

Property Value
TypeDescription
Constraints

DealCode

public string DealCode { get; set; }

The deal code of the offer to get a special promotion or discount.

Property Value
TypeDescription
string

EndTime

public Timestamp EndTime { get; set; }

Output only. End of the Offer validity time.

Property Value
TypeDescription
Timestamp

MarketingInfo

public MarketingInfo MarketingInfo { get; set; }

Marketing information for the Offer.

Property Value
TypeDescription
MarketingInfo

Name

public string Name { get; set; }

Resource Name of the Offer. Format: accounts/{account_id}/offers/{offer_id}

Property Value
TypeDescription
string

OfferName

public OfferName OfferName { get; set; }

OfferName-typed view over the Name resource name property.

Property Value
TypeDescription
OfferName

ParameterDefinitions

public RepeatedField<ParameterDefinition> ParameterDefinitions { get; }

Parameters required to use current Offer to purchase.

Property Value
TypeDescription
RepeatedFieldParameterDefinition

Plan

public Plan Plan { get; set; }

Describes the payment plan for the Offer.

Property Value
TypeDescription
Plan

PriceByResources

public RepeatedField<PriceByResource> PriceByResources { get; }

Price for each monetizable resource type.

Property Value
TypeDescription
RepeatedFieldPriceByResource

Sku

public Sku Sku { get; set; }

SKU the offer is associated with.

Property Value
TypeDescription
Sku

StartTime

public Timestamp StartTime { get; set; }

Start of the Offer validity time.

Property Value
TypeDescription
Timestamp