package org.wfc.payment.pay.ccpay.service;

import org.wfc.payment.pay.ccpay.model.PaymentRequest;
import org.wfc.payment.pay.ccpay.model.PaymentResponse;
import org.wfc.payment.pay.ccpay.model.RefundRequest;
import org.wfc.payment.pay.ccpay.model.RefundResponse;
import org.wfc.payment.pay.ccpay.model.UCreditCardOrder;

public interface IUCreditCardOrderService {

    PaymentResponse processPayment(PaymentRequest paymentRequest);

    PaymentResponse queryOrder(Long orderId);
    
    RefundResponse refundOrder(RefundRequest refundRequest);
    
    void saveOrder(UCreditCardOrder order);

    UCreditCardOrder getOrderById(Long id);

    String getPaymentToken(PaymentRequest paymentRequest);    
   
}