shipEngineModule

shipEngineModule

class to handle deposit functions

Constructor

new shipEngineModule()

Source:

Methods

(async, static) getShippingIDDetails(cartID, addressId)

Source:

get shipping id details

Parameters:
Name Type Description
cartID number

cart id

addressId number

address id

(async, static) getShippingTrackingDetails(cartID)

Source:

get shipping tracking details

Parameters:
Name Type Description
cartID number

cart id

(async, static) insertLog(nameID) → {object}

Source:

insert log

Parameters:
Name Type Description
nameID string

email ID to check in the database.

Returns:

sql response

Type
object

(async, static) insertShippingResponse(cartID, addressID, response)

Source:

insert shipping response

Parameters:
Name Type Description
cartID number

cart id

addressID number

address id

response object

resopnse

(async, static) updateConfirmationResponse(shipID, trackingID, response)

Source:

update confirmation resposne

Parameters:
Name Type Description
shipID number

shipping id

trackingID number

tracking id

response object

response

(async, static) updateLog(data) → {object}

Source:

update log

Parameters:
Name Type Description
data string

log data

Returns:

sql response

Type
object

(async, static) updateShippingID(shippingData, cartID, addressID)

Source:

update shipping id

Parameters:
Name Type Description
shippingData object
cartID number

cart

addressID number

address id