@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:28
endDate¶
• Optional endDate: Date
Defined in¶
services/payment-service/src/models/subscriptions.model.ts:63
gatewaySubscriptionId¶
• Optional gatewaySubscriptionId: string
Defined in¶
services/payment-service/src/models/subscriptions.model.ts:69
id¶
• id: string
Defined in¶
services/payment-service/src/models/subscriptions.model.ts:16
metaData¶
• Optional metaData: Object
Defined in¶
services/payment-service/src/models/subscriptions.model.ts:51
paymentGatewayId¶
• Optional paymentGatewayId: string
Defined in¶
services/payment-service/src/models/subscriptions.model.ts:40
paymentMethod¶
• Optional paymentMethod: string
Defined in¶
services/payment-service/src/models/subscriptions.model.ts:46
planId¶
• Optional planId: string
Defined in¶
services/payment-service/src/models/subscriptions.model.ts:75
startDate¶
• Optional startDate: Date
Defined in¶
services/payment-service/src/models/subscriptions.model.ts:57
status¶
• status: string
Defined in¶
services/payment-service/src/models/subscriptions.model.ts:34
totalAmount¶
• totalAmount: number
Defined in¶
services/payment-service/src/models/subscriptions.model.ts:23