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



5655
5656
5657
# File 'generated/google/apis/content_v2/classes.rb', line 5655

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

Instance Attribute Details

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

The list of disbursements. Corresponds to the JSON property disbursements



5642
5643
5644
# File 'generated/google/apis/content_v2/classes.rb', line 5642

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)


5648
5649
5650
# File 'generated/google/apis/content_v2/classes.rb', line 5648

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)


5653
5654
5655
# File 'generated/google/apis/content_v2/classes.rb', line 5653

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5660
5661
5662
5663
5664
# File 'generated/google/apis/content_v2/classes.rb', line 5660

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