共用方式為


Offer Class

Definition

Represents a form of product availability to customer.

public sealed class Offer : Microsoft.Store.PartnerCenter.Models.ResourceBaseWithLinks<Microsoft.Store.PartnerCenter.Models.Offers.OfferLinks>
type Offer = class
    inherit ResourceBaseWithLinks<OfferLinks>
Public NotInheritable Class Offer
Inherits ResourceBaseWithLinks(Of OfferLinks)
Inheritance

Constructors

Offer()

Properties

AttestationProperties

Gets or sets the attestation properties.

Attributes

Gets the attributes.

(Inherited from ResourceBase)
Billing

Gets or sets how billing is done for the line item purchase.

Category

Gets or sets the offer category.

Country

Gets or sets the country where the offer applies.

Description

Gets or sets the offer description.

HasAddOns

Gets or sets a value indicating whether this offer has any add-ons

Id

Gets or sets the offer identifier.

IsAddOn

Gets or sets a value indicating whether this offer is an add-on.

IsAutoRenewable

Gets or sets a value indicating whether the offer is automatically renewable.

IsAvailableForPurchase

Gets or sets a value indicating whether this instance is available for purchase.

IsTrial

Gets or sets a value indicating whether this is a trial offer.

Limit

Gets or sets the amount of subscriptions that can be purchased of this offer based on the limitUnitOfMeasure

LimitUnitOfMeasure

Gets or sets the value used to indicate the type of the purchase limitation

Links

Gets or sets the resource links.

(Inherited from ResourceBaseWithLinks<TLinks>)
Locale

Gets or sets the locale to which the offer applies.

MaximumQuantity

Gets or sets the maximum quantity available.

MinimumQuantity

Gets or sets the minimum quantity available.

Name

Gets or sets the offer name.

PrerequisiteOffers

Gets or sets the prerequisite offers.

Product

Gets or sets the product.

Rank

Gets or sets the category rank in the offer collection.

ReselleeQualifications

Gets or sets qualifications required by the customer for the partner to purchase it for the customer.

ResellerQualifications

Gets or sets qualifications required by the Partner in order to purchase the offer for a customer.

SalesGroupId

Gets or sets the sale group id for the offer. When placing an order, one has to ensure that the order contains items of the sales group, if not split them.

SupportedBillingCycles

Gets or sets the supported billing cycles for the offer.

UnitType

Gets or sets the type of the unit.

UpgradeTargetOffers

Gets or sets the list of offers that this offer can be upgraded to.

Uri

Gets or sets the offer URI.

Applies to