-
Notifications
You must be signed in to change notification settings - Fork 2
EF Orders
Jin Li edited this page May 1, 2016
·
6 revisions
EF-Orders
{
accountID:{
type: String
},
details:{
type:[String] // ClassStudentID
},
status: {
type: String,
allowedValues : ['pending', 'checkouted', 'expired', 'canceled']
},
amount:{
type: Number
},
registrationFee:{
type: Number,
optional: true
},
discount:{ // the discounts coming from coupon
type: Number,
optional: true
},
paymentTotal:{ // actual total payment, including process fee (like when using a credit card)
type: String,
optional: true
},
couponID:{
type: String,
optional: true
},
customerCouponID: {
type: String,
optional: true
},
schoolCredit:{
type: Number,
optional: true
},
createTime: EdminForce.utils.schemaUtil.createTime(),
updateTime: EdminForce.utils.schemaUtil.updateTime()
}