Class MakeVirtualPurchaseResult
Returned after making a virtual purchase and contains the Costs and Rewards associate with the purchase.
Namespace: Unity.Services.Economy.Model
Syntax
public class MakeVirtualPurchaseResult : object
Constructors
MakeVirtualPurchaseResult(Costs, Rewards)
Declaration
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
public Costs Costs
Field Value
| Type | Description |
|---|---|
| Costs |
Rewards
Represents the Rewards that were given in exchange for this purchase.
Declaration
public Rewards Rewards
Field Value
| Type | Description |
|---|---|
| Rewards |