public abstract class PaymentInfo extends Object
Constructor and Description |
---|
PaymentInfo() |
Modifier and Type | Method and Description |
---|---|
abstract PaymentInfo |
clonePayment() |
abstract String |
getName() |
abstract double |
getTotal() |
String |
printsTotal()
The total amount of the payment made with the associated payments method
formatted to 2 decimals without currency symbol
|
String |
printTotal()
The total amount of the payment made with the associated payments method
formatted as currency string.
|
public abstract String getName()
public abstract double getTotal()
public abstract PaymentInfo clonePayment()
public String printTotal()
public String printsTotal()
Copyright © 2021. All rights reserved.