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.
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