getMethodFormatted method
Implementation
String getMethodFormatted() {
switch (method) {
case "paypal":
return "PayPal";
case "creditcard":
return "Credit Card";
case "sofort":
return "Sofort";
default:
return "No method selected";
}
}