/// <summary>
 /// Get map of plans and related approved subscriptions.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='privateStoreId'>
 /// The store ID - must use the tenant ID
 /// </param>
 /// <param name='payload'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <QueryApprovedPlansResponse> QueryApprovedPlansMethodAsync(this IPrivateStoreOperations operations, string privateStoreId, QueryApprovedPlansPayload payload = default(QueryApprovedPlansPayload), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.QueryApprovedPlansMethodWithHttpMessagesAsync(privateStoreId, payload, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Get map of plans and related approved subscriptions.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='privateStoreId'>
 /// The store ID - must use the tenant ID
 /// </param>
 /// <param name='payload'>
 /// </param>
 public static QueryApprovedPlansResponse QueryApprovedPlansMethod(this IPrivateStoreOperations operations, string privateStoreId, QueryApprovedPlansPayload payload = default(QueryApprovedPlansPayload))
 {
     return(operations.QueryApprovedPlansMethodAsync(privateStoreId, payload).GetAwaiter().GetResult());
 }