Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2 rc1 #22

Merged
merged 41 commits into from Apr 14, 2014
Merged

V2 rc1 #22

merged 41 commits into from Apr 14, 2014

Conversation

aheckmann
Copy link

  • renamed account.CreateAdjustment() -> account.NewAdjustment() to better describe that a call to the Recurly API does not occur.
  • renamed plan.CreateAddOn() -> plan.NewAddOn() to better describe that a call to the Recurly API does not occur.
  • added; multiple adjustment refunds support invoice.Refund(invoice.Adjustments)
  • added; default timeframe support to subscription.ChangeSubscription()
    Subscription.TimeFrame.Now is the default and no longer is required to be passed.
  • added; overloads to subscription.AddOns.Add(). now supports:
    • subscription.AddOns.Add("plan addon code");
    • subscription.AddOns.Add(planAddOn);
    • subscription.AddOns.Add(new SubscriptionAddOn(..)); // no change
  • added support for all Sales Tax API additions
  • renamed Recurly.Exception -> Recurly.RecurlyException to play nicer with System.Exception Please rename Recurly.Exception! #21
  • changed Recurly.RecurlyException to inherit from System.Exception instead of System.ApplicationException Please rename Recurly.Exception! #21

required fields are now specified first.
Create implies sending a POST to the Recurly API.
New implies creation in memory.
Create implies sending a POST to the Recurly API.
New implies creation in memory.
previous behavior of overwriting the existing object
properties was incorrect

also started multi-refund support
After an operation which rehydrates the Invoice,
we were adding more Transactions to the Transactions
collection. Now fixed.
aheckmann added a commit that referenced this pull request Apr 14, 2014
@aheckmann aheckmann merged commit e130190 into v2 Apr 14, 2014
@aheckmann aheckmann deleted the v2-rc1 branch April 14, 2014 18:53
@aheckmann aheckmann restored the v2-rc1 branch April 14, 2014 18:53
@aheckmann aheckmann deleted the v2-rc1 branch April 14, 2014 18:53
@bhelx bhelx added the V2 V2 Client label Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
V2 V2 Client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants