docs.unity3d.com
Search Results for

    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.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)