-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding VAT notes and notes path to Subscription
Adding vat_reverse_charge_notes to Subscription and Invoice. Also adding updateNotes() method with calls the new PUT /notes path.
- Loading branch information
Showing
11 changed files
with
92 additions
and
13 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
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,40 @@ | ||
HTTP/1.1 200 OK | ||
Content-Type: application/xml; charset=utf-8 | ||
|
||
<?xml version="1.0" encoding="UTF-8"?> | ||
<subscription href="https://api.recurly.com/v2/subscriptions/012345678901234567890123456789ab"> | ||
<account href="https://api.recurly.com/v2/accounts/verena"/> | ||
<plan href="https://api.recurly.com/v2/plans/silver"> | ||
<plan_code>silver</plan_code> | ||
<name>Silver Plan</name> | ||
</plan> | ||
<uuid>012345678901234567890123456789ab</uuid> | ||
<state>active</state> | ||
<net_terms type="integer">10</net_terms> | ||
<collection_method>manual</collection_method> | ||
<po_number>1000</po_number> | ||
<quantity type="integer">1</quantity> | ||
<total_amount_in_cents type="integer">1000</total_amount_in_cents> | ||
<activated_at type="datetime">2011-04-30T07:00:00Z</activated_at> | ||
<canceled_at nil="nil"></canceled_at> | ||
<expires_at nil="nil"></expires_at> | ||
<current_period_started_at type="datetime">2011-04-01T07:00:00Z</current_period_started_at> | ||
<current_period_ends_at type="datetime">2011-05-01T06:59:59Z</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> | ||
<terms_and_conditions>New Terms</terms_and_conditions> | ||
<customer_notes>New Customer Notes</customer_notes> | ||
<vat_reverse_charge_notes>New VAT Notes</vat_reverse_charge_notes> | ||
<subscription_add_ons type="array"> | ||
<subscription_add_on> | ||
<name>IP Addresses</name> | ||
<add_on_code>ipaddresses</add_on_code> | ||
<unit_amount_in_cents type="integer">200</unit_amount_in_cents> | ||
<quantity type="integer">2</quantity> | ||
</subscription_add_on> | ||
</subscription_add_ons> | ||
<a name="cancel" href="https://api.recurly.com/v2/subscriptions/012345678901234567890123456789ab/cancel" method="put"/> | ||
<a name="terminate" href="https://api.recurly.com/v2/subscriptions/012345678901234567890123456789ab/terminate" method="put"/> | ||
</subscription> |
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