Class PricingEngineReply
Answer from the pricing engine.
Namespace: UnityEngine.Industrial.Configuring.Providers
Syntax
public class PricingEngineReply : ProviderReply<PricingEngineReplyStatus>
Constructors
PricingEngineReply(PricingEngineReplyStatus, IReadOnlyDictionary<Feature, PriceInformation>, PriceInformation)
Constructor with all attributes to initialize.
Declaration
public PricingEngineReply(PricingEngineReplyStatus status, IReadOnlyDictionary<Feature, PriceInformation> featurePriceInformation, PriceInformation totalPriceInformation)
Parameters
Type | Name | Description |
---|---|---|
PricingEngineReplyStatus | status | Status of the reply. |
IReadOnlyDictionary<Feature, PriceInformation> | featurePriceInformation | Price information for each feature |
PriceInformation | totalPriceInformation | Total price for the current configuration |
Properties
featurePriceInformation
List of price information for features.
Declaration
public IReadOnlyDictionary<Feature, PriceInformation> featurePriceInformation { get; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<Feature, PriceInformation> | The feature price information. |
status
Status if pricing engine reply.
Declaration
public PricingEngineReplyStatus status { get; }
Property Value
Type | Description |
---|---|
PricingEngineReplyStatus | The status. |
totalPriceInformation
Total price information, e.g., the total price for the current configuration.
Declaration
public PriceInformation totalPriceInformation { get; }
Property Value
Type | Description |
---|---|
PriceInformation | The total price information. |