chore(types): add @version to new payment provider methods (#11316)
This commit is contained in:
1 parent
9f1a3b2a42
commit
4be327819f
1 file changed
+8
@@ -420,6 +420,8 @@ export interface IPaymentProvider {
|
|||||||
* @param data - Input data including the details of the account holder to create.
|
* @param data - Input data including the details of the account holder to create.
|
||||||
* @returns The result of creating the account holder. If an error occurs, throw it.
|
* @returns The result of creating the account holder. If an error occurs, throw it.
|
||||||
*
|
*
|
||||||
|
* @version 2.5.0
|
||||||
|
*
|
||||||
* @example
|
* @example
|
||||||
* import { MedusaError } from "@medusajs/framework/utils"
|
* import { MedusaError } from "@medusajs/framework/utils"
|
||||||
*
|
*
|
||||||
@@ -463,6 +465,8 @@ export interface IPaymentProvider {
|
|||||||
* @param data - Input data including the details of the account holder to delete.
|
* @param data - Input data including the details of the account holder to delete.
|
||||||
* @returns The result of deleting the account holder. If an error occurs, throw it.
|
* @returns The result of deleting the account holder. If an error occurs, throw it.
|
||||||
*
|
*
|
||||||
|
* @version 2.5.0
|
||||||
|
*
|
||||||
* @example
|
* @example
|
||||||
* import { MedusaError } from "@medusajs/framework/utils"
|
* import { MedusaError } from "@medusajs/framework/utils"
|
||||||
*
|
*
|
||||||
@@ -497,6 +501,8 @@ export interface IPaymentProvider {
|
|||||||
* in the third-party payment provider. A payment provider that supports saving payment methods
|
* in the third-party payment provider. A payment provider that supports saving payment methods
|
||||||
* must implement this method.
|
* must implement this method.
|
||||||
*
|
*
|
||||||
|
* @version 2.5.0
|
||||||
|
*
|
||||||
* @param data - Input data including the details of the account holder to list payment methods for.
|
* @param data - Input data including the details of the account holder to list payment methods for.
|
||||||
* @returns The list of payment methods saved for the account holder. If an error occurs, throw it.
|
* @returns The list of payment methods saved for the account holder. If an error occurs, throw it.
|
||||||
*
|
*
|
||||||
@@ -538,6 +544,8 @@ export interface IPaymentProvider {
|
|||||||
* third-party payment provider. A payment provider that supports saving payment methods
|
* third-party payment provider. A payment provider that supports saving payment methods
|
||||||
* must implement this method.
|
* must implement this method.
|
||||||
*
|
*
|
||||||
|
* @version 2.5.0
|
||||||
|
*
|
||||||
* @param data - The details of the payment method to save.
|
* @param data - The details of the payment method to save.
|
||||||
* @returns The result of saving the payment method. If an error occurs, throw it.
|
* @returns The result of saving the payment method. If an error occurs, throw it.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in new issue
Block a user