Apple Pay Card does not expose Cardholder Name
General information
- SDK/Library version: any
- Environment: any
- Language, language version, and OS: Ruby, MacOS
Issue description
I'm looking at the docs here: https://developer.paypal.com/braintree/docs/reference/response/apple-pay-card#cardholder_name and the code here: https://github.com/braintree/braintree_ruby/blob/f18d293b91d4c44e801f213313d6f777fc08a99b/lib/braintree/apple_pay_card.rb#L14
I can see the @cardholder_name instance variable and (being Ruby) can even access it with
> apple_pay_card.instance_variable_get :@cardholder_name
=> "AmEx Apple Pay Cardholder"
I believe an attr_accessor is all that's missing.
On another note though, I see billing_address in the docs but not in the SDK anywhere
👋 @AxelTheGerman thanks for reaching, we're going to reach out to the engineering team behind our Apple Pay integration to get this fixed up. I'll leave this open until that's resolved.
@hollabaq86 just to support things a bit more, I took the liberty to provide a PR. Hope that helps :)
This was merged and released in the latest version of the SDK (4.9.0)