Editar

Compartilhar via


ExtensionAcquisitionRequest interface

Contract for handling the extension acquisition process

Properties

assignmentType

How the item is being assigned

billingId

The id of the subscription used for purchase

itemId

The marketplace id (publisherName.extensionName) for the item

operationType

The type of operation, such as install, request, purchase

properties

Additional properties which can be added to the request.

quantity

How many licenses should be purchased

targets

A list of target guids where the item should be acquired (installed, requested, etc.), such as account id

Property Details

assignmentType

How the item is being assigned

assignmentType: AcquisitionAssignmentType

Property Value

billingId

The id of the subscription used for purchase

billingId: string

Property Value

string

itemId

The marketplace id (publisherName.extensionName) for the item

itemId: string

Property Value

string

operationType

The type of operation, such as install, request, purchase

operationType: AcquisitionOperationType

Property Value

properties

Additional properties which can be added to the request.

properties: any

Property Value

any

quantity

How many licenses should be purchased

quantity: number

Property Value

number

targets

A list of target guids where the item should be acquired (installed, requested, etc.), such as account id

targets: string[]

Property Value

string[]