Continuing the problem statement, requirements, use cases, Sequence Diagram and Activity Diagram, you are now tasked with creating Class Diagram and State Diagram.

computer science

Description

Assignment 5

 

Objective:

Continuing the problem statement, requirements, use cases, Sequence Diagram and Activity Diagram, you are now tasked with creating Class Diagram and State Diagram.

 

Submission:

One file, PDF or Word doc, that has the UML diagrams (export from draw.io or similar tool) and a list of assumptions you have made while modelling. There are 10 marks allocated to meet submission standards.

 

Problem Statement:

Amazon Search, eBay, FlipKart, SnapDeal, and Bestbuy have historically all provided great deals to customers. However, customers have to search across the different sites to find the best price and to get a holistic view of all products that are in the market and / or sold specifically at a certain site. This results in customers spending a lot of time finding a product of their choice.

 

Summary:

"Mashup Buy" is a Mobile app that uses the Amazon, eBay, FlipKart, SnapDeal, and BestBuy data and "stitches" together products from the above platforms into one site. The Mobile app will allow customers to search for a product on "Mashup Buy" which will then, behind the scenes, search on the different platforms. If the user likes what they see, "Mashup Buy" will use Stripe to take funds from the customer's credit card, and then request the platform to facilitate buy.

 

1.0.0. Purchase Item

 

Goals

 

·         To use Stripe for Payment Processing and using Amazon Search, eBay, FlipKart, SnapDeal, and Bestbuy for item purchases.

 

Pre-Conditions

·         User is online

·         User is logged in

 

Assumptions

 

·         User has sufficient balance on their credit card

·         There will be no fee to use "Mashup Buy"

·         Only Canadian Dollar transactions will be supported in MVP1

·         The User has an eligible Visa Debit or Credit card

·         The Card account has sufficient balance to purchase 

·         Card details will not be masked as it is entered

·         There will be no velocity limits

·         No new Disaster Recovery requirements

·         Stripe API will be used to facilitate payments

·         Stripe: Card.createToken API will be used to generate a token/synthetic ID for the payment card (https://stripe.com/docs/stripe-js/v2#card-createToken)

·         Stripe: Charges API will be used to process payment based on the token

·         Amazon Search, eBay, FlipKart, SnapDeal, Bestbuy API will have APIs that facilitate search, purchase+shipping

·         Amazon Search, eBay, FlipKart, SnapDeal, Bestbuy system availability is 99.99%

·         If one platform is not available, then the system will continue searching on the next platform

·         Once purchase has been made, the transaction cannot be cancelled and funds cannot be returned or reversed back to the gift card or credit card

·         Note: You do NOT need to understand the APIs offered by Stripe, Amazon, eBay, FlipKart, SnapDeal, and Bestbuy. Instead, you can assume that they have the below APIs:

o    Stripe:

§  POST /processTransaction/

§  Request (example):

{

 "cardNum": "4520895489039999",

 "expiry": "10/2022",

  "cvv": "123",

  "name": "John Doe",

  "amount": "$45.00"

}

§  Response (example):

{

 "success": "true"

}

o    Amazon, eBay, FlipKart, SnapDeal, Bestbuy (for simplicity, assume all platforms have the same request/response)

§  GET /getItems/{{item_search_string}}

§  Response: filtered list of all items sold that match {{item_search_string}}

o    Amazon, eBay, FlipKart, SnapDeal, Bestbuy  (for simplicity, assume all platforms have the same request/response)

§  POST /buyItem/{{itemID}}

§  Request (example):

{

 "name": "John Doe",

 "address": "123 Any Street, Toronto, ON, M5N 6K3",

  "itemID": "123ABC"

}

§  Response (example):

{

 "success": "true"

}

 

Business Rules

·         If merchandise bought with "Mashup Buy" is to be returned, platform used to buy will be used to facilitate refunds (customer will work with Amazon Search, eBay, FlipKart, SnapDeal, Bestbuy directly – and not with "Mashup Buy"

·         Terms and Conditions of the Merchant applies and will be dictated by the rules and policies of the Platform


Related Questions in computer science category


Disclaimer
The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.