/// <summary>Snippet for ListPaymentsAccountsAsync</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task ListPaymentsAccountsRequestObjectAsync()
        {
            // Create client
            PaymentsAccountServiceClient paymentsAccountServiceClient = await PaymentsAccountServiceClient.CreateAsync();

            // Initialize request argument(s)
            ListPaymentsAccountsRequest request = new ListPaymentsAccountsRequest {
                CustomerId = "",
            };
            // Make the request
            ListPaymentsAccountsResponse response = await paymentsAccountServiceClient.ListPaymentsAccountsAsync(request);
        }
Ejemplo n.º 2
0
        /// <summary>Snippet for ListPaymentsAccountsAsync</summary>
        public async Task ListPaymentsAccountsAsync()
        {
            // Snippet: ListPaymentsAccountsAsync(string, CallSettings)
            // Additional: ListPaymentsAccountsAsync(string, CancellationToken)
            // Create client
            PaymentsAccountServiceClient paymentsAccountServiceClient = await PaymentsAccountServiceClient.CreateAsync();

            // Initialize request argument(s)
            string customerId = "";
            // Make the request
            ListPaymentsAccountsResponse response = await paymentsAccountServiceClient.ListPaymentsAccountsAsync(customerId);

            // End snippet
        }
Ejemplo n.º 3
0
        /// <summary>Snippet for ListPaymentsAccountsAsync</summary>
        public async Task ListPaymentsAccountsRequestObjectAsync()
        {
            // Snippet: ListPaymentsAccountsAsync(ListPaymentsAccountsRequest, CallSettings)
            // Additional: ListPaymentsAccountsAsync(ListPaymentsAccountsRequest, CancellationToken)
            // Create client
            PaymentsAccountServiceClient paymentsAccountServiceClient = await PaymentsAccountServiceClient.CreateAsync();

            // Initialize request argument(s)
            ListPaymentsAccountsRequest request = new ListPaymentsAccountsRequest {
                CustomerId = "",
            };
            // Make the request
            ListPaymentsAccountsResponse response = await paymentsAccountServiceClient.ListPaymentsAccountsAsync(request);

            // End snippet
        }