diff --git a/ghost/stripe/lib/StripeService.js b/ghost/stripe/lib/StripeAPI.js similarity index 98% rename from ghost/stripe/lib/StripeService.js rename to ghost/stripe/lib/StripeAPI.js index d8df807382..344cc8b573 100644 --- a/ghost/stripe/lib/StripeService.js +++ b/ghost/stripe/lib/StripeAPI.js @@ -16,7 +16,7 @@ const STRIPE_API_VERSION = '2020-08-27'; */ /** - * @typedef {object} IStripeServiceConfig + * @typedef {object} IStripeAPIConfig * @prop {string} secretKey * @prop {string} publicKey * @prop {object} appInfo @@ -27,12 +27,12 @@ const STRIPE_API_VERSION = '2020-08-27'; * @prop {boolean} enablePromoCodes */ -module.exports = class StripeService { +module.exports = class StripeAPI { /** - * StripeService + * StripeAPI * * @param {object} params - * @param {IStripeServiceConfig} params.config + * @param {IStripeAPIConfig} params.config */ constructor({config}) { /** @type {Stripe} */ @@ -52,7 +52,7 @@ module.exports = class StripeService { } /** - * @param {IStripeServiceConfig} config + * @param {IStripeAPIConfig} config * @returns {void} */ configure(config) {