-
Notifications
You must be signed in to change notification settings - Fork 93
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 #401 from recurly/api_version_2_19
Release version 2.12.0 / API version 2.19
- Loading branch information
Showing
12 changed files
with
272 additions
and
5 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,35 @@ | ||
HTTP/1.1 201 Created | ||
Content-Type: application/xml; charset=utf-8 | ||
Location: https://api.recurly.com/v2/accounts/abcdef1234567890.xml | ||
|
||
<?xml version="1.0" encoding="UTF-8"?> | ||
<account href="https://api.recurly.com/v2/accounts/abcdef1234567890"> | ||
<parent_account href="https://api.recurly.com/v2/accounts/1234567890"/> | ||
<adjustments href="https://api.recurly.com/v2/accounts/abcdef1234567890/adjustments"/> | ||
<billing_info href="https://api.recurly.com/v2/accounts/abcdef1234567890/billing_info"/> | ||
<invoices href="https://api.recurly.com/v2/accounts/abcdef1234567890/invoices"/> | ||
<redemptions href="https://api.recurly.com/v2/accounts/abcdef1234567890/redemptions"/> | ||
<subscriptions href="https://api.recurly.com/v2/accounts/abcdef1234567890/subscriptions"/> | ||
<shipping_addresses href="https://api.recurly.com/v2/accounts/abcdef1234567890/shipping_addresses"/> | ||
<transactions href="https://api.recurly.com/v2/accounts/abcdef1234567890/transactions"/> | ||
<account_code>abcdef1234567890</account_code> | ||
<parent_account_code>1234567890</parent_account_code> | ||
<username>shmohawk58</username> | ||
<email>[email protected]</email> | ||
<first_name>Larry</first_name> | ||
<last_name>David</last_name> | ||
<company_name>Home Box Office</company_name> | ||
<accept_language>en-US</accept_language> | ||
<hosted_login_token>18d935f06b0547ddad8cdf2490ac802e</hosted_login_token> | ||
<created_at type="datetime">2011-04-30T12:00:00Z</created_at> | ||
<vat_number>12345-67</vat_number> | ||
<address> | ||
<address1>123 Main St.</address1> | ||
<address2 nil="nil"></address2> | ||
<city>San Francisco</city> | ||
<state>CA</state> | ||
<zip>94105</zip> | ||
<country>US</country> | ||
<phone>8015551234</phone> | ||
</address> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
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/abcdef1234567890"> | ||
<parent_account href="https://api.recurly.com/v2/accounts/1234567890"/> | ||
<adjustments href="https://api.recurly.com/v2/accounts/abcdef1234567890/adjustments"/> | ||
<billing_info href="https://api.recurly.com/v2/accounts/abcdef1234567890/billing_info"/> | ||
<invoices href="https://api.recurly.com/v2/accounts/abcdef1234567890/invoices"/> | ||
<redemptions href="https://api.recurly.com/v2/accounts/abcdef1234567890/redemptions"/> | ||
<subscriptions href="https://api.recurly.com/v2/accounts/abcdef1234567890/subscriptions"/> | ||
<shipping_addresses href="https://api.recurly.com/v2/accounts/abcdef1234567890/shipping_addresses"/> | ||
<transactions href="https://api.recurly.com/v2/accounts/abcdef1234567890/transactions"/> | ||
<account_code>abcdef1234567890</account_code> | ||
<parent_account_code>1234567890</parent_account_code> | ||
<username>shmohawk58</username> | ||
<email>[email protected]</email> | ||
<first_name>Larry</first_name> | ||
<last_name>David</last_name> | ||
<company_name>Home Box Office</company_name> | ||
<accept_language>en-US</accept_language> | ||
<hosted_login_token>18d935f06b0547ddad8cdf2490ac802e</hosted_login_token> | ||
<created_at type="datetime">2011-04-30T12:00:00Z</created_at> | ||
<vat_number>12345-67</vat_number> | ||
<address> | ||
<address1>123 Main St.</address1> | ||
<address2 nil="nil"></address2> | ||
<city>San Francisco</city> | ||
<state>CA</state> | ||
<zip>94105</zip> | ||
<country>US</country> | ||
<phone>8015551234</phone> | ||
</address> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
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/1234567890"> | ||
<child_accounts href="https://api.recurly.com/v2/accounts/1234567890/child_accounts"/> | ||
<adjustments href="https://api.recurly.com/v2/accounts/1234567890/adjustments"/> | ||
<account_balance href="https://api.recurly.com/v2/accounts/1234567890/balance"/> | ||
<billing_info href="https://api.recurly.com/v2/accounts/1234567890/billing_info"/> | ||
<invoices href="https://api.recurly.com/v2/accounts/1234567890/invoices"/> | ||
<shipping_addresses href="https://api.recurly.com/v2/accounts/1234567890/shipping_addresses"/> | ||
<subscriptions href="https://api.recurly.com/v2/accounts/1234567890/subscriptions"/> | ||
<transactions href="https://api.recurly.com/v2/accounts/1234567890/transactions"/> | ||
<notes href="https://api.recurly.com/v2/accounts/1234567890/notes"/> | ||
<account_code>1234567890</account_code> | ||
<state>active</state> | ||
<username nil="nil"></username> | ||
<email nil="nil"></email> | ||
<cc_emails nil="nil"></cc_emails> | ||
<first_name nil="nil"></first_name> | ||
<last_name nil="nil"></last_name> | ||
<company_name nil="nil"></company_name> | ||
<vat_number nil="nil"></vat_number> | ||
<preferred_locale nil="nil"></preferred_locale> | ||
<address> | ||
<address1 nil="nil"></address1> | ||
<address2 nil="nil"></address2> | ||
<city nil="nil"></city> | ||
<state nil="nil"></state> | ||
<zip nil="nil"></zip> | ||
<country nil="nil"></country> | ||
<phone nil="nil"></phone> | ||
</address> | ||
<accept_language nil="nil"></accept_language> | ||
<created_at type="datetime">2018-09-26T15:23:12Z</created_at> | ||
<updated_at type="datetime">2018-12-26T15:25:20Z</updated_at> | ||
<closed_at nil="nil"></closed_at> | ||
<custom_fields type="array"> | ||
</custom_fields> | ||
<has_live_subscription type="boolean">true</has_live_subscription> | ||
<has_active_subscription type="boolean">true</has_active_subscription> | ||
<has_future_subscription type="boolean">false</has_future_subscription> | ||
<has_canceled_subscription type="boolean">false</has_canceled_subscription> | ||
<has_past_due_invoice type="boolean">false</has_past_due_invoice> | ||
<has_paused_subscription type="boolean">false</has_paused_subscription> | ||
<bill_to>self</bill_to> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
HTTP/1.1 200 OK | ||
Content-Type: application/xml; charset=utf-8 | ||
Location: https://api.recurly.com/v2/accounts/abcdef1234567890.xml | ||
|
||
<?xml version="1.0" encoding="UTF-8"?> | ||
<account href="https://api.recurly.com/v2/accounts/abcdef1234567890"> | ||
<parent_account href="https://api.recurly.com/v2/accounts/1234567890"/> | ||
<adjustments href="https://api.recurly.com/v2/accounts/abcdef1234567890/adjustments"/> | ||
<billing_info href="https://api.recurly.com/v2/accounts/abcdef1234567890/billing_info"/> | ||
<invoices href="https://api.recurly.com/v2/accounts/abcdef1234567890/invoices"/> | ||
<redemptions href="https://api.recurly.com/v2/accounts/abcdef1234567890/redemptions"/> | ||
<subscriptions href="https://api.recurly.com/v2/accounts/abcdef1234567890/subscriptions"/> | ||
<shipping_addresses href="https://api.recurly.com/v2/accounts/abcdef1234567890/shipping_addresses"/> | ||
<transactions href="https://api.recurly.com/v2/accounts/abcdef1234567890/transactions"/> | ||
<account_code>abcdef1234567890</account_code> | ||
<parent_account_code>1234567890</parent_account_code> | ||
<username>shmohawk58</username> | ||
<email>[email protected]</email> | ||
<first_name>Larry</first_name> | ||
<last_name>David</last_name> | ||
<company_name>Home Box Office</company_name> | ||
<accept_language>en-US</accept_language> | ||
<hosted_login_token>18d935f06b0547ddad8cdf2490ac802e</hosted_login_token> | ||
<created_at type="datetime">2011-04-30T12:00:00Z</created_at> | ||
<vat_number>12345-67</vat_number> | ||
<address> | ||
<address1>123 Main St.</address1> | ||
<address2 nil="nil"></address2> | ||
<city>San Francisco</city> | ||
<state>CA</state> | ||
<zip>94105</zip> | ||
<country>US</country> | ||
<phone>8015551234</phone> | ||
</address> | ||
</account> |
33 changes: 33 additions & 0 deletions
33
Tests/fixtures/accounts/hierarchy/update-no-parent-200.xml
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,33 @@ | ||
HTTP/1.1 200 OK | ||
Content-Type: application/xml; charset=utf-8 | ||
Location: https://api.recurly.com/v2/accounts/abcdef1234567890.xml | ||
|
||
<?xml version="1.0" encoding="UTF-8"?> | ||
<account href="https://api.recurly.com/v2/accounts/abcdef1234567890"> | ||
<adjustments href="https://api.recurly.com/v2/accounts/abcdef1234567890/adjustments"/> | ||
<billing_info href="https://api.recurly.com/v2/accounts/abcdef1234567890/billing_info"/> | ||
<invoices href="https://api.recurly.com/v2/accounts/abcdef1234567890/invoices"/> | ||
<redemptions href="https://api.recurly.com/v2/accounts/abcdef1234567890/redemptions"/> | ||
<subscriptions href="https://api.recurly.com/v2/accounts/abcdef1234567890/subscriptions"/> | ||
<shipping_addresses href="https://api.recurly.com/v2/accounts/abcdef1234567890/shipping_addresses"/> | ||
<transactions href="https://api.recurly.com/v2/accounts/abcdef1234567890/transactions"/> | ||
<account_code>abcdef1234567890</account_code> | ||
<username>shmohawk58</username> | ||
<email>[email protected]</email> | ||
<first_name>Larry</first_name> | ||
<last_name>David</last_name> | ||
<company_name>Home Box Office</company_name> | ||
<accept_language>en-US</accept_language> | ||
<hosted_login_token>18d935f06b0547ddad8cdf2490ac802e</hosted_login_token> | ||
<created_at type="datetime">2011-04-30T12:00:00Z</created_at> | ||
<vat_number>12345-67</vat_number> | ||
<address> | ||
<address1>123 Main St.</address1> | ||
<address2 nil="nil"></address2> | ||
<city>San Francisco</city> | ||
<state>CA</state> | ||
<zip>94105</zip> | ||
<country>US</country> | ||
<phone>8015551234</phone> | ||
</address> | ||
</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
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