Show / Hide Table of Contents

Class Action.Types.Reason

A single reason why the action is not available.

Inheritance
object
Action.Types.Reason
Implements
IMessage<Action.Types.Reason>
IEquatable<Action.Types.Reason>
IDeepCloneable<Action.Types.Reason>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Merchant.IssueResolution.V1
Assembly: Google.Shopping.Merchant.IssueResolution.V1.dll
Syntax
public sealed class Action.Types.Reason : IMessage<Action.Types.Reason>, IEquatable<Action.Types.Reason>, IDeepCloneable<Action.Types.Reason>, IBufferMessage, IMessage

Constructors

Reason()

Declaration
public Reason()

Reason(Reason)

Declaration
public Reason(Action.Types.Reason other)
Parameters
Type Name Description
Action.Types.Reason other

Properties

Action

Optional. An action that needs to be performed to solve the problem represented by this reason. This action will always be available. Should be rendered as a link or button next to the summarizing message.

For example, the review may be available only once the business configure all required attributes. In such a situation this action can be a link to the form, where they can fill the missing attribute to unblock the main action.

Declaration
public Action Action { get; set; }
Property Value
Type Description
Action

Detail

Detailed explanation of the reason. Should be displayed as a hint if present.

Declaration
public string Detail { get; set; }
Property Value
Type Description
string

HasDetail

Gets whether the "detail" field is set

Declaration
public bool HasDetail { get; }
Property Value
Type Description
bool

Message

Messages summarizing the reason, why the action is not available. For example: "Review requested on Jan 03. Review requests can take a few days to complete."

Declaration
public string Message { get; set; }
Property Value
Type Description
string
In this article
Back to top Generated by DocFX