Class: Google::Apis::ContentV2::OrderreportsListDisbursementsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OrderreportsListDisbursementsResponse

Returns a new instance of OrderreportsListDisbursementsResponse.



5459
5460
5461
# File 'lib/google/apis/content_v2/classes.rb', line 5459

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

Instance Attribute Details

#disbursementsArray<Google::Apis::ContentV2::OrderReportDisbursement>

The list of disbursements. Corresponds to the JSON property disbursements



5446
5447
5448
# File 'lib/google/apis/content_v2/classes.rb', line 5446

def disbursements
  @disbursements
end

#kindString

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

Returns:

  • (String)


5452
5453
5454
# File 'lib/google/apis/content_v2/classes.rb', line 5452

def kind
  @kind
end

#next_page_tokenString

The token for the retrieval of the next page of disbursements. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


5457
5458
5459
# File 'lib/google/apis/content_v2/classes.rb', line 5457

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5464
5465
5466
5467
5468
# File 'lib/google/apis/content_v2/classes.rb', line 5464

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