Class: Google::Apis::ContentV2_1::AlternateDisputeResolution
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::AlternateDisputeResolution
- 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
The Alternate Dispute Resolution (ADR) that may be available to merchants in some regions. If present, the link should be shown on the same page as the list of issues.
Instance Attribute Summary collapse
-
#label ⇒ String
The label for the alternate dispute resolution link.
-
#uri ⇒ String
The URL pointing to a page, where merchant can request alternative dispute resolution with an external body.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AlternateDisputeResolution
constructor
A new instance of AlternateDisputeResolution.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AlternateDisputeResolution
Returns a new instance of AlternateDisputeResolution.
2418 2419 2420 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2418 def initialize(**args) update!(**args) end |
Instance Attribute Details
#label ⇒ String
The label for the alternate dispute resolution link.
Corresponds to the JSON property label
2409 2410 2411 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2409 def label @label end |
#uri ⇒ String
The URL pointing to a page, where merchant can request alternative dispute
resolution with an external body.
Corresponds to the JSON property uri
2416 2417 2418 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2416 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2423 2424 2425 2426 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2423 def update!(**args) @label = args[:label] if args.key?(:label) @uri = args[:uri] if args.key?(:uri) end |