Methods
(async, static) getShippingIDDetails(cartID, addressId)
get shipping id details
Parameters:
Name | Type | Description |
---|---|---|
cartID |
number | cart id |
addressId |
number | address id |
(async, static) getShippingTrackingDetails(cartID)
get shipping tracking details
Parameters:
Name | Type | Description |
---|---|---|
cartID |
number | cart id |
(async, static) insertLog(nameID) → {object}
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)
insert shipping response
Parameters:
Name | Type | Description |
---|---|---|
cartID |
number | cart id |
addressID |
number | address id |
response |
object | resopnse |
(async, static) updateConfirmationResponse(shipID, trackingID, response)
update confirmation resposne
Parameters:
Name | Type | Description |
---|---|---|
shipID |
number | shipping id |
trackingID |
number | tracking id |
response |
object | response |
(async, static) updateLog(data) → {object}
update log
Parameters:
Name | Type | Description |
---|---|---|
data |
string | log data |
Returns:
sql response
- Type
- object
(async, static) updateShippingID(shippingData, cartID, addressID)
update shipping id
Parameters:
Name | Type | Description |
---|---|---|
shippingData |
object | |
cartID |
number | cart |
addressID |
number | address id |