C# Class KnowYourTurf.Core.Domain.Vendor

Inheritance: DomainEntity
Exibir arquivo Open project: reharik/KnowYourTurf Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AddContact ( VendorContact contact ) : void
AddProduct ( BaseProduct product ) : void
AddPurchaseOrder ( PurchaseOrder purchaseOrder ) : void
AmountOfSubTotalForPurchaseOrder ( long purchaseOrderId ) : decimal
ClearProducts ( ) : void
GetAllProductsOfType ( string productType ) : IEnumerable
GetCompletedPurchaseOrders ( ) : IEnumerable
GetContacts ( ) : IEnumerable
GetProducts ( ) : IEnumerable
GetPurchaseOrderInProcess ( ) : IEnumerable
GetPurchaseOrders ( ) : IEnumerable
PurchaseOrderHasBeenCompleted ( long purchaseOrderId ) : bool
RemoveContact ( VendorContact contact ) : void
RemoveProduct ( BaseProduct product ) : void
RemovePurchaseOrder ( PurchaseOrder purchaseOrder ) : void
TotalAmountDueForPurchaseOrder ( long purchaseOrderId ) : decimal
TotalTaxForPurchaseOrder ( long purchaseOrderId ) : decimal

Method Details

AddContact() public method

public AddContact ( VendorContact contact ) : void
contact VendorContact
return void

AddProduct() public method

public AddProduct ( BaseProduct product ) : void
product BaseProduct
return void

AddPurchaseOrder() public method

public AddPurchaseOrder ( PurchaseOrder purchaseOrder ) : void
purchaseOrder PurchaseOrder
return void

AmountOfSubTotalForPurchaseOrder() public method

public AmountOfSubTotalForPurchaseOrder ( long purchaseOrderId ) : decimal
purchaseOrderId long
return decimal

ClearProducts() public method

public ClearProducts ( ) : void
return void

GetAllProductsOfType() public method

public GetAllProductsOfType ( string productType ) : IEnumerable
productType string
return IEnumerable

GetCompletedPurchaseOrders() public method

public GetCompletedPurchaseOrders ( ) : IEnumerable
return IEnumerable

GetContacts() public method

public GetContacts ( ) : IEnumerable
return IEnumerable

GetProducts() public method

public GetProducts ( ) : IEnumerable
return IEnumerable

GetPurchaseOrderInProcess() public method

public GetPurchaseOrderInProcess ( ) : IEnumerable
return IEnumerable

GetPurchaseOrders() public method

public GetPurchaseOrders ( ) : IEnumerable
return IEnumerable

PurchaseOrderHasBeenCompleted() public method

public PurchaseOrderHasBeenCompleted ( long purchaseOrderId ) : bool
purchaseOrderId long
return bool

RemoveContact() public method

public RemoveContact ( VendorContact contact ) : void
contact VendorContact
return void

RemoveProduct() public method

public RemoveProduct ( BaseProduct product ) : void
product BaseProduct
return void

RemovePurchaseOrder() public method

public RemovePurchaseOrder ( PurchaseOrder purchaseOrder ) : void
purchaseOrder PurchaseOrder
return void

TotalAmountDueForPurchaseOrder() public method

public TotalAmountDueForPurchaseOrder ( long purchaseOrderId ) : decimal
purchaseOrderId long
return decimal

TotalTaxForPurchaseOrder() public method

public TotalTaxForPurchaseOrder ( long purchaseOrderId ) : decimal
purchaseOrderId long
return decimal