sergiors / iugu

4 stars 1 forks source link

Payment data formatter class created #2

Closed ronaldooliveiradevbr closed 7 years ago

ronaldooliveiradevbr commented 7 years ago

Hi, Sergio! How is it going?

I've created a class to inject formatted payment data to Iugu class getResponse() method.

I would really appreciate any feedback you can give me :-)

Thanks!

sergiors commented 7 years ago

@rfdeoliveira I think that formatter doesn't have responsibility on Charge and PaymentMethod, but for the moment, this seems the best way.

ronaldooliveiradevbr commented 7 years ago

Yeah! I see... I'm going to do further readings of the documentation and study a better way to solve this problem.

Thanks for your feedback!