C# Class ClassLibrary.Tests.OrderServicesTests_Manual.SimpleDataAccess

Inheritance: IDataAccess
Show file Open project: snahider/Test-Automation-NET

Public Properties

Property Type Description
CouponPercentage int
OrderSaved ClassLibrary.Order

Public Methods

Method Description
GetOrder ( int id ) : Order
GetPromotionalDiscount ( string coupon ) : int
SaveOrder ( Order order ) : void

Method Details

GetOrder() public method

public GetOrder ( int id ) : Order
id int
return ClassLibrary.Order

GetPromotionalDiscount() public method

public GetPromotionalDiscount ( string coupon ) : int
coupon string
return int

SaveOrder() public method

public SaveOrder ( Order order ) : void
order ClassLibrary.Order
return void

Property Details

CouponPercentage public property

public int CouponPercentage
return int

OrderSaved public property

public Order,ClassLibrary OrderSaved
return ClassLibrary.Order