Class CustomersResource.InvoicesResource.ListRequest
Returns all invoices associated with a billing setup, for a given month. List of thrown errors: AuthenticationError AuthorizationError FieldError HeaderError InternalError InvoiceError QuotaError RequestError
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.SA360.v23
Assembly: Google.Apis.SA360.v23.dll
Syntax
public class CustomersResource.InvoicesResource.ListRequest : SA360BaseServiceRequest<GoogleAdsSearchads360V23ServicesListInvoicesResponse>, IClientServiceRequest<GoogleAdsSearchads360V23ServicesListInvoicesResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string customerId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | customerId |
Properties
BillingSetup
Required. The billing setup resource name of the requested invoices.
customers/{customer_id}/billingSetups/{billing_setup_id}
Declaration
[RequestParameter("billingSetup", RequestParameterType.Query)]
public virtual string BillingSetup { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CustomerId
Required. The ID of the customer to fetch invoices for.
Declaration
[RequestParameter("customerId", RequestParameterType.Path)]
public virtual string CustomerId { get; }
Property Value
| Type | Description |
|---|---|
| string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
IncludeGranularLevelInvoiceDetails
Optional. When true, the response will include more granular level invoice details such as campaign level cost breakdown, itemized regulatory costs and adjustments. The default value is false.
Declaration
[RequestParameter("includeGranularLevelInvoiceDetails", RequestParameterType.Query)]
public virtual bool? IncludeGranularLevelInvoiceDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
IssueMonth
Required. The issue month to retrieve invoices.
Declaration
[RequestParameter("issueMonth", RequestParameterType.Query)]
public virtual CustomersResource.InvoicesResource.ListRequest.IssueMonthEnum? IssueMonth { get; set; }
Property Value
| Type | Description |
|---|---|
| CustomersResource.InvoicesResource.ListRequest.IssueMonthEnum? |
IssueYear
Required. The issue year to retrieve invoices, in yyyy format. Only invoices issued in 2019 or later can be retrieved.
Declaration
[RequestParameter("issueYear", RequestParameterType.Query)]
public virtual string IssueYear { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()