artaShippingModule

artaShippingModule

class to handle deposit functions

Constructor

new artaShippingModule()

Source:

Methods

(async, static) getShippingIDDetails(cartID, addressID, response) → {object}

Source:

update shipping id

Parameters:
Name Type Description
cartID number

cart id

addressID number

address id

response object

shipping data

Returns:

sql query

Type
object

(async, static) getShippingTrackingDetails(cartID) → {object}

Source:

get shipping tracking details

Parameters:
Name Type Description
cartID number

cart id

Returns:

sql query

Type
object

(async, static) insertShippingResponse(cartID, addressID, response) → {object}

Source:

update shipping id

Parameters:
Name Type Description
cartID number

cart id

addressID number

address id

response object

shipping data

Returns:

sql query

Type
object

(async, static) updateConfirmationResponse(cartID, addressID, response) → {object}

Source:

update shipping id

Parameters:
Name Type Description
cartID number

cart id

addressID number

address id

response object

shipping data

Returns:

sql query

Type
object

(async, static) updateLog(projectId, method)

Source:

get project id from cart id

Parameters:
Name Type Description
projectId number

request object

method shipping.arta.metadataTransport

(async, static) updateShippingID(shippingData, cartID, addressID) → {object}

Source:

update shipping id

Parameters:
Name Type Description
shippingData object

shipping data

cartID number

cart id

addressID number

address id

Returns:

sql query

Type
object