braintree_java icon indicating copy to clipboard operation
braintree_java copied to clipboard

Missing getExpirationMonth() and getExpirationYear() in PaymentMethodNonceDetails

Open jmsjr opened this issue 3 years ago • 1 comments

General information

  • SDK/Library version: 3.16.1 up to 3.18.0
  • Environment: Both
  • Language, language version, and OS: Java 1.8.0_322 on Windows10 and Ubuntu 22.04.01 LTS

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

jmsjr avatar Sep 28 '22 23:09 jmsjr

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

For internal tracking, issue 506

hollabaq86 avatar Sep 29 '22 18:09 hollabaq86

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

saralvasquez avatar Dec 20 '22 00:12 saralvasquez