Class: Google::Apis::ContentV2_1::OrdersGetByMerchantOrderIdResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::OrdersGetByMerchantOrderIdResponse
- 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
-
#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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ OrdersGetByMerchantOrderIdResponse
Returns a new instance of OrdersGetByMerchantOrderIdResponse
5264 5265 5266 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 5264 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
5257 5258 5259 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 5257 def kind @kind end |
#order ⇒ Google::Apis::ContentV2_1::Order
Order. All methods require the order manager role.
Corresponds to the JSON property order
5262 5263 5264 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 5262 def order @order end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5269 5270 5271 5272 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 5269 def update!(**args) @kind = args[:kind] if args.key?(:kind) @order = args[:order] if args.key?(:order) end |