docs.unity.cn
    Show / Hide Table of Contents

    Class ProductCatalogPayout

    Represents the definition of a payout in the product catalog.

    Inheritance
    Object
    ProductCatalogPayout
    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 Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 20 April 2021