您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

paymentService.ts 458B

12345678910111213141516171819202122
  1. import { PaymentType } from "@/types/payment";
  2. const dummyPaymentTypeData:PaymentType[] = [
  3. {
  4. id: 1,
  5. type: "Card",
  6. description: "Transfer via card number",
  7. icon_id: "card"
  8. },
  9. {
  10. id: 2,
  11. type: "FPX",
  12. description: "Transfer via card number",
  13. icon_id: "bank"
  14. }
  15. ]
  16. export const getPaymentType = async ():Promise<PaymentType[] | undefined> => {
  17. return dummyPaymentTypeData
  18. }