C# Class RefactoringGolf.Store.Order

Afficher le fichier Open project: snahider/Refactoring-Golf Class Usage Examples

Méthodes publiques

Méthode Description
Order ( Customer customer, Salesman salesman, string deliveryStreet, string deliveryCity, string deliveryCountry, System.DateTime orderedOn ) : System
Total ( ) : decimal

Private Methods

Méthode Description
Shipping ( ) : int
Tax ( decimal totalItems ) : decimal
TotalItems ( ) : decimal

Method Details

Order() public méthode

public Order ( Customer customer, Salesman salesman, string deliveryStreet, string deliveryCity, string deliveryCountry, System.DateTime orderedOn ) : System
customer Customer
salesman Salesman
deliveryStreet string
deliveryCity string
deliveryCountry string
orderedOn System.DateTime
Résultat System

Total() public méthode

public Total ( ) : decimal
Résultat decimal