killbilling/recurly-java-library — pull request #60 by cgerrior (2014-12-17 00:54:33+00:00)
Title: Implement Subscription/Subscription Update Preview API calls

The RecurlyClient class is missing the ability to [preview a new subscription](https://docs.recurly.com/api/subscriptions#preview-sub) or to [preview a change to an existing subscription] (https://docs.recurly.com/api/subscriptions#preview-sub). Since these API calls return the same type of response as the [createSubscription](https://github.com/cgerrior/recurly-java-library/blob/master/src/main/java/com/ning/billing/recurly/RecurlyClient.java#L248) and [updateSubscription](https://github.com/cgerrior/recurly-java-library/blob/master/src/main/java/com/ning/billing/recurly/RecurlyClient.java#L324) methods do currently, I essentially copied those and modified the URL that is called appropriately.