Class: Google::Apis::ContentV2::LiaOnDisplayToOrderSettings
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::LiaOnDisplayToOrderSettings
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2/classes.rb,
lib/google/apis/content_v2/representations.rb,
lib/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
-
#shipping_cost_policy_url ⇒ String
Shipping cost and policy URL.
-
#status ⇒ String
The status of the ?On display to order? feature.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LiaOnDisplayToOrderSettings
constructor
A new instance of LiaOnDisplayToOrderSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LiaOnDisplayToOrderSettings
Returns a new instance of LiaOnDisplayToOrderSettings.
3175 3176 3177 |
# File 'lib/google/apis/content_v2/classes.rb', line 3175 def initialize(**args) update!(**args) end |
Instance Attribute Details
#shipping_cost_policy_url ⇒ String
Shipping cost and policy URL.
Corresponds to the JSON property shippingCostPolicyUrl
3167 3168 3169 |
# File 'lib/google/apis/content_v2/classes.rb', line 3167 def shipping_cost_policy_url @shipping_cost_policy_url end |
#status ⇒ String
The status of the ?On display to order? feature. Acceptable values are: - "
active
" - "inactive
" - "pending
"
Corresponds to the JSON property status
3173 3174 3175 |
# File 'lib/google/apis/content_v2/classes.rb', line 3173 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3180 3181 3182 3183 |
# File 'lib/google/apis/content_v2/classes.rb', line 3180 def update!(**args) @shipping_cost_policy_url = args[:shipping_cost_policy_url] if args.key?(:shipping_cost_policy_url) @status = args[:status] if args.key?(:status) end |