Class: Google::Apis::ContentV2::OrdersGetByMerchantOrderIdResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::OrdersGetByMerchantOrderIdResponse
- Defined in:
- generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#order ⇒ Google::Apis::ContentV2::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.
6838 6839 6840 |
# File 'generated/google/apis/content_v2/classes.rb', line 6838 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
6830 6831 6832 |
# File 'generated/google/apis/content_v2/classes.rb', line 6830 def kind @kind end |
#order ⇒ Google::Apis::ContentV2::Order
Order. Production access (all methods) requires the order manager role.
Sandbox access does not.
Corresponds to the JSON property order
6836 6837 6838 |
# File 'generated/google/apis/content_v2/classes.rb', line 6836 def order @order end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6843 6844 6845 6846 |
# File 'generated/google/apis/content_v2/classes.rb', line 6843 def update!(**args) @kind = args[:kind] if args.key?(:kind) @order = args[:order] if args.key?(:order) end |