docs.unity3d.com
    Show / Hide Table of Contents

    Class MakeVirtualPurchaseResult

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

    Inheritance
    Object
    MakeVirtualPurchaseResult
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023