|
|
|
|
@ -0,0 +1,38 @@
|
|
|
|
|
package 支付处理器(LSP);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @author 方初阳
|
|
|
|
|
* @version 1.0
|
|
|
|
|
* @created 23-10月-2025 20:42:50
|
|
|
|
|
*/
|
|
|
|
|
public class PaymentProcessor {
|
|
|
|
|
|
|
|
|
|
private String status;
|
|
|
|
|
private String transactionId;
|
|
|
|
|
public Payment m_Payment;
|
|
|
|
|
|
|
|
|
|
public PaymentProcessor(){
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void finalize() throws Throwable {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
public String generateTransactionId(){
|
|
|
|
|
return "";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getStatus(){
|
|
|
|
|
return "";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @param payment
|
|
|
|
|
* @param amount
|
|
|
|
|
*/
|
|
|
|
|
public boolean handlePayment(payment:Payment payment, amount:Amount amount){
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}//end PaymentProcessor
|