A G I P

A

addPayment(Payment) - Method in class PaymentProcessor
Add given payment to end of list of payments to be processed.

G

getAccount() - Method in class Payment
Retrieve account ID
getAmount() - Method in class Payment
Retrieve payment amount
getCapacity() - Method in class PaymentProcessor
Get capacity of list.
getNumberOfPayments() - Method in class PaymentProcessor
Get count of number of payments in the list.
getPayment(int) - Method in class PaymentProcessor
Get specified payment number.
getSumOfPayments() - Method in class PaymentProcessor
Get sum of all payments in the list.

I

inputNewPayment() - Static method in class PaymentProcessor
User inputs valid payment information, then method returns object representing the payment.

P

Payment - Class in <Unnamed>
Class representing a payment on an account.
Payment(String, double) - Constructor for class Payment
Create a new Payment object.
PaymentProcessor - Class in <Unnamed>
Class to do data entry and simple processing of payments.
PaymentProcessor(int) - Constructor for class PaymentProcessor
Creates payment processor with no payments in the list.

A G I P