docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ProductCatalogPayout

    Represents the definition of a payout in the product catalog.

    Inheritance
    object
    ProductCatalogPayout
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Purchasing
    Assembly: Unity.Purchasing.dll
    Syntax
    [Serializable]
    public class ProductCatalogPayout

    Fields

    MaxDataLength

    The maximum byte length of the payout data when serialized.

    Declaration
    public const int MaxDataLength = 1024
    Field Value
    Type Description
    int

    MaxSubtypeLength

    The maximum string length of the subtype for the "Other" payout type or any type requiring specification of a subtype.

    Declaration
    public const int MaxSubtypeLength = 64
    Field Value
    Type Description
    int

    Properties

    data

    The raw data of the payout.

    Declaration
    public string data { get; set; }
    Property Value
    Type Description
    string

    quantity

    The quantity of payout.

    Declaration
    public double quantity { get; set; }
    Property Value
    Type Description
    double

    subtype

    The custom name for a subtype for the "Other" payout type.

    Declaration
    public string subtype { get; set; }
    Property Value
    Type Description
    string

    type

    The type of the payout of the product.

    Declaration
    public ProductCatalogPayout.ProductCatalogPayoutType type { get; set; }
    Property Value
    Type Description
    ProductCatalogPayout.ProductCatalogPayoutType

    typeString

    ProductCatalogPayoutType as a string.

    Declaration
    public string typeString { get; }
    Property Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2025 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)