This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
package 支付处理器(LSP);
/**
* @author 方初阳
* @version 1.0
* @created 23-10月-2025 20:42:48
*/
public class CreditCardPayment implements Payment {
private String cardHolder;
private String cardNumber;
private String expiryDate;
public CreditCardPayment(){
}
public void finalize() throws Throwable {
public String getCardHolder(){
return "";
public String getPaymentType(){
*
* @param amount
public boolean process(amount:double amount){
return false;
public boolean validateCard(){
}//end CreditCardPayment