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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OrdersGetByMerchantOrderIdResponse

Returns a new instance of OrdersGetByMerchantOrderIdResponse.



6743
6744
6745
# File 'lib/google/apis/content_v2/classes.rb', line 6743

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)


6735
6736
6737
# File 'lib/google/apis/content_v2/classes.rb', line 6735

def kind
  @kind
end

#orderGoogle::Apis::ContentV2::Order

Order. Production access (all methods) requires the order manager role. Sandbox access does not. Corresponds to the JSON property order



6741
6742
6743
# File 'lib/google/apis/content_v2/classes.rb', line 6741

def order
  @order
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6748
6749
6750
6751
# File 'lib/google/apis/content_v2/classes.rb', line 6748

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