Shopping Record

TOOLSUTILITYDOCUMENTS

Contract purpose

Contract that keeps track of your shopping history

Contract parameters

owner : address of the owner

Exposed methods and variables

addShopping : allows the owner to add the details of one shopping cart

parameter nametypedetails
_idintegercart id
_dateintegerthe date when the shopping was done (unix epoch time)
_valueintegerhow much the owner paid for the cart
_shopNamestringthe name of the store from where the products were purchased

getCartValue : returns the value of a particular cart

parameter nametypedetails
_idintegercart id

getCartDetails : returns the details of a particular cart

parameter nametypedetails
_idintegercart id

getCartValue : returns the date of a particular purchase

parameter nametypedetails
_idintegercart id
Buy
Reviewed by Modex
Buy Contract Test Contract

Create an account or login to purchase this smart contract