public class PaymentInfoFree extends PaymentInfo
| Constructor and Description |
|---|
PaymentInfoFree(double dTotal)
Creates a new instance of PaymentInfoFree
|
| Modifier and Type | Method and Description |
|---|---|
PaymentInfo |
clonePayment() |
String |
getName() |
double |
getTotal() |
printsTotal, printTotalpublic PaymentInfoFree(double dTotal)
public PaymentInfo clonePayment()
clonePayment in class PaymentInfopublic String getName()
getName in class PaymentInfopublic double getTotal()
getTotal in class PaymentInfoCopyright © 2021. All rights reserved.