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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ OrderreportsListDisbursementsResponse

Returns a new instance of OrderreportsListDisbursementsResponse



5621
5622
5623
# File 'generated/google/apis/content_v2/classes.rb', line 5621

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

Instance Attribute Details

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

The list of disbursements. Corresponds to the JSON property disbursements



5608
5609
5610
# File 'generated/google/apis/content_v2/classes.rb', line 5608

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)


5614
5615
5616
# File 'generated/google/apis/content_v2/classes.rb', line 5614

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)


5619
5620
5621
# File 'generated/google/apis/content_v2/classes.rb', line 5619

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5626
5627
5628
5629
5630
# File 'generated/google/apis/content_v2/classes.rb', line 5626

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