func revertPayments(input []Payment) []Payment {
	if len(input) == 0 {
		return input
	}
	return append(revertPayments(input[1:]), input[0])
}
// Reverts the order of the array Payment
Reverts the order of the array Payment
// Reverts the order of the array Payment
func revertPayments(input []Payment) []Payment {
	if len(input) == 0 {
		return input
	}
	return append(revertPayments(input[1:]), input[0])
}
func revertPayments ( input [ ] Payment ) [ ] Payment { if len ( input ) == 0 { return input } return append ( revertPayments ( input [ 1 : ] ) , input [ 0 ] ) }
Reverts the order of the array Payment
Reverts the order of the array Payment