Class: Google::Apis::ContentV2_1::RenderAccountIssuesResponse

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

Response containing support content and actions for listed account issues.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RenderAccountIssuesResponse

Returns a new instance of RenderAccountIssuesResponse.



12001
12002
12003
# File 'lib/google/apis/content_v2_1/classes.rb', line 12001

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#alternate_dispute_resolutionGoogle::Apis::ContentV2_1::AlternateDisputeResolution

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. Corresponds to the JSON property alternateDisputeResolution



11991
11992
11993
# File 'lib/google/apis/content_v2_1/classes.rb', line 11991

def alternate_dispute_resolution
  @alternate_dispute_resolution
end

#issuesArray<Google::Apis::ContentV2_1::AccountIssue>

List of account issues for a given account. This list can be shown with compressed, expandable items. In the compressed form, the title and impact should be shown for each issue. Once the issue is expanded, the detailed content and available actions should be rendered. Corresponds to the JSON property issues



11999
12000
12001
# File 'lib/google/apis/content_v2_1/classes.rb', line 11999

def issues
  @issues
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12006
12007
12008
12009
# File 'lib/google/apis/content_v2_1/classes.rb', line 12006

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