Files
PagamentiOnline/PagamentoPayPal.java
La Programmatrice Verde 79e22fcc36 PagamentoPayPal
2025-11-11 09:57:35 +01:00

22 lines
596 B
Java

/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package pagamentionline;
/**
*
* @author Verde
*/
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;
}
}