Merge pull request #6409 from medusajs/docs/fix-description-payment-processor

docs(payments): Fix incorrect reference in payment processor tsdoc
This commit is contained in:
Stevche Radevski
2024-02-16 09:36:19 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -653,7 +653,7 @@ export abstract class AbstractPaymentProcessor implements PaymentProcessor {
* you can access it in the constructor. The options are passed as a second parameter.
*
* @param {Record<string, unknown>} container - An instance of `MedusaContainer` that allows you to access other resources, such as services, in your Medusa backend through [dependency injection](https://docs.medusajs.com/development/fundamentals/dependency-injection)
* @param {Record<string, unknown>} config - If this fulfillment provider is created in a plugin, the plugin's options are passed in this parameter.
* @param {Record<string, unknown>} config - If this payment processor is created in a plugin, the plugin's options are passed in this parameter.
*
* @example
* ```ts

View File

@@ -18,7 +18,7 @@ export abstract class AbstractPaymentProvider implements IPaymentProvider {
* you can access it in the constructor. The options are passed as a second parameter.
*
* @param {MedusaContainer} container - An instance of `MedusaContainer` that allows you to access other resources, such as services, in your Medusa backend through [dependency injection](https://docs.medusajs.com/development/fundamentals/dependency-injection)
* @param {Record<string, unknown>} config - If this fulfillment provider is created in a plugin, the plugin's options are passed in this parameter.
* @param {Record<string, unknown>} config - If this payment processor is created in a plugin, the plugin's options are passed in this parameter.
*
* @example
* ```ts