Class: Google::Apis::DfareportingV4::AdvertiserInvoicesListResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/representations.rb

Overview

Invoice List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AdvertiserInvoicesListResponse

Returns a new instance of AdvertiserInvoicesListResponse.



1196
1197
1198
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1196

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#invoicesArray<Google::Apis::DfareportingV4::Invoice>

Invoice collection Corresponds to the JSON property invoices



1183
1184
1185
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1183

def invoices
  @invoices
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#advertiserInvoicesListResponse". Corresponds to the JSON property kind

Returns:

  • (String)


1189
1190
1191
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1189

def kind
  @kind
end

#next_page_tokenString

Pagination token to be used for the next list operation. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1194
1195
1196
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1194

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1201
1202
1203
1204
1205
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1201

def update!(**args)
  @invoices = args[:invoices] if args.key?(:invoices)
  @kind = args[:kind] if args.key?(:kind)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end