Class: Google::Apis::ContentV2sandbox::OrdersGetByMerchantOrderIdResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2sandbox::OrdersGetByMerchantOrderIdResponse
- Defined in:
- generated/google/apis/content_v2sandbox/classes.rb,
generated/google/apis/content_v2sandbox/representations.rb,
generated/google/apis/content_v2sandbox/representations.rb
Instance Attribute Summary collapse
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#order ⇒ Google::Apis::ContentV2sandbox::Order
The requested 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
2178 2179 2180 |
# File 'generated/google/apis/content_v2sandbox/classes.rb', line 2178 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
2171 2172 2173 |
# File 'generated/google/apis/content_v2sandbox/classes.rb', line 2171 def kind @kind end |
#order ⇒ Google::Apis::ContentV2sandbox::Order
The requested order.
Corresponds to the JSON property order
2176 2177 2178 |
# File 'generated/google/apis/content_v2sandbox/classes.rb', line 2176 def order @order end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2183 2184 2185 2186 |
# File 'generated/google/apis/content_v2sandbox/classes.rb', line 2183 def update!(**args) @kind = args[:kind] if args.key?(:kind) @order = args[:order] if args.key?(:order) end |