ProductOption class
Revision as of 06:23, 2 July 2020 by Administrator (talk | contribs)
ProductOption
Represents a Product.
Parent class
Inherits from object
Methods
- bool Buy(Order order "Order to add the purchase to", int amount "Number of items to add to order. Negative or 0 removes existing") - Purchase items
- ProductOrder Buy(Order order "Order to add the purchase to", int amount "Number of items to add to order. Negative or 0 removes existing", int unitCost "Cost per unit in points. 0 is equal to default price. If set, updates price for all existing also.") - Purchase items
- (From object) string ToString() - The string representation of the object.
Properties
- bool CanSell { get; } - Is there enough products available to buy 1. Return false if unable to add to order
- int Id { get; } - Id of the ProductOption
- string LocalizedName { get; } - Localized Name of the ProductOption
- Dictionary LocalizedNames { get; } - Localized Names of the ProductOption
- string ObjectTypeName { get; } - The name of the type of object.
- (From object) TypeInformation TypeInformation { get; } - Get information about this class.