org.broadleafcommerce.profile.core.service
Interface CustomerPaymentService
- All Known Implementing Classes:
- CustomerPaymentServiceImpl
public interface CustomerPaymentService
saveCustomerPayment
CustomerPayment saveCustomerPayment(CustomerPayment customerPayment)
readCustomerPaymentsByCustomerId
List<CustomerPayment> readCustomerPaymentsByCustomerId(Long customerId)
readCustomerPaymentById
CustomerPayment readCustomerPaymentById(Long customerPaymentId)
readCustomerPaymentByToken
CustomerPayment readCustomerPaymentByToken(String token)
deleteCustomerPaymentById
void deleteCustomerPaymentById(Long customerPaymentId)
create
CustomerPayment create()
findDefaultPaymentForCustomer
CustomerPayment findDefaultPaymentForCustomer(Customer customer)
setAsDefaultPayment
CustomerPayment setAsDefaultPayment(CustomerPayment payment)
deleteCustomerPaymentFromCustomer
Customer deleteCustomerPaymentFromCustomer(Customer customer,
CustomerPayment payment)
Copyright © 2013. All Rights Reserved.