mollie / mollie-api-python

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

Support listing nested objects #323

Closed whyscream closed 10 months ago

whyscream commented 1 year ago

Related to #315

This resolves the issue when paginating over 'nested' resources. In stead of injecting a parent object into resource that manages the childs, we just retrieve the childs from a custom resource path (that happens to include the parent id).

For now this is a POC: it only works for subscriptions (nested below a customer) and subscription payments (nested below customer and subscription).

whyscream commented 10 months ago

Issue resolved in #333, closing