Class PurchasesFetchFailureDescription
A model representing the failure to fetch preexisting purchases.
Inherited Members
Namespace: UnityEngine.Purchasing
Assembly: Unity.Purchasing.dll
Syntax
[Serializable]
public class PurchasesFetchFailureDescription
Constructors
PurchasesFetchFailureDescription(PurchasesFetchFailureReason, string)
Constructs the fetch failed object
Declaration
public PurchasesFetchFailureDescription(PurchasesFetchFailureReason reason, string message)
Parameters
Type | Name | Description |
---|---|---|
PurchasesFetchFailureReason | reason | The reason the fetch failed. |
string | message | The message describing why the fetch failed. |
Fields
failureReason
The reason why fetching purchases from the store failed. Indicates the specific type of failure that occurred during the fetch operation.
Declaration
public PurchasesFetchFailureReason failureReason
Field Value
Type | Description |
---|---|
PurchasesFetchFailureReason |
message
A detailed error message describing the failure. Provides additional context and information about what went wrong during the fetch operation.
Declaration
public string message
Field Value
Type | Description |
---|---|
string |
Properties
FailureReason
The reason the fetch failed. Read only.
Declaration
public PurchasesFetchFailureReason FailureReason { get; }
Property Value
Type | Description |
---|---|
PurchasesFetchFailureReason |
Message
The message describing why fetch failed. Read only.
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
string |