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.



1208
1209
1210
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1208

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

Instance Attribute Details

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

Invoice collection Corresponds to the JSON property invoices



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

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)


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

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)


1206
1207
1208
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1206

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1213
1214
1215
1216
1217
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1213

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