Class: Google::Apis::ContentV2_1::OrderreportsListDisbursementsResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/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.



5831
5832
5833
# File 'generated/google/apis/content_v2_1/classes.rb', line 5831

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

Instance Attribute Details

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

The list of disbursements. Corresponds to the JSON property disbursements



5818
5819
5820
# File 'generated/google/apis/content_v2_1/classes.rb', line 5818

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)


5824
5825
5826
# File 'generated/google/apis/content_v2_1/classes.rb', line 5824

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)


5829
5830
5831
# File 'generated/google/apis/content_v2_1/classes.rb', line 5829

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5836
5837
5838
5839
5840
# File 'generated/google/apis/content_v2_1/classes.rb', line 5836

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