Class: Google::Apis::ContentV2_1::OrderreportsListTransactionsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OrderreportsListTransactionsResponse

Returns a new instance of OrderreportsListTransactionsResponse.



7302
7303
7304
# File 'lib/google/apis/content_v2_1/classes.rb', line 7302

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

Instance Attribute Details

#kindString

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

Returns:

  • (String)


7290
7291
7292
# File 'lib/google/apis/content_v2_1/classes.rb', line 7290

def kind
  @kind
end

#next_page_tokenString

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

Returns:

  • (String)


7295
7296
7297
# File 'lib/google/apis/content_v2_1/classes.rb', line 7295

def next_page_token
  @next_page_token
end

#transactionsArray<Google::Apis::ContentV2_1::OrderReportTransaction>

The list of transactions. Corresponds to the JSON property transactions



7300
7301
7302
# File 'lib/google/apis/content_v2_1/classes.rb', line 7300

def transactions
  @transactions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7307
7308
7309
7310
7311
# File 'lib/google/apis/content_v2_1/classes.rb', line 7307

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