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.



2370
2371
2372
# File 'lib/google/apis/content_v2_1/classes.rb', line 2370

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)


2361
2362
2363
# File 'lib/google/apis/content_v2_1/classes.rb', line 2361

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)


2368
2369
2370
# File 'lib/google/apis/content_v2_1/classes.rb', line 2368

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2375
2376
2377
2378
# File 'lib/google/apis/content_v2_1/classes.rb', line 2375

def update!(**args)
  @label = args[:label] if args.key?(:label)
  @uri = args[:uri] if args.key?(:uri)
end