Class: Google::Apis::ContentV2_1::OrdersGetByMerchantOrderIdResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::OrdersGetByMerchantOrderIdResponse
- 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
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#order ⇒ Google::Apis::ContentV2_1::Order
Order.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OrdersGetByMerchantOrderIdResponse
constructor
A new instance of OrdersGetByMerchantOrderIdResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OrdersGetByMerchantOrderIdResponse
Returns a new instance of OrdersGetByMerchantOrderIdResponse.
8398 8399 8400 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 8398 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "content#
ordersGetByMerchantOrderIdResponse".
Corresponds to the JSON property kind
8390 8391 8392 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 8390 def kind @kind end |
#order ⇒ Google::Apis::ContentV2_1::Order
Order. Production access (all methods) requires the order manager role.
Sandbox access does not.
Corresponds to the JSON property order
8396 8397 8398 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 8396 def order @order end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8403 8404 8405 8406 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 8403 def update!(**args) @kind = args[:kind] if args.key?(:kind) @order = args[:order] if args.key?(:order) end |