From 5521bcd7f171e7fbf89b41ad652a2259dc9af821 Mon Sep 17 00:00:00 2001 From: Kristina <7614497+khjrtbrg@users.noreply.github.com> Date: Tue, 16 Sep 2025 09:55:19 +0200 Subject: [PATCH] Merge pull request #28244 from overleaf/kh-add-preview-charges-endpoint [web] add API endpoint for previewing new subscription charges GitOrigin-RevId: 6a6df51937837ece348c18aacef201eaee57e42d --- .../app/src/Features/Subscription/PaymentProviderEntities.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/web/app/src/Features/Subscription/PaymentProviderEntities.js b/services/web/app/src/Features/Subscription/PaymentProviderEntities.js index 1d0245dce5..976be899a2 100644 --- a/services/web/app/src/Features/Subscription/PaymentProviderEntities.js +++ b/services/web/app/src/Features/Subscription/PaymentProviderEntities.js @@ -629,11 +629,15 @@ class PaymentProviderCoupon { * @param {string} props.code * @param {string} props.name * @param {string} [props.description] + * @param {boolean} [props.isSingleUse] + * @param {number | null} [props.discountMonths] */ constructor(props) { this.code = props.code this.name = props.name this.description = props.description + this.isSingleUse = props.isSingleUse + this.discountMonths = props.discountMonths } }