feat(member): add billingCadence field to schema
This commit is contained in:
parent
2ae27d6dda
commit
de4bfdcc16
1 changed files with 5 additions and 0 deletions
|
|
@ -40,6 +40,11 @@ const memberSchema = new mongoose.Schema({
|
||||||
},
|
},
|
||||||
helcimCustomerId: String,
|
helcimCustomerId: String,
|
||||||
helcimSubscriptionId: String,
|
helcimSubscriptionId: String,
|
||||||
|
billingCadence: {
|
||||||
|
type: String,
|
||||||
|
enum: ['monthly', 'annual'],
|
||||||
|
default: 'monthly',
|
||||||
|
},
|
||||||
paymentMethod: {
|
paymentMethod: {
|
||||||
type: String,
|
type: String,
|
||||||
enum: ["card", "bank", "none"],
|
enum: ["card", "bank", "none"],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue