public class CustomerHandler extends AbstractHandler
baseUrl, mapper| Constructor | Description |
|---|---|
CustomerHandler(String baseUrl) |
validateResponsepublic CustomerHandler(String baseUrl)
public CustomerResponse createCustomer(CustomerRequest body) throws MollieException
MollieExceptionpublic CustomerResponse createCustomer(CustomerRequest body, QueryParams params) throws MollieException
MollieExceptionpublic CustomerResponse getCustomer(String customerId) throws MollieException
MollieExceptionpublic CustomerResponse getCustomer(String customerId, QueryParams params) throws MollieException
MollieExceptionpublic CustomerResponse updateCustomer(String customerId, CustomerRequest body) throws MollieException
MollieExceptionpublic CustomerResponse updateCustomer(String customerId, CustomerRequest body, QueryParams params) throws MollieException
MollieExceptionpublic void deleteCustomer(String customerId) throws MollieException
MollieExceptionpublic void deleteCustomer(String customerId, QueryParams params) throws MollieException
MollieExceptionpublic Pagination<CustomerListResponse> getCustomers() throws MollieException
MollieExceptionpublic Pagination<CustomerListResponse> getCustomers(QueryParams params) throws MollieException
MollieExceptionpublic PaymentResponse createCustomerPayment(String customerId, PaymentRequest body) throws MollieException
MollieExceptionpublic PaymentResponse createCustomerPayment(String customerId, PaymentRequest body, QueryParams params) throws MollieException
MollieExceptionpublic Pagination<PaymentListResponse> listCustomerPayments(String customerId) throws MollieException
MollieExceptionpublic Pagination<PaymentListResponse> listCustomerPayments(String customerId, QueryParams queryParams) throws MollieException
MollieExceptionCopyright © 2018. All rights reserved.