Class: Google::Apis::ContentV2::LiaOnDisplayToOrderSettings

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LiaOnDisplayToOrderSettings

Returns a new instance of LiaOnDisplayToOrderSettings.



3472
3473
3474
# File 'generated/google/apis/content_v2/classes.rb', line 3472

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#shipping_cost_policy_urlString

Shipping cost and policy URL. Corresponds to the JSON property shippingCostPolicyUrl

Returns:

  • (String)


3465
3466
3467
# File 'generated/google/apis/content_v2/classes.rb', line 3465

def shipping_cost_policy_url
  @shipping_cost_policy_url
end

#statusString

The status of the ?On display to order? feature. Corresponds to the JSON property status

Returns:

  • (String)


3470
3471
3472
# File 'generated/google/apis/content_v2/classes.rb', line 3470

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3477
3478
3479
3480
# File 'generated/google/apis/content_v2/classes.rb', line 3477

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