docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AddProduct

    AddProduct(string, ProductType)

    Add a product to the configuration builder.

    Declaration
    public ConfigurationBuilder AddProduct(string id, ProductType type)
    Parameters
    Type Name Description
    string id

    The id of the product.

    ProductType type

    The type of the product.

    Returns
    Type Description
    ConfigurationBuilder

    The instance of the configuration builder with the new product added.

    AddProduct(string, ProductType, IDs)

    Add a product to the configuration builder.

    Declaration
    public ConfigurationBuilder AddProduct(string id, ProductType type, IDs storeIDs)
    Parameters
    Type Name Description
    string id

    The id of the product.

    ProductType type

    The type of the product.

    IDs storeIDs

    The object representing store IDs the product is to be added to.

    Returns
    Type Description
    ConfigurationBuilder

    The instance of the configuration builder with the new product added.

    AddProduct(string, ProductType, IDs, PayoutDefinition)

    Add a product to the configuration builder.

    Declaration
    public ConfigurationBuilder AddProduct(string id, ProductType type, IDs storeIDs, PayoutDefinition payout)
    Parameters
    Type Name Description
    string id

    The id of the product.

    ProductType type

    The type of the product.

    IDs storeIDs

    The object representing store IDs the product is to be added to.

    PayoutDefinition payout

    The payout definition of the product.

    Returns
    Type Description
    ConfigurationBuilder

    The instance of the configuration builder with the new product added.

    AddProduct(string, ProductType, IDs, IEnumerable<PayoutDefinition>)

    Add a product to the configuration builder.

    Declaration
    public ConfigurationBuilder AddProduct(string id, ProductType type, IDs storeIDs, IEnumerable<PayoutDefinition> payouts)
    Parameters
    Type Name Description
    string id

    The id of the product.

    ProductType type

    The type of the product.

    IDs storeIDs

    The object representing store IDs the product is to be added to.

    IEnumerable<PayoutDefinition> payouts

    The enumerator of the payout definitions of the product.

    Returns
    Type Description
    ConfigurationBuilder

    The instance of the configuration builder with the new product added.

    In This Article
    Back to top
    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