bysquare icon indicating copy to clipboard operation
bysquare copied to clipboard

feat: add payment helper functions

Open xseman opened this issue 1 year ago • 3 comments

xseman avatar Aug 09 '24 13:08 xseman

any description ?

abhishekpaturkar avatar Aug 09 '24 16:08 abhishekpaturkar

@abhishekpaturkar I was thinking about simplifying the data build for the encode function, but now I believe using helper functions like createPaymentOrder() for PaymentOrder, StandingOrder and DirectDebit might be better. I'm still not completely sure, though.

xseman avatar Aug 09 '24 17:08 xseman

By using these helper functions you mentioned, we can simplify serialize function and make it more clean.

abhishekpaturkar avatar Aug 10 '24 15:08 abhishekpaturkar

Implemented by https://github.com/xseman/bysquare/pull/48

xseman avatar Oct 09 '24 07:10 xseman