docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RealMoneyPurchaseResourceRequest

    RealMoneyPurchaseResourceRequest

    Inheritance
    object
    RealMoneyPurchaseResourceRequest
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Apis.Admin.Economy
    Assembly: Unity.Services.Apis.dll
    Syntax
    [DataContract(Name = "real-money-purchase-resource-request")]
    [Preserve]
    public class RealMoneyPurchaseResourceRequest

    Constructors

    RealMoneyPurchaseResourceRequest(string, string, TypeEnum, RealMoneyPurchaseItemRequestStoreIdentifiers, List<RealMoneyPurchaseResourceRequestRewardsInner>, object)

    Initializes a new instance of the RealMoneyPurchaseResourceRequest class.

    Declaration
    [Preserve]
    public RealMoneyPurchaseResourceRequest(string id = null, string name = null, RealMoneyPurchaseResourceRequest.TypeEnum type = (RealMoneyPurchaseResourceRequest.TypeEnum)0, RealMoneyPurchaseItemRequestStoreIdentifiers storeIdentifiers = null, List<RealMoneyPurchaseResourceRequestRewardsInner> rewards = null, object customData = null)
    Parameters
    Type Name Description
    string id

    ID of the resource. (required).

    string name

    A descriptive name for the resource. (required).

    RealMoneyPurchaseResourceRequest.TypeEnum type

    type (required).

    RealMoneyPurchaseItemRequestStoreIdentifiers storeIdentifiers

    storeIdentifiers (required).

    List<RealMoneyPurchaseResourceRequestRewardsInner> rewards

    The rewards credited to the player when making the purchase. A reward is an ID of a currency or inventory item, an amount and default instance data for inventory items. An item can be used in more than one reward line..

    object customData

    Max size when serialised 5 kilobits..

    Properties

    CustomData

    Max size when serialised 5 kilobits.

    Declaration
    [DataMember(Name = "customData", EmitDefaultValue = true)]
    [Preserve]
    public object CustomData { get; set; }
    Property Value
    Type Description
    object

    Max size when serialised 5 kilobits.

    Id

    ID of the resource.

    Declaration
    [DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public string Id { get; set; }
    Property Value
    Type Description
    string

    ID of the resource.

    Name

    A descriptive name for the resource.

    Declaration
    [DataMember(Name = "name", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public string Name { get; set; }
    Property Value
    Type Description
    string

    A descriptive name for the resource.

    Rewards

    The rewards credited to the player when making the purchase. A reward is an ID of a currency or inventory item, an amount and default instance data for inventory items. An item can be used in more than one reward line.

    Declaration
    [DataMember(Name = "rewards", EmitDefaultValue = false)]
    [Preserve]
    public List<RealMoneyPurchaseResourceRequestRewardsInner> Rewards { get; set; }
    Property Value
    Type Description
    List<RealMoneyPurchaseResourceRequestRewardsInner>

    The rewards credited to the player when making the purchase. A reward is an ID of a currency or inventory item, an amount and default instance data for inventory items. An item can be used in more than one reward line.

    StoreIdentifiers

    Gets or Sets StoreIdentifiers

    Declaration
    [DataMember(Name = "storeIdentifiers", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public RealMoneyPurchaseItemRequestStoreIdentifiers StoreIdentifiers { get; set; }
    Property Value
    Type Description
    RealMoneyPurchaseItemRequestStoreIdentifiers

    Type

    Gets or Sets Type

    Declaration
    [DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public RealMoneyPurchaseResourceRequest.TypeEnum Type { get; set; }
    Property Value
    Type Description
    RealMoneyPurchaseResourceRequest.TypeEnum
    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)