/// <summary>
 /// Lists all billing permissions the caller has for a customer.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='billingAccountName'>
 /// billing Account Id.
 /// </param>
 /// <param name='customerName'>
 /// Customer name.
 /// </param>
 public static BillingPermissionsListResult ListByCustomer(this IBillingPermissionsOperations operations, string billingAccountName, string customerName)
 {
     return(operations.ListByCustomerAsync(billingAccountName, customerName).GetAwaiter().GetResult());
 }