diff --git a/recurly/__init__.py b/recurly/__init__.py index c4003d3f..e2f6e2f9 100644 --- a/recurly/__init__.py +++ b/recurly/__init__.py @@ -301,6 +301,7 @@ class BillingInfo(Resource): 'account_type', 'routing_number', 'account_number', + 'currency', ) sensitive_attributes = ('number', 'verification_value', 'account_number') xml_attribute_attributes = ('type',) diff --git a/tests/fixtures/billing-info/account-embed-created.xml b/tests/fixtures/billing-info/account-embed-created.xml index 304684f7..e0a45235 100644 --- a/tests/fixtures/billing-info/account-embed-created.xml +++ b/tests/fixtures/billing-info/account-embed-created.xml @@ -20,6 +20,7 @@ Content-Type: application/xml; charset=utf-8 CA 94105 US + USD  diff --git a/tests/fixtures/billing-info/account-embed-token.xml b/tests/fixtures/billing-info/account-embed-token.xml index ec167b6f..908f90f1 100644 --- a/tests/fixtures/billing-info/account-embed-token.xml +++ b/tests/fixtures/billing-info/account-embed-token.xml @@ -10,6 +10,7 @@ Content-Type: application/xml; charset=utf-8 binfo-mock-3 abc123 + USD  diff --git a/tests/fixtures/billing-info/created.xml b/tests/fixtures/billing-info/created.xml index d6583cb3..c15e4b4c 100644 --- a/tests/fixtures/billing-info/created.xml +++ b/tests/fixtures/billing-info/created.xml @@ -18,6 +18,7 @@ Content-Type: application/xml; charset=utf-8 CA 94105 US + USD  HTTP/1.1 201 Created @@ -38,4 +39,5 @@ Location: https://api.recurly.com/v2/accounts/binfomock/billing_info 12 411111 1111 + USD diff --git a/tests/fixtures/billing-info/embedded-exists.xml b/tests/fixtures/billing-info/embedded-exists.xml index c68380e9..eb0e2e99 100644 --- a/tests/fixtures/billing-info/embedded-exists.xml +++ b/tests/fixtures/billing-info/embedded-exists.xml @@ -20,4 +20,5 @@ Content-Type: application/xml; charset=utf-8 visa 411111 1111 + USD diff --git a/tests/fixtures/coupon/subscribed.xml b/tests/fixtures/coupon/subscribed.xml index ebe62918..535a4dff 100644 --- a/tests/fixtures/coupon/subscribed.xml +++ b/tests/fixtures/coupon/subscribed.xml @@ -24,6 +24,7 @@ Content-Type: application/xml; charset=utf-8 CA 94105 US + USD diff --git a/tests/fixtures/subscribe-add-on/subscribed.xml b/tests/fixtures/subscribe-add-on/subscribed.xml index dba672bc..1f21fb3e 100644 --- a/tests/fixtures/subscribe-add-on/subscribed.xml +++ b/tests/fixtures/subscribe-add-on/subscribed.xml @@ -31,6 +31,7 @@ Content-Type: application/xml; charset=utf-8 CA 94105 US + USD diff --git a/tests/fixtures/subscription/subscribe-embedded-account.xml b/tests/fixtures/subscription/subscribe-embedded-account.xml index 4d9b125d..1b19370b 100644 --- a/tests/fixtures/subscription/subscribe-embedded-account.xml +++ b/tests/fixtures/subscription/subscribe-embedded-account.xml @@ -23,6 +23,7 @@ Content-Type: application/xml; charset=utf-8 CA 94105 US + USD diff --git a/tests/fixtures/subscription/subscribed-billing-info.xml b/tests/fixtures/subscription/subscribed-billing-info.xml index 5ada9217..64487658 100644 --- a/tests/fixtures/subscription/subscribed-billing-info.xml +++ b/tests/fixtures/subscription/subscribed-billing-info.xml @@ -23,6 +23,7 @@ Content-Type: application/xml; charset=utf-8 CA 94105 US + USD diff --git a/tests/fixtures/subscription/update-billing-info.xml b/tests/fixtures/subscription/update-billing-info.xml index 48d80c0f..c5853a60 100644 --- a/tests/fixtures/subscription/update-billing-info.xml +++ b/tests/fixtures/subscription/update-billing-info.xml @@ -18,6 +18,7 @@ Content-Type: application/xml; charset=utf-8 CA 94105 US + USD  HTTP/1.1 201 Created @@ -38,4 +39,5 @@ Location: https://api.recurly.com/v2/accounts/subscribemock/billing_info 12 411111 1111 + USD diff --git a/tests/fixtures/transaction-balance/set-billing-info.xml b/tests/fixtures/transaction-balance/set-billing-info.xml index 128954fb..9f338f41 100644 --- a/tests/fixtures/transaction-balance/set-billing-info.xml +++ b/tests/fixtures/transaction-balance/set-billing-info.xml @@ -18,6 +18,7 @@ Content-Type: application/xml; charset=utf-8 CA 94105 US + USD  HTTP/1.1 201 Created @@ -38,4 +39,5 @@ Location: https://api.recurly.com/v2/accounts/transbalancemock/billing_info 12 411111 1111 + USD diff --git a/tests/fixtures/transaction/created.xml b/tests/fixtures/transaction/created.xml index 09516b99..496a5004 100644 --- a/tests/fixtures/transaction/created.xml +++ b/tests/fixtures/transaction/created.xml @@ -21,6 +21,7 @@ Content-Type: application/xml; charset=utf-8 CA 94105 US + USD USD