C# Class ModernWebStore.Domain.Scopes.OrderItemScopes

ファイルを表示 Open project: andrebaltieri/mwa-api

Public Methods

Method Description
AddProductScopeIsValid ( this orderItem, Product product, decimal price, int quantity ) : bool
RegisterOrderItemScopeIsValid ( this orderItem ) : bool

Method Details

AddProductScopeIsValid() public static method

public static AddProductScopeIsValid ( this orderItem, Product product, decimal price, int quantity ) : bool
orderItem this
product ModernWebStore.Domain.Entities.Product
price decimal
quantity int
return bool

RegisterOrderItemScopeIsValid() public static method

public static RegisterOrderItemScopeIsValid ( this orderItem ) : bool
orderItem this
return bool