mollie / mollie-api-python

Mollie API client for Python
http://www.mollie.com
BSD 2-Clause "Simplified" License
113 stars 55 forks source link

Remove unused resource methods. #258

Closed whyscream closed 2 years ago

whyscream commented 2 years ago

Currently, all resources in the client have all API manipulation methods (.list(), .get(), .create(), .delete(), .update()), but many resources only support a subset of these (f.i. chargebacks are read-only but the client has a .create() for chargebacks that always will result in an error.

This PR corrects this, and removes resource methods from resources that aren't supported, leaving only the supported methods in place.

Related to #255