Class: Google::Apis::MerchantapiAccountsV1beta::OnDisplayToOrder
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiAccountsV1beta::OnDisplayToOrder
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_accounts_v1beta/classes.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb
Overview
Collection of information related to the on display to order (ODO).
Instance Attribute Summary collapse
-
#state ⇒ String
Output only.
-
#uri ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OnDisplayToOrder
constructor
A new instance of OnDisplayToOrder.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OnDisplayToOrder
Returns a new instance of OnDisplayToOrder.
2741 2742 2743 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2741 def initialize(**args) update!(**args) end |
Instance Attribute Details
#state ⇒ String
Output only. The state of the URI.
Corresponds to the JSON property state
2734 2735 2736 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2734 def state @state end |
#uri ⇒ String
Required. The on display to order (ODO) policy URI.
Corresponds to the JSON property uri
2739 2740 2741 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2739 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2746 2747 2748 2749 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2746 def update!(**args) @state = args[:state] if args.key?(:state) @uri = args[:uri] if args.key?(:uri) end |