mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
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:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user