ec_cart v0.1.0 Ec.Cart.Item

Definition of the structure of an Item used by Ec.Cart

Summary

Functions

Creates a structure based on

Functions

new(ec_sku, ec_price, ec_qty, attr)

Creates a structure based on:

ec_sku SKU of the item

ec_price Float that represents the price of the item

ec_qty Number that represents the quantity of the item

attr Aditional attributes that needs to be attached to the item, like description, name, etc.