-
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.
- Loading branch information
1 parent
3620376
commit f13901c
Showing
9 changed files
with
133 additions
and
6 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,26 @@ | ||
GET https://api.recurly.com/v2/external_subscriptions/sd28t3zdm59r/external_payment_phases/sk0bmpw0wbby HTTP/1.1 | ||
X-Api-Version: {api-version} | ||
Accept: application/xml | ||
Authorization: Basic YXBpa2V5Og== | ||
User-Agent: {user-agent} | ||
|
||
HTTP/1.1 200 OK | ||
Content-Type: application/xml; charset=utf-8 | ||
|
||
<?xml version="1.0" encoding="UTF-8"?> | ||
<external_payment_phase href="https://pcc.recurly.dev:3000/v2/external_subscriptions/sd28t3zdm59r/external_payment_phases/sk0bmpw0wbby"> | ||
<id>sk0bmpw0wbby</id> | ||
<started_at type="datetime">2023-03-14T19:55:07Z</started_at> | ||
<ends_at type="datetime">2023-04-14T19:55:07Z</ends_at> | ||
<starting_billing_period_index>1</starting_billing_period_index> | ||
<ending_billing_period_index>4</ending_billing_period_index> | ||
<offer_type></offer_type> | ||
<offer_name></offer_name> | ||
<period_count>1</period_count> | ||
<period_length>2 MONTHS</period_length> | ||
<amount>0.00</amount> | ||
<currency>USD</currency> | ||
<created_at type="datetime">2023-03-14T19:55:07Z</created_at> | ||
<updated_at type="datetime">2023-04-14T19:55:07Z</updated_at> | ||
</external_payment_phase> |
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
28 changes: 28 additions & 0 deletions
28
tests/fixtures/external-subscription/external-payment-phases.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,28 @@ | ||
GET https://api.recurly.com/v2/external_subscriptions/sd28t3zdm59r/external_payment_phases HTTP/1.1 | ||
X-Api-Version: {api-version} | ||
Accept: application/xml | ||
Authorization: Basic YXBpa2V5Og== | ||
User-Agent: {user-agent} | ||
|
||
HTTP/1.1 200 OK | ||
Content-Type: application/xml; charset=utf-8 | ||
|
||
<?xml version="1.0" encoding="UTF-8"?> | ||
<external_payment_phases type="array"> | ||
<external_payment_phase href="https://pcc.recurly.dev:3000/v2/external_payment_phases/sk0bmpw0wbby"> | ||
<id>sk0bmpw0wbby</id> | ||
<started_at type="datetime">2023-03-14T19:55:07Z</started_at> | ||
<ends_at type="datetime">2023-04-14T19:55:07Z</ends_at> | ||
<starting_billing_period_index>1</starting_billing_period_index> | ||
<ending_billing_period_index>4</ending_billing_period_index> | ||
<offer_type></offer_type> | ||
<offer_name></offer_name> | ||
<period_count>1</period_count> | ||
<period_length>2 MONTHS</period_length> | ||
<amount>0.00</amount> | ||
<currency>USD</currency> | ||
<created_at type="datetime">2023-03-14T19:55:07Z</created_at> | ||
<updated_at type="datetime">2023-04-14T19:55:07Z</updated_at> | ||
</external_payment_phase> | ||
</external_payment_phases> |
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