Interface CustomerPaymentService
- All Known Implementing Classes:
CustomerPaymentServiceImpl
public interface CustomerPaymentService
-
Method Summary
Modifier and TypeMethodDescriptionvoidclearDefaultPaymentStatus(Customer customer) create()voiddeleteCustomerPaymentById(Long customerPaymentId) voiddeleteCustomerPaymentFromCustomer(Customer customer, CustomerPayment payment) findDefaultPaymentForCustomer(Customer customer) readCustomerPaymentById(Long customerPaymentId) readCustomerPaymentByToken(String token) readCustomerPaymentsByCustomerId(Long customerId) saveCustomerPayment(CustomerPayment customerPayment) setAsDefaultPayment(CustomerPayment payment)
-
Method Details
-
saveCustomerPayment
-
readCustomerPaymentsByCustomerId
-
readCustomerPaymentById
-
readCustomerPaymentByToken
-
deleteCustomerPaymentById
-
deleteCustomerPaymentByToken
-
create
CustomerPayment create() -
findDefaultPaymentForCustomer
-
setAsDefaultPayment
-
clearDefaultPaymentStatus
-
deleteCustomerPaymentFromCustomer
-