recurly/recurly-client-python — Issue #19: Subscription add-ons' unit amounts should use the Subscription's currency
Author: markpasc
Created: 2012-02-06 15:00:45+00:00
State: open

In an API response with a Subscription with a `subscription_add_ons` member, the add-ons' `unit_amount_in_cents` are modeled as `Money` instances. However, the matching `currency` for those Money instances is on the Subscription, not the add-on, so something goes awry and they can't be used.

The add-ons should fall back to using the Subscription's `currency` so the amounts are still available.