Class MakeVirtualPurchaseResult
Returned after making a virtual purchase and contains the Costs and Rewards associate with the purchase.
Inherited Members
Namespace: Unity.Services.Economy.Model
Assembly: Unity.Services.Economy.dll
Syntax
[Preserve]
public class MakeVirtualPurchaseResult
Constructors
MakeVirtualPurchaseResult(Costs, Rewards)
Declaration
[Preserve]
[JsonConstructor]
public MakeVirtualPurchaseResult(Costs costs, Rewards rewards)
Parameters
| Type | Name | Description |
|---|---|---|
| Costs | costs | |
| Rewards | rewards |
Fields
Costs
Represents the Costs that were spent in this purchase.
Declaration
[Preserve]
public Costs Costs
Field Value
| Type | Description |
|---|---|
| Costs |
Rewards
Represents the Rewards that were given in exchange for this purchase.
Declaration
[Preserve]
public Rewards Rewards
Field Value
| Type | Description |
|---|---|
| Rewards |