braintree / braintree_java

Braintree Java library
https://developer.paypal.com/braintree/docs/start/overview
MIT License
158 stars 99 forks source link

implement Serializable on API Response objects #80

Closed Stexxen closed 4 years ago

Stexxen commented 4 years ago

General information

This is a request for change.

Issue description

Can the Response objects from the API implement the java.io.Serializable interface. an Example would be com.braintreegateway.Customer

We use caching via Redis, and integration via a JMS Queue, and not having to convert the data into JSON string and then convert back when inflating would be very useful.

Would you expect a PR for this?

crookedneighbor commented 4 years ago

As long as this doesn't add a new dependency to the SDK, and doesn't break backwards compatibility, we'd be happy to review a PR.

crookedneighbor commented 4 years ago

We're going to close this due to inactivity. Feel free to open a PR for this in the future and we're happy to review it.