-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from recurly/2.2.0
bump 2.2.0
- Loading branch information
Showing
11 changed files
with
272 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
GET https://api.recurly.com/v2/accounts/testmock HTTP/1.1 | ||
Accept: application/xml | ||
Authorization: Basic YXBpa2V5Og== | ||
User-Agent: recurly-python/{version} | ||
|
||
HTTP/1.1 200 OK | ||
Content-Type: application/xml; charset=utf-8 | ||
|
||
<?xml version="1.0" encoding="UTF-8"?> | ||
<account href="https://api.recurly.com/v2/accounts/testmock"> | ||
<adjustments href="https://api.recurly.com/v2/accounts/testmock/adjustments"/> | ||
<billing_info href="https://api.recurly.com/v2/accounts/testmock/billing_info"/> | ||
<invoices href="https://api.recurly.com/v2/accounts/testmock/invoices"/> | ||
<subscriptions href="https://api.recurly.com/v2/accounts/testmock/subscriptions"/> | ||
<transactions href="https://api.recurly.com/v2/accounts/testmock/transactions"/> | ||
<account_code>testmock</account_code> | ||
<username nil="nil"></username> | ||
<email nil="nil"></email> | ||
<first_name nil="nil"></first_name> | ||
<last_name nil="nil"></last_name> | ||
<company_name nil="nil"></company_name> | ||
<accept_language nil="nil"></accept_language> | ||
<tax_exempt type="boolean">true</tax_exempt> | ||
</account> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
GET https://api.recurly.com/v2/accounts/chargemock/adjustments HTTP/1.1 | ||
Accept: application/xml | ||
Authorization: Basic YXBpa2V5Og== | ||
User-Agent: recurly-python/{version} | ||
|
||
HTTP/1.1 200 OK | ||
Content-Type: application/xml; charset=utf-8 | ||
X-Records: 1 | ||
|
||
<adjustments type="array"> | ||
<adjustment type="charge"> | ||
<uuid>4ba1531325014b4f969cd13676f514d8</uuid> | ||
<description>test charge</description> | ||
<account_code>chargemock</account_code> | ||
<unit_amount_in_cents type="integer">1000</unit_amount_in_cents> | ||
<currency>USD</currency> | ||
<tax_exempt type="boolean">false</tax_exempt> | ||
<start_date type="datetime">2009-11-03T23:27:46Z</start_date> | ||
<end_date nil="nil" type="datetime"></end_date> | ||
<created_at type="datetime">2009-11-03T23:27:46Z</created_at> | ||
</adjustment> | ||
</adjustments> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
GET https://api.recurly.com/v2/accounts/invoicemock/invoices HTTP/1.1 | ||
Accept: application/xml | ||
Authorization: Basic YXBpa2V5Og== | ||
User-Agent: recurly-python/{version} | ||
|
||
HTTP/1.1 200 OK | ||
X-Records: 1 | ||
Content-Type: application/xml; charset=utf-8 | ||
|
||
<?xml version="1.0" encoding="UTF-8"?> | ||
<invoices type="array"> | ||
<invoice href="https://api.recurly.com/v2/invoices/4ba1531325014b4f969cd13676f514d8"> | ||
<uuid>4ba1531325014b4f969cd13676f514d8</uuid> | ||
<account_code>invoicemock</account_code> | ||
<amount_in_cents> | ||
<USD type="integer">1000</USD> | ||
</amount_in_cents> | ||
<start_date type="datetime">2009-11-03T23:27:46-08:00</start_date> | ||
<end_date type="datetime"></end_date> | ||
<description>test charge</description> | ||
<created_at type="datetime">2009-11-03T23:27:46-08:00</created_at> | ||
<tax_type>usst</tax_type> | ||
</invoice> | ||
</invoices> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
GET https://api.recurly.com/v2/plans/planmock HTTP/1.1 | ||
Accept: application/xml | ||
Authorization: Basic YXBpa2V5Og== | ||
User-Agent: recurly-python/{version} | ||
|
||
HTTP/1.1 200 OK | ||
Content-Type: application/xml; charset=utf-8 | ||
|
||
<?xml version="1.0" encoding="UTF-8"?> | ||
<plan href="https://api.recurly.com/v2/plans/planmock"> | ||
<add_ons href="https://api.recurly.com/v2/plans/planmock/add_ons"/> | ||
<plan_code>planmock</plan_code> | ||
<name>Mock Plan</name> | ||
<description nil="nil"></description> | ||
<success_url nil="nil"></success_url> | ||
<cancel_url nil="nil"></cancel_url> | ||
<display_donation_amounts type="boolean">false</display_donation_amounts> | ||
<display_quantity type="boolean">false</display_quantity> | ||
<display_phone_number type="boolean">false</display_phone_number> | ||
<bypass_hosted_confirmation type="boolean">false</bypass_hosted_confirmation> | ||
<unit_name>unit</unit_name> | ||
<payment_page_tos_link nil="nil"></payment_page_tos_link> | ||
<plan_interval_length type="integer">1</plan_interval_length> | ||
<plan_interval_unit>months</plan_interval_unit> | ||
<trial_interval_length type="integer">0</trial_interval_length> | ||
<trial_interval_unit>days</trial_interval_unit> | ||
<created_at type="datetime">2011-10-03T22:23:12Z</created_at> | ||
<tax_exempt type="boolean">true</tax_exempt> | ||
<unit_amount_in_cents> | ||
</unit_amount_in_cents> | ||
<setup_fee_in_cents> | ||
</setup_fee_in_cents> | ||
</plan> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
GET https://api.recurly.com/v2/accounts/subscribemock/subscriptions HTTP/1.1 | ||
Accept: application/xml | ||
Authorization: Basic YXBpa2V5Og== | ||
User-Agent: recurly-python/{version} | ||
|
||
HTTP/1.1 200 OK | ||
X-Records: 1 | ||
Content-Type: application/xml; charset=utf-8 | ||
|
||
<?xml version="1.0" encoding="UTF-8"?> | ||
<subscriptions type="array"> | ||
<subscription | ||
href="https://api.recurly.com/v2/subscriptions/123456789012345678901234567890ab"> | ||
<uuid>123456789012345678901234567890ab</uuid> | ||
<account href="https://api.recurly.com/v2/accounts/subscribemock"/> | ||
<plan href="https://api.recurly.com/v2/plans/basicplan"> | ||
<plan_code>basicplan</plan_code> | ||
<name>Basic Plan</name> | ||
</plan> | ||
<state>active</state> | ||
<quantity type="integer">1</quantity> | ||
<currency>EUR</currency> | ||
<unit_amount_in_cents type="integer">1000</unit_amount_in_cents> | ||
<activated_at type="datetime">2011-05-27T07:00:00Z</activated_at> | ||
<canceled_at nil="nil"></canceled_at> | ||
<expires_at nil="nil"></expires_at> | ||
<current_period_started_at type="datetime">2011-06-27T07:00:00Z</current_period_started_at> | ||
<current_period_ends_at type="datetime">2010-07-27T07:00:00Z</current_period_ends_at> | ||
<trial_started_at nil="nil"></trial_started_at> | ||
<trial_ends_at nil="nil"></trial_ends_at> | ||
<tax_in_cents type="integer">0</tax_in_cents> | ||
<tax_type>usst</tax_type> | ||
<subscription_add_ons type="array"> | ||
</subscription_add_ons> | ||
</subscription> | ||
</subscriptions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
GET https://api.recurly.com/v2/accounts/subscribemock/subscriptions HTTP/1.1 | ||
Accept: application/xml | ||
Authorization: Basic YXBpa2V5Og== | ||
User-Agent: recurly-python/{version} | ||
|
||
HTTP/1.1 200 OK | ||
X-Records: 1 | ||
Content-Type: application/xml; charset=utf-8 | ||
|
||
<?xml version="1.0" encoding="UTF-8"?> | ||
<subscriptions type="array"> | ||
<subscription | ||
href="https://api.recurly.com/v2/subscriptions/123456789012345678901234567890ab"> | ||
<uuid>123456789012345678901234567890ab</uuid> | ||
<account href="https://api.recurly.com/v2/accounts/subscribemock"/> | ||
<plan href="https://api.recurly.com/v2/plans/basicplan"> | ||
<plan_code>basicplan</plan_code> | ||
<name>Basic Plan</name> | ||
</plan> | ||
<state>active</state> | ||
<quantity type="integer">1</quantity> | ||
<currency>EUR</currency> | ||
<unit_amount_in_cents type="integer">1000</unit_amount_in_cents> | ||
<activated_at type="datetime">2011-05-27T07:00:00Z</activated_at> | ||
<canceled_at nil="nil"></canceled_at> | ||
<expires_at nil="nil"></expires_at> | ||
<current_period_started_at type="datetime">2011-06-27T07:00:00Z</current_period_started_at> | ||
<current_period_ends_at type="datetime">2010-07-27T07:00:00Z</current_period_ends_at> | ||
<trial_started_at nil="nil"></trial_started_at> | ||
<trial_ends_at nil="nil"></trial_ends_at> | ||
<tax_in_cents type="integer">0</tax_in_cents> | ||
<tax_type>usst</tax_type> | ||
<subscription_add_ons type="array"> | ||
</subscription_add_ons> | ||
</subscription> | ||
</subscriptions> |
Oops, something went wrong.