/// <summary>Snippet for ListInvoices</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void ListInvoices() { // Create client InvoiceServiceClient invoiceServiceClient = InvoiceServiceClient.Create(); // Initialize request argument(s) string customerId = ""; string billingSetup = ""; string issueYear = ""; MonthOfYearEnum.Types.MonthOfYear issueMonth = MonthOfYearEnum.Types.MonthOfYear.Unspecified; // Make the request ListInvoicesResponse response = invoiceServiceClient.ListInvoices(customerId, billingSetup, issueYear, issueMonth); }
/// <summary>Snippet for ListInvoices</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void ListInvoicesRequestObject() { // Create client InvoiceServiceClient invoiceServiceClient = InvoiceServiceClient.Create(); // Initialize request argument(s) ListInvoicesRequest request = new ListInvoicesRequest { CustomerId = "", BillingSetup = "", IssueYear = "", IssueMonth = MonthOfYearEnum.Types.MonthOfYear.Unspecified, }; // Make the request ListInvoicesResponse response = invoiceServiceClient.ListInvoices(request); }