Skip to content

Commit

Permalink
Methods enum reuse payment method enum
Browse files Browse the repository at this point in the history
  • Loading branch information
adamalfredsson committed Jul 19, 2023
1 parent 5ca4dac commit c7caa16
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions src/enums/methods.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import paymentMethods from "./paymentMethods";

export default {
VIPPS: 6,
BANK: 2,
PAYPAL: 3,
AVTALEGIRO: 7,
SWISH: 10,
VIPPS: paymentMethods.vipps,
BANK: paymentMethods.bank,
PAYPAL: paymentMethods.paypal,
AVTALEGIRO: paymentMethods.avtalegiro,
SWISH: paymentMethods.swish,
};
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
bank: 2,
bank_no_KID: 5,
vipps_KID: 4,
Expand Down

0 comments on commit c7caa16

Please sign in to comment.