public interface CustomerPaymentService
| Modifier and Type | Method and Description |
|---|---|
CustomerPayment |
create() |
void |
deleteCustomerPaymentById(Long customerPaymentId) |
Customer |
deleteCustomerPaymentFromCustomer(Customer customer,
CustomerPayment payment) |
CustomerPayment |
findDefaultPaymentForCustomer(Customer customer) |
CustomerPayment |
readCustomerPaymentById(Long customerPaymentId) |
CustomerPayment |
readCustomerPaymentByToken(String token) |
List<CustomerPayment> |
readCustomerPaymentsByCustomerId(Long customerId) |
CustomerPayment |
saveCustomerPayment(CustomerPayment customerPayment) |
CustomerPayment |
setAsDefaultPayment(CustomerPayment payment) |
CustomerPayment saveCustomerPayment(CustomerPayment customerPayment)
List<CustomerPayment> readCustomerPaymentsByCustomerId(Long customerId)
CustomerPayment readCustomerPaymentById(Long customerPaymentId)
CustomerPayment readCustomerPaymentByToken(String token)
void deleteCustomerPaymentById(Long customerPaymentId)
CustomerPayment create()
CustomerPayment findDefaultPaymentForCustomer(Customer customer)
CustomerPayment setAsDefaultPayment(CustomerPayment payment)
Customer deleteCustomerPaymentFromCustomer(Customer customer, CustomerPayment payment)
Copyright © 2015. All Rights Reserved.