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