docs.unity3d.com
    Show / Hide Table of Contents

    Class LocalPricingEngineData

    Class LocalPricingEngineData.

    Inheritance
    Object
    Object
    ScriptableObject
    LocalPricingEngineData
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, Boolean)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
    Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindObjectOfType(Type, Boolean)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: UnityEngine.Industrial.Configuring.Providers
    Syntax
    [CreateAssetMenu(menuName = "Forma/Runtime UI/Local PriceEngine Data", fileName = "PriceEngineData", order = 3)]
    public class LocalPricingEngineData : ScriptableObject

    Fields

    context

    The context

    Declaration
    public Context context
    Field Value
    Type Description
    Context

    customCurrenyCulture

    The custom curreny culture

    Declaration
    [Tooltip("Currency culture, such as; 'en-US' or 'de-DE' ... If left empty current culture will be used")]
    public string customCurrenyCulture
    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 product, Context context)
    Parameters
    Type Name Description
    Product product

    The product.

    Context context

    The context.

    UpdateData(Product, Context)

    Updates the data.

    Declaration
    public void UpdateData(Product product, Context context)
    Parameters
    Type Name Description
    Product product

    The product.

    Context context

    The context.

    Exceptions
    Type Condition
    ArgumentException

    Cannot update the pricing info for a different product.

    ArgumentException

    Cannot update the pricing info for a different context.

    ArgumentException

    Cannot update the pricing info for a different product.

    ArgumentException

    Cannot update the pricing info for a different context.

    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