subject

Write a program for the following scenario. It should take between 30 minutes to 1 hour to write this code. Your code needs to process an order placed by a user. Order is for a single product. Check inventory of the product from a persistent store. bool Check Inventory(string productId, int qty) If there are enough quantities in the store, a. Call a 3rd party payment service to verify the credit card info. For simplicity assume incoming Order contains user's credit card. Payment gateway has the following service interface. Every time we call this interface they charge us a fee! bool ChargePayment(string credit Card Number, decimal amount) b. Send an e-mail to shipping department instructing them to ship the order. Do not send real emails, while running your tests. You are expected to write unit tests. Do not write full scale implementations for data access, web services.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:00
During physical science class ben and jerry connected three identical lightbulbs in parallel to a battery where happens when ben removes one of the lightbulbs from it’s socket
Answers: 2
question
Computers and Technology, 22.06.2019 23:30
Which of the following is not a symptom of chronic fatigue syndrome
Answers: 2
question
Computers and Technology, 22.06.2019 23:30
What does 21 pilots middle aged name as a band 15 years prior to them naming their band 21 pilots?
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Open this link after reading about ana's situation. complete each sentence using the drop-downs. ana would need a minimum of ato work as a translator. according to job outlook information, the number of jobs for translators willin the future.
Answers: 3
You know the right answer?
Write a program for the following scenario. It should take between 30 minutes to 1 hour to write thi...
Questions
question
Mathematics, 14.11.2019 04:31
question
Mathematics, 14.11.2019 04:31
question
History, 14.11.2019 04:31
Questions on the website: 13722363