getters.js 593 B

12345678910111213141516171819202122
  1. const getters = {
  2. /**
  3. * [processingPayments description]
  4. * @method processingPayments
  5. * @param {[type]} state [description]
  6. * @return {[type]} [description]
  7. */
  8. processingPayments (state) {
  9. return state.processingPayments
  10. },
  11. /**
  12. * [completedPayments description]
  13. * @method completedPayments
  14. * @param {[type]} state [description]
  15. * @return {[type]} [description]
  16. */
  17. completedPayments (state) {
  18. return state.completedPayments
  19. }
  20. }
  21. export default getters