Class: Google::Apis::ContentV2_1::OrdersGetByMerchantOrderIdResponse

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

Constructor Details

#initialize(**args) ⇒ OrdersGetByMerchantOrderIdResponse

Returns a new instance of OrdersGetByMerchantOrderIdResponse.



7364
7365
7366
# File 'generated/google/apis/content_v2_1/classes.rb', line 7364

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)


7356
7357
7358
# File 'generated/google/apis/content_v2_1/classes.rb', line 7356

def kind
  @kind
end

#orderGoogle::Apis::ContentV2_1::Order

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



7362
7363
7364
# File 'generated/google/apis/content_v2_1/classes.rb', line 7362

def order
  @order
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7369
7370
7371
7372
# File 'generated/google/apis/content_v2_1/classes.rb', line 7369

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