docs.unity3d.com
    Show / Hide Table of Contents

    Class ProductLocalPrice

    Class ProductLocalPrice.

    Inheritance
    Object
    ProductLocalPrice
    Namespace: Unity.Industrial.Forma.Core.Pricing
    Syntax
    public class ProductLocalPrice : MonoBehaviour

    Fields

    context

    The context

    Declaration
    public Context context
    Field Value
    Type Description
    Context

    customCurrencyCulture

    The custom currency culture

    Declaration
    public string customCurrencyCulture
    Field Value
    Type Description
    String

    defaultPrice

    The default price

    Declaration
    public double defaultPrice
    Field Value
    Type Description
    Double

    featureSetPrices

    The feature set prices

    Declaration
    public List<FeatureSetPrice> featureSetPrices
    Field Value
    Type Description
    List<FeatureSetPrice>

    product

    The product

    Declaration
    public Product product
    Field Value
    Type Description
    Product

    Properties

    CultureInfo

    Gets the culture information.

    Declaration
    public CultureInfo CultureInfo { get; }
    Property Value
    Type Description
    CultureInfo

    The culture information.

    Methods

    Generate(Product, Context)

    Generates the specified product.

    Declaration
    public void Generate(Product productArg, Context contextArg)
    Parameters
    Type Name Description
    Product productArg

    The product.

    Context contextArg

    The context.

    InitializeFromJson(String)

    Declaration
    public void InitializeFromJson(string jsonData)
    Parameters
    Type Name Description
    String jsonData

    ToJson()

    Declaration
    public string ToJson()
    Returns
    Type Description
    String

    UpdateData(Product, Context)

    Updates the data.

    Declaration
    public void UpdateData(Product productArg, Context contextArg)
    Parameters
    Type Name Description
    Product productArg

    The product.

    Context contextArg

    The context.

    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