Merge pull request #28244 from overleaf/kh-add-preview-charges-endpoint

[web] add API endpoint for previewing new subscription charges

GitOrigin-RevId: 6a6df51937837ece348c18aacef201eaee57e42d
This commit is contained in:
Kristina
2025-09-16 08:05:37 +00:00
committed by Copybot
parent 819b2a3a46
commit 5521bcd7f1
@@ -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
}
}