Generate cart and line-item resources and defined their relationship