docs.unity3d.com
    Show / Hide Table of Contents

    Class ProductCatalogPayout

    Represents the definition of a payout in the product catalog.

    Inheritance
    Object
    ProductCatalogPayout
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.Purchasing
    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
    Int32

    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
    Int32

    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
    Back to top
    Terms of use
    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