Class ProductFetchFailureDescription
Represents a failed product fetch as described by a product service.
Inherited Members
Namespace: UnityEngine .Purchasing
Assembly: Unity.Purchasing.dll
Syntax
[Serializable]
public class ProductFetchFailureDescription
Constructors
ProductFetchFailureDescription(ProductFetchFailureReason, string, bool)
Parametrized Constructor.
Declaration
public ProductFetchFailureDescription(ProductFetchFailureReason reason, string message, bool isRetryable = false)
Parameters
Type | Name | Description |
---|---|---|
Product |
reason | The reason for the product fetch failure |
string | message | The message containing details about the product fetch failure. |
bool | isRetryable | Specifies if the query can be retried. |
Fields
isRetryable
Declaration
public bool isRetryable
Field Value
Type | Description |
---|---|
bool |
message
Declaration
public string message
Field Value
Type | Description |
---|---|
string |
reason
Declaration
public ProductFetchFailureReason reason
Field Value
Type | Description |
---|---|
Product |
Properties
IsRetryable
Specifies if the request is retryable.
Declaration
public bool IsRetryable { get; }
Property Value
Type | Description |
---|---|
bool |
Message
The message containing details about the failed product fetch.
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
string |
Reason
The reason for the failure.
Declaration
public ProductFetchFailureReason Reason { get; }
Property Value
Type | Description |
---|---|
Product |