Class: Google::Apis::ContentV2_1::RenderProductIssuesResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::RenderProductIssuesResponse
- 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 product issues.
Instance Attribute Summary collapse
-
#alternate_dispute_resolution ⇒ Google::Apis::ContentV2_1::AlternateDisputeResolution
The Alternate Dispute Resolution (ADR) that may be available to merchants in some regions.
-
#issues ⇒ Array<Google::Apis::ContentV2_1::ProductIssue>
List of issues for a given product.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RenderProductIssuesResponse
constructor
A new instance of RenderProductIssuesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RenderProductIssuesResponse
Returns a new instance of RenderProductIssuesResponse.
12050 12051 12052 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12050 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alternate_dispute_resolution ⇒ Google::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
12040 12041 12042 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12040 def alternate_dispute_resolution @alternate_dispute_resolution end |
#issues ⇒ Array<Google::Apis::ContentV2_1::ProductIssue>
List of issues for a given product. 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
12048 12049 12050 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12048 def issues @issues end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12055 12056 12057 12058 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12055 def update!(**args) @alternate_dispute_resolution = args[:alternate_dispute_resolution] if args.key?(:alternate_dispute_resolution) @issues = args[:issues] if args.key?(:issues) end |