RecipientTransfersClient Interface

public interface RecipientTransfersClient

An instance of this class provides access to all the operations defined in RecipientTransfersClient.

Method Summary

Modifier and Type Method and Description
abstract RecipientTransferDetailsInner accept(String transferName, AcceptTransferRequest parameters)

Accepts a transfer request.

abstract Response<RecipientTransferDetailsInner> acceptWithResponse(String transferName, AcceptTransferRequest parameters, Context context)

Accepts a transfer request.

abstract RecipientTransferDetailsInner decline(String transferName)

Declines a transfer request.

abstract Response<RecipientTransferDetailsInner> declineWithResponse(String transferName, Context context)

Declines a transfer request.

abstract RecipientTransferDetailsInner get(String transferName)

Gets a transfer request by ID.

abstract Response<RecipientTransferDetailsInner> getWithResponse(String transferName, Context context)

Gets a transfer request by ID.

abstract PagedIterable<RecipientTransferDetailsInner> list()

Lists the transfer requests received by the caller.

abstract PagedIterable<RecipientTransferDetailsInner> list(Context context)

Lists the transfer requests received by the caller.

abstract ValidateTransferListResponseInner validate(String transferName, AcceptTransferRequest parameters)

Validates if a subscription or a reservation can be transferred.

abstract Response<ValidateTransferListResponseInner> validateWithResponse(String transferName, AcceptTransferRequest parameters, Context context)

Validates if a subscription or a reservation can be transferred.

Method Details

accept

public abstract RecipientTransferDetailsInner accept(String transferName, AcceptTransferRequest parameters)

Accepts a transfer request.

Parameters:

transferName - The ID that uniquely identifies a transfer request.
parameters - Request parameters that are provided to the accept transfer operation.

Returns:

details of the transfer.

acceptWithResponse

public abstract Response<RecipientTransferDetailsInner> acceptWithResponse(String transferName, AcceptTransferRequest parameters, Context context)

Accepts a transfer request.

Parameters:

transferName - The ID that uniquely identifies a transfer request.
parameters - Request parameters that are provided to the accept transfer operation.
context - The context to associate with this operation.

Returns:

details of the transfer along with Response<T>.

decline

public abstract RecipientTransferDetailsInner decline(String transferName)

Declines a transfer request.

Parameters:

transferName - The ID that uniquely identifies a transfer request.

Returns:

details of the transfer.

declineWithResponse

public abstract Response<RecipientTransferDetailsInner> declineWithResponse(String transferName, Context context)

Declines a transfer request.

Parameters:

transferName - The ID that uniquely identifies a transfer request.
context - The context to associate with this operation.

Returns:

details of the transfer along with Response<T>.

get

public abstract RecipientTransferDetailsInner get(String transferName)

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

Parameters:

transferName - The ID that uniquely identifies a transfer request.

Returns:

a transfer request by ID.

getWithResponse

public abstract Response<RecipientTransferDetailsInner> getWithResponse(String transferName, Context context)

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

Parameters:

transferName - The ID that uniquely identifies a transfer request.
context - The context to associate with this operation.

Returns:

a transfer request by ID along with Response<T>.

list

public abstract PagedIterable<RecipientTransferDetailsInner> list()

Lists the transfer requests received by the caller.

Returns:

the list of transfers received by caller as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<RecipientTransferDetailsInner> list(Context context)

Lists the transfer requests received by the caller.

Parameters:

context - The context to associate with this operation.

Returns:

the list of transfers received by caller as paginated response with PagedIterable<T>.

validate

public abstract ValidateTransferListResponseInner validate(String transferName, AcceptTransferRequest parameters)

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.

Parameters:

transferName - The ID that uniquely identifies a transfer request.
parameters - Request parameters that are provided to the validate transfer operation.

Returns:

result of transfer validation.

validateWithResponse

public abstract Response<ValidateTransferListResponseInner> validateWithResponse(String transferName, AcceptTransferRequest parameters, Context context)

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.

Parameters:

transferName - The ID that uniquely identifies a transfer request.
parameters - Request parameters that are provided to the validate transfer operation.
context - The context to associate with this operation.

Returns:

result of transfer validation along with Response<T>.

Applies to