Class: Google::Apis::ContentV2_1::LiaOnDisplayToOrderSettings

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LiaOnDisplayToOrderSettings

Returns a new instance of LiaOnDisplayToOrderSettings.



3903
3904
3905
# File 'lib/google/apis/content_v2_1/classes.rb', line 3903

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)


3895
3896
3897
# File 'lib/google/apis/content_v2_1/classes.rb', line 3895

def shipping_cost_policy_url
  @shipping_cost_policy_url
end

#statusString

The status of the ?On display to order? feature. Acceptable values are: - " active" - "inactive" - "pending" Corresponds to the JSON property status

Returns:

  • (String)


3901
3902
3903
# File 'lib/google/apis/content_v2_1/classes.rb', line 3901

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3908
3909
3910
3911
# File 'lib/google/apis/content_v2_1/classes.rb', line 3908

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