public interface CustomerPaymentService
Modifier and Type | Method and Description |
---|---|
void |
clearDefaultPaymentStatus(Customer customer) |
CustomerPayment |
create() |
void |
deleteCustomerPaymentById(Long customerPaymentId) |
void |
deleteCustomerPaymentByToken(String token) |
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)
void deleteCustomerPaymentByToken(String token)
CustomerPayment create()
CustomerPayment findDefaultPaymentForCustomer(Customer customer)
CustomerPayment setAsDefaultPayment(CustomerPayment payment)
void clearDefaultPaymentStatus(Customer customer)
Customer deleteCustomerPaymentFromCustomer(Customer customer, CustomerPayment payment)
Copyright © 2019. All rights reserved.