braintree / braintree_java

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

AddressRequest does not have a customer ID field #1

Closed tschlomer closed 13 years ago

tschlomer commented 13 years ago

The documentation on the AddressRequest is incorrect: http://www.braintreepaymentsolutions.com/docs/java/addresses/create

It should show that the customerId is being passed into the create method itself: Result

result = gateway.address().create(customerId, request);

braintreeps commented 13 years ago

Sorry our docs sent you in the wrong direction here. Thanks for pointing this out.

I've corrected the reference, and the updated docs are online: http://www.braintreepaymentsolutions.com/docs/java/addresses/create

Paul Hinze Braintree Developer