org.broadleafcommerce.profile.core.service
Interface CustomerPaymentService

All Known Implementing Classes:
CustomerPaymentServiceImpl

public interface CustomerPaymentService


Method Summary
 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)
           
 

Method Detail

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.