Class: Google::Apis::ContentV2_1::AlternateDisputeResolution

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

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

Instance Method Summary collapse

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

#labelString

The label for the alternate dispute resolution link. Corresponds to the JSON property label

Returns:

  • (String)


2409
2410
2411
# File 'lib/google/apis/content_v2_1/classes.rb', line 2409

def label
  @label
end

#uriString

The URL pointing to a page, where merchant can request alternative dispute resolution with an external body. Corresponds to the JSON property uri

Returns:

  • (String)


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