Methods
(async, static) allCartItems(req, data, count) → {object}
- Source:
all cart Items
Parameters:
Name | Type | Description |
---|---|---|
req |
object | request object |
data |
object | data |
count |
number | number of items to retrive |
Returns:
sql response
- Type
- object
(async, static) authorizeInsertPayRecord(cardDetails, cartValue, data) → {object}
- Source:
Insert Pay records
Parameters:
Name | Type | Description |
---|---|---|
cardDetails |
object | object of the Cart Details |
cartValue |
object | object of the Cart Values |
data |
object | req.body object |
Returns:
sql response
- Type
- object
(async, static) cartLocationDetails(cartID) → {object}
- Source:
cart Location Details
Parameters:
Name | Type | Description |
---|---|---|
cartID |
number | cart id |
Returns:
sql response
- Type
- object
(async, static) getCartDetails(cartID) → {object}
- Source:
get cart Details
Parameters:
Name | Type | Description |
---|---|---|
cartID |
object | object of the Cart Details |
Returns:
sql response
- Type
- object
(async, static) getMinimumInvoiceID(cardID) → {object}
- Source:
get Minimum Invoice Id
Parameters:
Name | Type | Description |
---|---|---|
cardID |
string | object of the CardID |
Returns:
sql response
- Type
- object
(async, static) getPayRecords(cartID) → {object}
- Source:
Get Pay records
Parameters:
Name | Type | Description |
---|---|---|
cartID |
number |
cart ID which has to be marked as paid |
Returns:
sql response
- Type
- object
(async, static) markBuyNowRefundConfirm(cartID, paid) → {object}
- Source:
Mark Buy Now Refund confirmation
Parameters:
Name | Type | Description |
---|---|---|
cartID |
number |
cart ID which has to be marked as paid |
paid |
number | paid status 0 or 1 |
Returns:
sql response
- Type
- object
(async, static) markReturnCartPaid(cartID, paid) → {object}
- Source:
Mark Refund Cart as Paid
Parameters:
Name | Type | Description |
---|---|---|
cartID |
number |
cart ID which has to be marked as paid |
paid |
number | paid status 0 or 1 |
Returns:
sql response
- Type
- object
(async, static) updateBuynowAppointment(cartID, aptnID) → {object}
- Source:
Update Buy Now Appointment
Parameters:
Name | Type | Description |
---|---|---|
cartID |
number |
cart ID which has to be marked as paid |
aptnID |
number |
appointment ID which has to be updated |
Returns:
sql response
- Type
- object