C# Class CodeDojo.Model.Cashier

Afficher le fichier Open project: Betclic/CodingDojo-Katas Class Usage Examples

Méthodes publiques

Méthode Description
Add ( Product product ) : void
AddPromotion ( Promotion promotion ) : void
Cashier ( ) : System
Cashier ( string countryCode ) : System
ToString ( ) : string
Total ( ) : int

Private Methods

Méthode Description
GetRemise ( ) : int

Method Details

Add() public méthode

public Add ( Product product ) : void
product Product
Résultat void

AddPromotion() public méthode

public AddPromotion ( Promotion promotion ) : void
promotion Promotion
Résultat void

Cashier() public méthode

public Cashier ( ) : System
Résultat System

Cashier() public méthode

public Cashier ( string countryCode ) : System
countryCode string
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string

Total() public méthode

public Total ( ) : int
Résultat int