PagamentoPayPal

This commit is contained in:
La Programmatrice Verde
2025-11-11 09:57:35 +01:00
parent 622de590d6
commit 79e22fcc36

View File

@@ -9,5 +9,14 @@ package pagamentionline;
* @author Verde * @author Verde
*/ */
public class PagamentoPayPal { public class PagamentoPayPal {
String emailUtente;
public PagamentoPayPal(double importo, String emailUtente) {
super(importo);
this.emailUtente = emailUtente;
}
public String paga() {
return "Pagamento di " + this.importo + " euro effettuato tramite PayPal dall'account " + this.emailUtente;
}
} }