Package passport.domain.models.purchases
Class PaymentMethod
java.lang.Object
passport.domain.models.purchases.PaymentMethod
Represents a payment method with details, and provides HTML representation
for display.
-
Constructor Summary
ConstructorDescriptionPaymentMethod
(String method, String details) Constructs a new PaymentMethod with the specified method and details. -
Method Summary
-
Constructor Details
-
PaymentMethod
-
-
Method Details
-
html
Returns the HTML representation of the payment method.- Returns:
- the HTML string representing the payment method
-