C# Class Kooboo.Commerce.Products.Product

Inheritance: ILocalizable
显示文件 Open project: Kooboo/Ecommerce Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
GetFinalPrice ( int variantId, ShoppingContext context ) : decimal
Product ( ) : System
SetCustomField ( string name, string value ) : void
SetCustomFields ( string>.IDictionary fieldValues ) : void
SetImages ( IEnumerable images ) : void

Method Details

GetFinalPrice() public method

public GetFinalPrice ( int variantId, ShoppingContext context ) : decimal
variantId int
context Kooboo.Commerce.Carts.ShoppingContext
return decimal

Product() public method

public Product ( ) : System
return System

SetCustomField() public method

public SetCustomField ( string name, string value ) : void
name string
value string
return void

SetCustomFields() public method

public SetCustomFields ( string>.IDictionary fieldValues ) : void
fieldValues string>.IDictionary
return void

SetImages() public method

public SetImages ( IEnumerable images ) : void
images IEnumerable
return void