Files
medusa-store/packages/medusa/src/services/system-payment-provider.js
T

52 lines
713 B
JavaScript

import { BaseService } from "medusa-interfaces"
class SystemProviderService extends BaseService {
static identifier = "system"
constructor(_) {
super()
}
async createPayment(_) {
return {}
}
async getStatus(_) {
return "authorized"
}
async getPaymentData(_) {
return {}
}
async authorizePayment(_) {
return { data: {}, status: "authorized" }
}
async updatePaymentData(_) {
return {}
}
async updatePayment(_) {
return {}
}
async deletePayment(_) {
return {}
}
async capturePayment(_) {
return {}
}
async refundPayment(_) {
return {}
}
async cancelPayment(_) {
return {}
}
}
export default SystemProviderService