Class: Google::Apis::ContentV2::OrdersGetByMerchantOrderIdResponse

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) ⇒ OrdersGetByMerchantOrderIdResponse

Returns a new instance of OrdersGetByMerchantOrderIdResponse



4176
4177
4178
# File 'generated/google/apis/content_v2/classes.rb', line 4176

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

Instance Attribute Details

#kindString

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

Returns:

  • (String)


4169
4170
4171
# File 'generated/google/apis/content_v2/classes.rb', line 4169

def kind
  @kind
end

#orderGoogle::Apis::ContentV2::Order

The requested order. Corresponds to the JSON property order



4174
4175
4176
# File 'generated/google/apis/content_v2/classes.rb', line 4174

def order
  @order
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4181
4182
4183
4184
# File 'generated/google/apis/content_v2/classes.rb', line 4181

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