Created
March 19, 2017 17:38
-
-
Save angelovstanton/82b785a6ce5a9dffdc2d4e1b86caa160 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var itemUrl = "/Selenium-Testing-Cookbook-Gundecha-Unmesh/dp/1849515743"; | |
var itemPrice = "40.49"; | |
var clientPurchaseInfo = new ClientPurchaseInfo( | |
new ClientAddressInfo() | |
{ | |
FullName = "John Smith", | |
Country = "United States", | |
Address1 = "950 Avenue of the Americas", | |
State = "New York", | |
City = "New York City", | |
Zip = "10001-2121", | |
Phone = "00164644885569" | |
}); | |
clientPurchaseInfo.CouponCode = "99PERDIS"; | |
var clientLoginInfo = new ClientLoginInfo() | |
{ | |
Email = "g3984159@trbvm.com", | |
Password = "ASDFG_12345" | |
}; | |
var shoppingCart = container.Resolve<ShoppingCart>(); | |
shoppingCart.PurchaseItem(itemUrl, itemPrice, clientLoginInfo, clientPurchaseInfo); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment