v3.1.2
2020.3+

Class MakeVirtualPurchaseResult

Returned after making a virtual purchase and contains the Costs and Rewards associate with the purchase.

Inheritance
MakeVirtualPurchaseResult
Namespace: Unity.Services.Economy.Model
Syntax
[Preserve]
public class MakeVirtualPurchaseResult

Constructors

MakeVirtualPurchaseResult(Costs, Rewards)

Declaration
[Preserve]
public MakeVirtualPurchaseResult(Costs costs, Rewards rewards)
Parameters
TypeNameDescription
Costscosts
Rewardsrewards

Fields

Costs

Represents the Costs that were spent in this purchase.

Declaration
[Preserve]
public Costs Costs
Field Value
TypeDescription
Costs

Rewards

Represents the Rewards that were given in exchange for this purchase.

Declaration
[Preserve]
public Rewards Rewards
Field Value
TypeDescription
Rewards