killbilling/recurly-java-library — pull request #26 by oohira (2014-01-09 09:57:07+00:00)
Title: Support deserialization of a pending subscription.

When subscription changes are scheduled at renewal (not immediately), `` element has a child `` element, though Recurly API Document refers this only slightly (see http://docs.recurly.com/api/subscriptions).

I confirmed following xml was received from Recurly.

```xml

...

XXXX
Some plan name

1900
1

```

Because I want to handle pending subscriptions, I implemented deserialization logic of a `` element. Please review and merge this modification if possible.

Thanks