Class CustomerPaymentServiceImpl
java.lang.Object
org.broadleafcommerce.profile.core.service.CustomerPaymentServiceImpl
- All Implemented Interfaces:
CustomerPaymentService
@Service("blCustomerPaymentService")
public class CustomerPaymentServiceImpl
extends Object
implements CustomerPaymentService
-
Field Summary
Fields -
Constructor Summary
Constructors -
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)
-
Field Details
-
customerPaymentDao
Services -
customerService
-
-
Constructor Details
-
CustomerPaymentServiceImpl
public CustomerPaymentServiceImpl()
-
-
Method Details
-
saveCustomerPayment
@Transactional("blTransactionManager") public CustomerPayment saveCustomerPayment(CustomerPayment customerPayment) - Specified by:
saveCustomerPaymentin interfaceCustomerPaymentService
-
readCustomerPaymentsByCustomerId
- Specified by:
readCustomerPaymentsByCustomerIdin interfaceCustomerPaymentService
-
readCustomerPaymentById
- Specified by:
readCustomerPaymentByIdin interfaceCustomerPaymentService
-
readCustomerPaymentByToken
- Specified by:
readCustomerPaymentByTokenin interfaceCustomerPaymentService
-
deleteCustomerPaymentById
@Transactional("blTransactionManager") public void deleteCustomerPaymentById(Long customerPaymentId) - Specified by:
deleteCustomerPaymentByIdin interfaceCustomerPaymentService
-
deleteCustomerPaymentByToken
- Specified by:
deleteCustomerPaymentByTokenin interfaceCustomerPaymentService
-
create
- Specified by:
createin interfaceCustomerPaymentService
-
findDefaultPaymentForCustomer
- Specified by:
findDefaultPaymentForCustomerin interfaceCustomerPaymentService
-
setAsDefaultPayment
@Transactional("blTransactionManager") public CustomerPayment setAsDefaultPayment(CustomerPayment payment) - Specified by:
setAsDefaultPaymentin interfaceCustomerPaymentService
-
clearDefaultPaymentStatus
- Specified by:
clearDefaultPaymentStatusin interfaceCustomerPaymentService
-
deleteCustomerPaymentFromCustomer
@Transactional("blTransactionManager") public Customer deleteCustomerPaymentFromCustomer(Customer customer, CustomerPayment payment) - Specified by:
deleteCustomerPaymentFromCustomerin interfaceCustomerPaymentService
-