shoppingitem

package
v0.0.0-...-d84e329 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2017 License: LGPL-2.1 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(s liferay.Session) *Service

func (*Service) AddBookItems

func (s *Service) AddBookItems(groupId int64, categoryId int64, isbns []interface{}) error

func (*Service) AddItem

func (s *Service) AddItem(groupId int64, categoryId int64, sku string, name string, description string, properties string, fieldsQuantities string, requiresShipping bool, stockQuantity int, featured bool, sale *liferay.ObjectWrapper, smallImage bool, smallImageURL string, smallFile io.Reader, mediumImage bool, mediumImageURL string, mediumFile io.Reader, largeImage bool, largeImageURL string, largeFile io.Reader, itemFields []interface{}, itemPrices []interface{}, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) DeleteItem

func (s *Service) DeleteItem(itemId int64) error

func (*Service) GetCategoriesItemsCount

func (s *Service) GetCategoriesItemsCount(groupId int64, categoryIds []interface{}) (int, error)

func (*Service) GetItem

func (s *Service) GetItem(itemId int64) (map[string]interface{}, error)

func (*Service) GetItems

func (s *Service) GetItems(groupId int64, categoryId int64) ([]interface{}, error)

func (*Service) GetItems2

func (s *Service) GetItems2(groupId int64, categoryId int64, start int, end int, obc *liferay.ObjectWrapper) ([]interface{}, error)

func (*Service) GetItemsCount

func (s *Service) GetItemsCount(groupId int64, categoryId int64) (int, error)

func (*Service) GetItemsPrevAndNext

func (s *Service) GetItemsPrevAndNext(itemId int64, obc *liferay.ObjectWrapper) ([]interface{}, error)

func (*Service) UpdateItem

func (s *Service) UpdateItem(itemId int64, groupId int64, categoryId int64, sku string, name string, description string, properties string, fieldsQuantities string, requiresShipping bool, stockQuantity int, featured bool, sale *liferay.ObjectWrapper, smallImage bool, smallImageURL string, smallFile io.Reader, mediumImage bool, mediumImageURL string, mediumFile io.Reader, largeImage bool, largeImageURL string, largeFile io.Reader, itemFields []interface{}, itemPrices []interface{}, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL