bysquare
bysquare copied to clipboard
feat: add payment helper functions
any description ?
@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.
By using these helper functions you mentioned, we can simplify serialize function and make it more clean.
Implemented by https://github.com/xseman/bysquare/pull/48