v3.1.2
2020.3+
Class MakeVirtualPurchaseResult
Returned after making a virtual purchase and contains the Costs and Rewards associate with the purchase.
Namespace: Unity.Services.Economy.Model
Syntax
[Preserve]
public class MakeVirtualPurchaseResult
Constructors
MakeVirtualPurchaseResult(Costs, Rewards)
Declaration
[Preserve]
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 |