braintree / braintree_java

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

Missing getExpirationMonth() and getExpirationYear() in PaymentMethodNonceDetails #117

Closed jmsjr closed 1 year ago

jmsjr commented 1 year ago

General information

Issue description

The on-line documentation indicates a way to obtain the expiration month and expiration year from a nonce:

https://developer.paypal.com/braintree/docs/reference/response/payment-method-nonce#details.expiration_month

However, the methods getExpirationMonth() and getExpirationYear() are not available in the actual library. I need a way to extract this info from a nonce on the Java-side/server-side.

image

hollabaq86 commented 1 year ago

👋 @jmsjr thanks for reaching out and reporting this discrepancy. We'll get this fixed up.

For internal tracking, issue 506

saralvasquez commented 1 year ago

Changes to address this have been merged and will be released in the next version of the SDK. Thanks for bringing this to us!