I have to create a use case and sequence diagram for one of my assignments. Here is the description:
Consider the following description of the automated gas pump system.
An automated gas pump allows customers to use credit cards, debit cards and cash to purchase gas. When not in use the pump displays information about daily specials and sales. To use the pump, customers indicate the payment method. If cash is selected the customer waits until salesclerk activates the pump. If a credit card or debit card is used, customers swipe their card through a reader connected to the pump. In the case of a debit card a pin number is entered. The credit/debit card is validated by communication with a credit company computer and the pump is activated. The customer then selects the gas type, removes the "pump nozzle" from the pump and purchases gas by pumping the gas. The customer ends the transaction by replacing the "pump nozzle" back into the pump. If a credit/debit card was used the customer’s account is charged with the cost of fuel taken, the customer can select to print receipt and the transaction ends. If a cash payment is required, the pump remains idle until the salesclerk receives the customer's payment and resets the pump to an idle state. Daily station managers update pricing information for each grade of gas. Also, at the end of each day credit card transactions are sent to the credit card companies for payment.
For the Use Case Diagram I feel like it is right, just looking for feedback really.
UML Images:
For the Sequence Diagram the scenario is: "Purchase gas with a Credit Card"
I feel like i'm missing a GasPump controller entity or is it fine with just having how it is now? Also is the vehicle really necessary?