@sourceloop/payment-service / Exports / Subscriptions
Class: Subscriptions¶
Hierarchy¶
-
CoreEntity<Subscriptions>↳
Subscriptions
Indexable¶
▪ [prop: string]: any
Table of contents¶
Constructors¶
Properties¶
- currency
- endDate
- gatewaySubscriptionId
- id
- metaData
- paymentGatewayId
- paymentMethod
- planId
- startDate
- status
- totalAmount
Constructors¶
constructor¶
• new Subscriptions(data?)
Parameters¶
| Name | Type |
|---|---|
data? |
Partial<Subscriptions> |
Inherited from¶
CoreEntity<Subscriptions>.constructor
Defined in¶
packages/core/dist/models/core-entity.d.ts:3
Properties¶
currency¶
• Optional currency: string
Defined in¶
services/payment-service/src/models/subscriptions.model.ts:31
endDate¶
• Optional endDate: Date
Defined in¶
services/payment-service/src/models/subscriptions.model.ts:66
gatewaySubscriptionId¶
• Optional gatewaySubscriptionId: string
Defined in¶
services/payment-service/src/models/subscriptions.model.ts:72
id¶
• id: string
Defined in¶
services/payment-service/src/models/subscriptions.model.ts:19
metaData¶
• Optional metaData: Object
Defined in¶
services/payment-service/src/models/subscriptions.model.ts:54
paymentGatewayId¶
• Optional paymentGatewayId: string
Defined in¶
services/payment-service/src/models/subscriptions.model.ts:43
paymentMethod¶
• Optional paymentMethod: string
Defined in¶
services/payment-service/src/models/subscriptions.model.ts:49
planId¶
• Optional planId: string
Defined in¶
services/payment-service/src/models/subscriptions.model.ts:78
startDate¶
• Optional startDate: Date
Defined in¶
services/payment-service/src/models/subscriptions.model.ts:60
status¶
• status: string
Defined in¶
services/payment-service/src/models/subscriptions.model.ts:37
totalAmount¶
• totalAmount: number
Defined in¶
services/payment-service/src/models/subscriptions.model.ts:26