fix(payment): add account holder methods to the manual provider (#12751)
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@medusajs/payment": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix(payment): add account holder methods to the manual provider
|
||||||
@@ -7,6 +7,10 @@ import {
|
|||||||
CancelPaymentOutput,
|
CancelPaymentOutput,
|
||||||
CapturePaymentInput,
|
CapturePaymentInput,
|
||||||
CapturePaymentOutput,
|
CapturePaymentOutput,
|
||||||
|
CreateAccountHolderInput,
|
||||||
|
CreateAccountHolderOutput,
|
||||||
|
DeleteAccountHolderInput,
|
||||||
|
DeleteAccountHolderOutput,
|
||||||
DeletePaymentInput,
|
DeletePaymentInput,
|
||||||
DeletePaymentOutput,
|
DeletePaymentOutput,
|
||||||
GetPaymentStatusInput,
|
GetPaymentStatusInput,
|
||||||
@@ -77,6 +81,18 @@ export class SystemProviderService extends AbstractPaymentProvider {
|
|||||||
return { data: {} }
|
return { data: {} }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async createAccountHolder(
|
||||||
|
input: CreateAccountHolderInput
|
||||||
|
): Promise<CreateAccountHolderOutput> {
|
||||||
|
return { id: input.context.customer.id }
|
||||||
|
}
|
||||||
|
|
||||||
|
async deleteAccountHolder(
|
||||||
|
input: DeleteAccountHolderInput
|
||||||
|
): Promise<DeleteAccountHolderOutput> {
|
||||||
|
return { data: {} }
|
||||||
|
}
|
||||||
|
|
||||||
async refundPayment(input: RefundPaymentInput): Promise<RefundPaymentOutput> {
|
async refundPayment(input: RefundPaymentInput): Promise<RefundPaymentOutput> {
|
||||||
return { data: {} }
|
return { data: {} }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user