moip-sdk-java-le icon indicating copy to clipboard operation
moip-sdk-java-le copied to clipboard

Support to use an existing credit card when create a payment

Open caiogaspar opened this issue 9 years ago • 6 comments

To support using an existing credit card when create a payment, is needed: to create a property and a setter method to credit card ID in the class CreditCardRequest.

You can find the official API documentation to create a payment here (PT-BR)!


Implementation Tips:

See the implementation of hash property in CreditCardRequest, the class has a setter (hash) and getter (getHash). So all you have to do:

  • Add the property id in the class;
  • Create the setter and getter methods.
  • It's done :)

caiogaspar avatar Oct 17 '17 18:10 caiogaspar

@caiogaspar Hi. I want to take this issue.

vkdrn avatar Oct 17 '17 19:10 vkdrn

I'll implement but need more details about the feature

diegorramos avatar Oct 17 '17 19:10 diegorramos

@vkdrn @Polovinsky I edited the description adding more details about what is needed ;)

caiogaspar avatar Oct 18 '17 10:10 caiogaspar

Cool!

diegorramos avatar Oct 18 '17 13:10 diegorramos

@caiogaspar Done it

vkdrn avatar Oct 18 '17 21:10 vkdrn

Any idea when this patch will be released?

danieldhp avatar Oct 26 '17 21:10 danieldhp