C# Class CodeDojo.Model.Cashier

显示文件 Open project: Betclic/CodingDojo-Katas Class Usage Examples

Public Methods

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

Private Methods

Method Description
GetRemise ( ) : int

Method Details

Add() public method

public Add ( Product product ) : void
product Product
return void

AddPromotion() public method

public AddPromotion ( Promotion promotion ) : void
promotion Promotion
return void

Cashier() public method

public Cashier ( ) : System
return System

Cashier() public method

public Cashier ( string countryCode ) : System
countryCode string
return System

ToString() public method

public ToString ( ) : string
return string

Total() public method

public Total ( ) : int
return int