/// <summary> /// Initiates the request to transfer the legacy subscriptions or RIs. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='billingAccountName'> /// billing Account Id. /// </param> /// <param name='billingProfileName'> /// Billing Profile Id. /// </param> /// <param name='customerName'> /// Customer name. /// </param> /// <param name='parameters'> /// Parameters supplied to initiate the transfer. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <TransferDetails> InitiateAsync(this IPartnerTransfersOperations operations, string billingAccountName, string billingProfileName, string customerName, InitiateTransferRequest parameters, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.InitiateWithHttpMessagesAsync(billingAccountName, billingProfileName, customerName, parameters, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Gets the transfer details for given transfer Id. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='billingAccountName'> /// billing Account Id. /// </param> /// <param name='billingProfileName'> /// Billing Profile Id. /// </param> /// <param name='customerName'> /// Customer name. /// </param> /// <param name='transferName'> /// Transfer Name. /// </param> public static TransferDetails Get(this IPartnerTransfersOperations operations, string billingAccountName, string billingProfileName, string customerName, string transferName) { return(operations.GetAsync(billingAccountName, billingProfileName, customerName, transferName).GetAwaiter().GetResult()); }
/// <summary> /// Initiates the request to transfer the legacy subscriptions or RIs. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='billingAccountName'> /// billing Account Id. /// </param> /// <param name='billingProfileName'> /// Billing Profile Id. /// </param> /// <param name='customerName'> /// Customer name. /// </param> /// <param name='parameters'> /// Parameters supplied to initiate the transfer. /// </param> public static TransferDetails Initiate(this IPartnerTransfersOperations operations, string billingAccountName, string billingProfileName, string customerName, InitiateTransferRequest parameters) { return(operations.InitiateAsync(billingAccountName, billingProfileName, customerName, parameters).GetAwaiter().GetResult()); }