adminRefundModule

adminRefundModule

class to handle communication functions

Constructor

new adminRefundModule()

Source:

Methods

(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) 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