Class: Google::Apis::ContentV2_1::InsertCheckoutSettingsRequest
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::InsertCheckoutSettingsRequest
- 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
Overview
Request message for the InsertCheckoutSettings
method.
Instance Attribute Summary collapse
-
#uri_settings ⇒ Google::Apis::ContentV2_1::UrlSettings
Specifications related to the
Checkout
URL.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InsertCheckoutSettingsRequest
constructor
A new instance of InsertCheckoutSettingsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InsertCheckoutSettingsRequest
Returns a new instance of InsertCheckoutSettingsRequest.
5512 5513 5514 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5512 def initialize(**args) update!(**args) end |
Instance Attribute Details
#uri_settings ⇒ Google::Apis::ContentV2_1::UrlSettings
Specifications related to the Checkout
URL. The UriTemplate
is of the form
https://www.mystore.com/checkout?item_id=
idwhere
id`will be
automatically replaced with data from the merchant account with this attribute
[offer_id](https://developers.google.com/shopping-content/reference/rest/v2.1/
products#Product.FIELDS.offer_id)
Corresponds to the JSON property
uriSettings`
5510 5511 5512 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5510 def uri_settings @uri_settings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5517 5518 5519 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5517 def update!(**args) @uri_settings = args[:uri_settings] if args.key?(:uri_settings) end |