RecipientTransfers interface

Interface representing a RecipientTransfers.

Methods

accept(string, AcceptTransferRequest, RecipientTransfersAcceptOptionalParams)

Accepts a transfer request.

decline(string, RecipientTransfersDeclineOptionalParams)

Declines a transfer request.

get(string, RecipientTransfersGetOptionalParams)

Gets a transfer request by ID. The caller must be the recipient of the transfer request.

list(RecipientTransfersListOptionalParams)

Lists the transfer requests received by the caller.

validate(string, AcceptTransferRequest, RecipientTransfersValidateOptionalParams)

Validates if a subscription or a reservation can be transferred. Use this operation to validate your subscriptions or reservation before using the accept transfer operation.

Method Details

accept(string, AcceptTransferRequest, RecipientTransfersAcceptOptionalParams)

Accepts a transfer request.

function accept(transferName: string, parameters: AcceptTransferRequest, options?: RecipientTransfersAcceptOptionalParams): Promise<RecipientTransferDetails>

Parameters

transferName

string

The ID that uniquely identifies a transfer request.

parameters
AcceptTransferRequest

Request parameters that are provided to the accept transfer operation.

options
RecipientTransfersAcceptOptionalParams

The options parameters.

Returns

decline(string, RecipientTransfersDeclineOptionalParams)

Declines a transfer request.

function decline(transferName: string, options?: RecipientTransfersDeclineOptionalParams): Promise<RecipientTransferDetails>

Parameters

transferName

string

The ID that uniquely identifies a transfer request.

options
RecipientTransfersDeclineOptionalParams

The options parameters.

Returns

get(string, RecipientTransfersGetOptionalParams)

Gets a transfer request by ID. The caller must be the recipient of the transfer request.

function get(transferName: string, options?: RecipientTransfersGetOptionalParams): Promise<RecipientTransferDetails>

Parameters

transferName

string

The ID that uniquely identifies a transfer request.

options
RecipientTransfersGetOptionalParams

The options parameters.

Returns

list(RecipientTransfersListOptionalParams)

Lists the transfer requests received by the caller.

function list(options?: RecipientTransfersListOptionalParams): PagedAsyncIterableIterator<RecipientTransferDetails, RecipientTransferDetails[], PageSettings>

Parameters

options
RecipientTransfersListOptionalParams

The options parameters.

Returns

validate(string, AcceptTransferRequest, RecipientTransfersValidateOptionalParams)

Validates if a subscription or a reservation can be transferred. Use this operation to validate your subscriptions or reservation before using the accept transfer operation.

function validate(transferName: string, parameters: AcceptTransferRequest, options?: RecipientTransfersValidateOptionalParams): Promise<ValidateTransferListResponse>

Parameters

transferName

string

The ID that uniquely identifies a transfer request.

parameters
AcceptTransferRequest

Request parameters that are provided to the validate transfer operation.

options
RecipientTransfersValidateOptionalParams

The options parameters.

Returns