managers

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	Token    string
	ClientID string
}

Auth Auth

type CustomerPasswordResponse added in v0.1.0

type CustomerPasswordResponse struct {
	Success  bool   `json:"success"`
	Username string `json:"username"`
	Password string `json:"password"`
}

CustomerPasswordResponse CustomerPasswordResponse

type LocalStoreAdminUser

type LocalStoreAdminUser struct {
	Username string
	Password string
}

LocalStoreAdminUser LocalStoreAdminUser

type LocalStoreResponse

type LocalStoreResponse struct {
	Success bool   `json:"success"`
	StoreID int64  `json:"storeId"`
	Code    int64  `json:"code"`
	Message string `json:"message"`
}

LocalStoreResponse LocalStoreResponse

type Manager

type Manager interface {
	GetSecurityProfile(storeName string, localDomain string) *SecurityProfile

	CreateLocalStore(auth *LocalStoreAdminUser) *LocalStoreResponse

	// // Store --------------------------
	// //Can only add a store when in external oauth mode
	AddStore(s *sdbi.Store) *ResponseID

	UpdateStore(s *sdbi.Store) *Response
	GetStore(sname string, localDomain string) *sdbi.Store

	// //can only delete a store when in the external oauth mode
	DeleteStore(sname string, localDomain string) *Response

	// //customer
	AddCustomer(c *sdbi.Customer) *ResponseID
	UpdateCustomer(c *sdbi.Customer) *Response
	GetCustomer(email string, storeID int64) *sdbi.Customer
	GetCustomerID(id int64, storeID int64) *sdbi.Customer
	GetCustomerList(storeID int64, start int64, end int64) *[]sdbi.Customer
	DeleteCustomer(id int64, storeID int64) *Response

	// only for local single store installations
	AddAdminUser(u *User) *Response

	AddCustomerUser(u *User) *Response
	UpdateUser(u *User) *Response
	AdminUpdateUser(u *User) *Response
	GetUser(u *User) *UserResponse
	GetAdminUsers(storeID int64) *[]UserResponse
	GetCustomerUsers(storeID int64) *[]UserResponse
	GetUsersByCustomer(cid int64, storeID int64) *[]UserResponse
	ValidateUser(u *User) *Response
	ResetCustomerPassword(u *User) *CustomerPasswordResponse

	//oauth users
	AddOAuthUser(user *OAuthUser, auth *Auth) *Response
	UpdateOAuthUser(user *OAuthUser, auth *Auth) *Response
	GetOAuthUser(username string, clientID string, auth *Auth) (*OAuthUserUser, int)
	GetOAuthUserList(clientID string, auth *Auth) (*[]OAuthUser, int)
	DeleteOAuthUser(username string, clientID string, auth *Auth) *Response

	// //distributors
	AddDistributor(d *sdbi.Distributor) *ResponseID
	UpdateDistributor(d *sdbi.Distributor) *Response
	GetDistributor(id int64, storeID int64) *sdbi.Distributor
	GetDistributorList(storeID int64) *[]sdbi.Distributor
	DeleteDistributor(id int64, storeID int64) *Response

	// //Cart
	AddCart(c *sdbi.Cart) *ResponseID
	UpdateCart(c *sdbi.Cart) *Response
	GetCart(cid int64, storeID int64) *sdbi.Cart
	DeleteCart(id int64, cid int64, storeID int64) *Response

	// //cart item
	AddCartItem(ci *sdbi.CartItem, cid int64, sid int64) *ResponseID
	UpdateCartItem(ci *sdbi.CartItem, cid int64, sid int64) *Response
	GetCarItem(cid int64, prodID int64, sid int64) *sdbi.CartItem
	GetCartItemList(cartID int64, cid int64, sid int64) *[]sdbi.CartItem
	DeleteCartItem(id int64, prodID int64, cartID int64) *Response

	// //address
	AddAddress(a *sdbi.Address, sid int64) *ResponseID
	UpdateAddress(a *sdbi.Address, sid int64) *Response
	GetAddress(id int64, cid int64, sid int64) *sdbi.Address
	GetAddressList(cid int64, sid int64) *[]sdbi.Address
	DeleteAddress(id int64, cid int64, sid int64) *Response

	// //category
	AddCategory(c *sdbi.Category) *ResponseID
	UpdateCategory(c *sdbi.Category) *Response
	GetCategory(id int64, sid int64) *sdbi.Category
	GetHierarchicalCategoryList(storeID int64) *[]sdbi.Category
	GetCategoryList(storeID int64) *[]sdbi.Category
	GetSubCategoryList(catID int64) *[]sdbi.Category
	DeleteCategory(id int64, sid int64) *Response

	// //shipping method
	AddShippingMethod(s *sdbi.ShippingMethod) *ResponseID
	UpdateShippingMethod(s *sdbi.ShippingMethod) *Response
	GetShippingMethod(id int64, sid int64) *sdbi.ShippingMethod
	GetShippingMethodList(storeID int64) *[]sdbi.ShippingMethod
	DeleteShippingMethod(id int64, sid int64) *Response

	// //shipping insurance
	AddInsurance(i *sdbi.Insurance) *ResponseID
	UpdateInsurance(i *sdbi.Insurance) *Response
	GetInsurance(id int64, sid int64) *sdbi.Insurance
	GetInsuranceList(storeID int64) *[]sdbi.Insurance
	DeleteInsurance(id int64, sid int64) *Response

	//tax rate
	AddTaxRate(t *sdbi.TaxRate) *ResponseID
	UpdateTaxRate(t *sdbi.TaxRate) *Response
	GetTaxRate(country string, state string, sid int64) *[]sdbi.TaxRate
	GetTaxRateList(storeID int64) *[]sdbi.TaxRate
	DeleteTaxRate(id int64, sid int64) *Response

	// //product
	AddProduct(p *sdbi.Product) *ResponseID
	UpdateProduct(p *sdbi.Product) *Response
	UpdateProductQuantity(p *sdbi.Product) *Response
	GetProductByID(id int64, sid int64) *sdbi.Product
	GetProductByBySku(sku string, distributorID int64, sid int64) *sdbi.Product
	GetProductsByPromoted(sid int64, start int64, end int64) *[]sdbi.Product
	GetProductsByName(name string, sid int64, start int64, end int64) *[]sdbi.Product
	GetProductsByCaterory(catID int64, sid int64, start int64, end int64) *[]sdbi.Product
	GetProductList(storeID int64, start int64, end int64) *[]sdbi.Product
	GetProductSubSkuList(storeID int64, parentProdID int64) *[]sdbi.Product
	GetProductIDList(sid int64) *[]int64
	GetProductIDListByCategories(sid int64, catList *[]int64) *[]int64
	DeleteProduct(id int64, sid int64) *Response

	GetProductManufacturerListByProductName(name string, storeID int64) *[]string
	GetProductManufacturerListByProductSearch(attrs string, storeID int64) *[]string
	GetProductByNameAndManufacturerName(manf string, name string, storeID int64,
		start int64, end int64) *[]sdbi.Product
	GetProductManufacturerListByCatID(catID int64, storeID int64) *[]string
	GetProductByCatAndManufacturer(catID int64, manf string, storeID int64,
		start int64, end int64) *[]sdbi.Product

	ProductSearch(p *sdbi.ProductSearch) *[]sdbi.Product

	// //Geographic Regions
	AddRegion(r *sdbi.Region) *ResponseID
	UpdateRegion(r *sdbi.Region) *Response
	GetRegion(id int64, sid int64) *sdbi.Region
	GetRegionList(storeID int64) *[]sdbi.Region
	DeleteRegion(id int64, sid int64) *Response

	// //Geographic Sub Regions
	AddSubRegion(s *sdbi.SubRegion, sid int64) *ResponseID
	UpdateSubRegion(s *sdbi.SubRegion, sid int64) *Response
	GetSubRegion(id int64, sid int64) *sdbi.SubRegion
	GetSubRegionList(regionID int64, sid int64) *[]sdbi.SubRegion
	DeleteSubRegion(id int64, sid int64) *Response

	// //excluded sub regions
	AddExcludedSubRegion(e *sdbi.ExcludedSubRegion, sid int64) *ResponseID
	UpdateExcludedSubRegion(e *sdbi.ExcludedSubRegion, sid int64) *Response
	GetExcludedSubRegion(id int64, sid int64) *sdbi.ExcludedSubRegion
	GetExcludedSubRegionList(regionID int64, sid int64) *[]sdbi.ExcludedSubRegion
	DeleteExcludedSubRegion(id int64, regionID int64, sid int64) *Response

	// //included sub regions
	AddIncludedSubRegion(e *sdbi.IncludedSubRegion, sid int64) *ResponseID
	UpdateIncludedSubRegion(e *sdbi.IncludedSubRegion, sid int64) *Response
	GetIncludedSubRegion(id int64, sid int64) *sdbi.IncludedSubRegion
	GetIncludedSubRegionList(regionID int64, sid int64) *[]sdbi.IncludedSubRegion
	DeleteIncludedSubRegion(id int64, regionID int64, sid int64) *Response

	// //limit exclusions and inclusions to a zip code
	AddZoneZip(z *sdbi.ZoneZip, sid int64) *ResponseID
	GetZoneZipListByExclusion(exID int64, sid int64) *[]sdbi.ZoneZip
	GetZoneZipListByInclusion(incID int64, sid int64) *[]sdbi.ZoneZip
	DeleteZoneZip(id int64, incID int64, exID int64, sid int64) *Response

	// //product category
	AddProductCategory(pc *sdbi.ProductCategory, sid int64) *Response
	GetProductCategoryList(productID int64) *[]int64
	DeleteProductCategory(pc *sdbi.ProductCategory, sid int64) *Response

	// //Orders
	AddOrder(o *sdbi.Order) *ResponseID
	UpdateOrder(o *sdbi.Order) *Response
	GetOrder(id int64, sid int64) *sdbi.Order
	GetOrderList(cid int64, sid int64) *[]sdbi.Order
	GetStoreOrderList(sid int64) *[]sdbi.Order
	GetStoreOrderListByStatus(status string, sid int64) *[]sdbi.Order
	GetOrderCountData(sid int64) *[]sdbi.OrderCountData
	GetOrderSalesData(sid int64) *[]sdbi.OrderSalesData
	DeleteOrder(id int64, sid int64) *Response

	// //Order Items
	AddOrderItem(i *sdbi.OrderItem, sid int64) *ResponseID
	UpdateOrderItem(i *sdbi.OrderItem, sid int64) *Response
	GetOrderItem(id int64, sid int64) *sdbi.OrderItem
	GetOrderItemList(orderID int64, sid int64) *[]sdbi.OrderItem
	DeleteOrderItem(id int64, sid int64) *Response

	// //Order Comments
	AddOrderComments(c *sdbi.OrderComment, sid int64) *ResponseID
	GetOrderCommentList(orderID int64, sid int64) *[]sdbi.OrderComment

	// //Order Payment Transactions
	AddOrderTransaction(t *sdbi.OrderTransaction, sid int64) *ResponseID
	GetOrderTransactionList(orderID int64, sid int64) *[]sdbi.OrderTransaction

	// //shipment
	AddShipment(s *sdbi.Shipment, sid int64) *ResponseID
	UpdateShipment(s *sdbi.Shipment, sid int64) *Response
	GetShipment(id int64, sid int64) *sdbi.Shipment
	GetShipmentList(orderID int64, sid int64) *[]sdbi.Shipment
	DeleteShipment(id int64, sid int64) *Response

	// //shipment boxes
	AddShipmentBox(sb *sdbi.ShipmentBox, sid int64) *ResponseID
	UpdateShipmentBox(sb *sdbi.ShipmentBox, sid int64) *Response
	GetShipmentBox(id int64, sid int64) *sdbi.ShipmentBox
	GetShipmentBoxList(shipmentID int64, sid int64) *[]sdbi.ShipmentBox
	DeleteShipmentBox(id int64, sid int64) *Response

	// //Shipment Items in box
	AddShipmentItem(si *sdbi.ShipmentItem, sid int64) *ResponseID
	UpdateShipmentItem(si *sdbi.ShipmentItem, sid int64) *Response
	GetShipmentItem(id int64, sid int64) *sdbi.ShipmentItem
	GetShipmentItemList(shipmentID int64, sid int64) *[]sdbi.ShipmentItem
	GetShipmentItemListByBox(boxNumber int64, shipmentID int64, sid int64) *[]sdbi.ShipmentItem
	DeleteShipmentItem(id int64, sid int64) *Response

	// //Global Plugins
	AddPlugin(p *sdbi.Plugins) *ResponseID
	UpdatePlugin(p *sdbi.Plugins) *Response
	GetPlugin(id int64) *sdbi.Plugins
	GetPluginList(start int64, end int64) *[]sdbi.Plugins
	DeletePlugin(id int64) *Response

	// //store plugins installed
	AddStorePlugin(sp *sdbi.StorePlugins) *ResponseID
	UpdateStorePlugin(sp *sdbi.StorePlugins) *Response
	GetStorePlugin(id int64, sid int64) *sdbi.StorePlugins
	GetStorePluginList(storeID int64) *[]sdbi.StorePlugins
	DeleteStorePlugin(id int64, sid int64) *Response

	// //Plugins that are payment gateways
	AddPaymentGateway(pgw *sdbi.PaymentGateway, sid int64) *ResponseID
	UpdatePaymentGateway(pgw *sdbi.PaymentGateway, sid int64) *Response
	GetPaymentGateway(id int64, sid int64) *sdbi.PaymentGateway
	GetPaymentGatewayByName(name string, sid int64) *sdbi.PaymentGateway
	GetPaymentGateways(storeID int64) *[]sdbi.PaymentGateway
	DeletePaymentGateway(id int64, sid int64) *Response

	// //store shipment carrier like UPS and FEDex
	AddShippingCarrier(c *sdbi.ShippingCarrier) *ResponseID
	UpdateShippingCarrier(c *sdbi.ShippingCarrier) *Response
	GetShippingCarrier(id int64, sid int64) *sdbi.ShippingCarrier
	GetShippingCarrierList(storeID int64) *[]sdbi.ShippingCarrier
	DeleteShippingCarrier(id int64, sid int64) *Response

	// //----------------start datastore------------------------------------
	// //this gets called when a node start up and add only if it doesn't already exist
	AddLocalDatastore(d *sdbi.LocalDataStore) *Response

	// //This get get called when a change is made to a datastore from a node in the cluster
	// //Or after all reloads have completed and then get set to Reload = false
	UpdateLocalDatastore(d *sdbi.LocalDataStore) *Response

	// //This gets call by cluster nodes to see if there are pending reload
	GetLocalDatastore(storeID int64, dataStoreName string) *sdbi.LocalDataStore

	// //---------------------start instance--------------------
	// // this gets called when each instance is started and added only if never added before
	// //The instance name is pulled from Docker or an manually entered env variable
	AddInstance(i *sdbi.Instances) *Response

	// //This gets called after instance gets reloaded
	UpdateInstance(i *sdbi.Instances) *Response

	// //Gets called before updating an instance
	GetInstance(name string, dataStoreName string, storeID int64) *sdbi.Instances

	// //Gets called before or after updating an instance and allows a single instance
	// to clear the datastore reload flag if all instances have reloaded
	// this give any single instance visibility into other instances
	GetInstanceList(dataStoreName string, storeID int64) *[]sdbi.Instances

	// //-------------------start write lock-------------
	// //gets called after UI makes changes to one of the datastores
	// //If the datastore already exists, the Update method is called from within add
	AddDataStoreWriteLock(w *sdbi.DataStoreWriteLock) *Response
	UpdateDataStoreWriteLock(w *sdbi.DataStoreWriteLock) *Response

	// //gets called from within the add method and by any node trying to update a datastore
	GetDataStoreWriteLock(dataStore string, storeID int64) *sdbi.DataStoreWriteLock

	AddVisit(v *sdbi.Visitor) bool
	GetVisitorData(storeID int64) *[]sdbi.VisitorData
}

Manager Manager

type OAuthUser

type OAuthUser struct {
	Username     string `json:"username"`
	Password     string `json:"password"`
	Enabled      bool   `json:"enabled"`
	EmailAddress string `json:"emailAddress"`
	FirstName    string `json:"firstName"`
	LastName     string `json:"lastName"`
	RoleID       int64  `json:"roleId"`
	ClientID     int64  `json:"clientId"`
}

OAuthUser OAuthUser

type OAuthUserUser

type OAuthUserUser struct {
	Username  string    `json:"username"`
	Enabled   bool      `json:"enabled"`
	Entered   time.Time `json:"dateEntered"`
	Email     string    `json:"emailAddress"`
	FirstName string    `json:"firstName"`
	LastName  string    `json:"lastName"`
	RoleID    int64     `json:"roleId"`
	ClientID  int64     `json:"clientId"`
}

OAuthUserUser OAuthUserUser

type OauthUserList

type OauthUserList struct {
	Username  string `json:"username"`
	Enabled   bool   `json:"enabled"`
	FirstName string `json:"firstName"`
	LastName  string `json:"lastName"`
	ClientID  int64  `json:"clientId"`
}

OauthUserList OauthUserList

type Response

type Response struct {
	Success bool   `json:"success"`
	Code    int64  `json:"code"`
	Message string `json:"message"`
}

Response Response

type ResponseID

type ResponseID struct {
	ID      int64  `json:"id"`
	Success bool   `json:"success"`
	Code    int64  `json:"code"`
	Message string `json:"message"`
}

ResponseID ResponseID

type SecurityProfile

type SecurityProfile struct {
	IsOAuthOn bool
	Store     *sdbi.Store
}

SecurityProfile SecurityProfile

type Six910Manager

type Six910Manager struct {
	Db       sdbi.Six910DB
	Proxy    px.Proxy
	Log      *lg.Logger
	UserHost string
}

Six910Manager Six910Manager

func (*Six910Manager) AddAddress

func (m *Six910Manager) AddAddress(a *sdbi.Address, sid int64) *ResponseID

AddAddress AddAddress

func (*Six910Manager) AddAdminUser

func (m *Six910Manager) AddAdminUser(u *User) *Response

AddAdminUser AddAdminUser

func (*Six910Manager) AddCart

func (m *Six910Manager) AddCart(c *sdbi.Cart) *ResponseID

AddCart AddCart

func (*Six910Manager) AddCartItem

func (m *Six910Manager) AddCartItem(ci *sdbi.CartItem, cid int64, sid int64) *ResponseID

AddCartItem AddCartItem

func (*Six910Manager) AddCategory

func (m *Six910Manager) AddCategory(c *sdbi.Category) *ResponseID

AddCategory AddCategory

func (*Six910Manager) AddCustomer

func (m *Six910Manager) AddCustomer(c *sdbi.Customer) *ResponseID

AddCustomer AddCustomer

func (*Six910Manager) AddCustomerUser

func (m *Six910Manager) AddCustomerUser(u *User) *Response

AddCustomerUser AddCustomerUser

func (*Six910Manager) AddDataStoreWriteLock

func (m *Six910Manager) AddDataStoreWriteLock(w *sdbi.DataStoreWriteLock) *Response

AddDataStoreWriteLock AddDataStoreWriteLock

func (*Six910Manager) AddDistributor

func (m *Six910Manager) AddDistributor(d *sdbi.Distributor) *ResponseID

AddDistributor AddDistributor

func (*Six910Manager) AddExcludedSubRegion

func (m *Six910Manager) AddExcludedSubRegion(e *sdbi.ExcludedSubRegion, sid int64) *ResponseID

AddExcludedSubRegion AddExcludedSubRegion

func (*Six910Manager) AddIncludedSubRegion

func (m *Six910Manager) AddIncludedSubRegion(e *sdbi.IncludedSubRegion, sid int64) *ResponseID

AddIncludedSubRegion AddIncludedSubRegion

func (*Six910Manager) AddInstance

func (m *Six910Manager) AddInstance(i *sdbi.Instances) *Response

AddInstance AddInstance

func (*Six910Manager) AddInsurance

func (m *Six910Manager) AddInsurance(i *sdbi.Insurance) *ResponseID

AddInsurance AddInsurance

func (*Six910Manager) AddLocalDatastore

func (m *Six910Manager) AddLocalDatastore(d *sdbi.LocalDataStore) *Response

AddLocalDatastore AddLocalDatastore

func (*Six910Manager) AddOAuthUser

func (m *Six910Manager) AddOAuthUser(user *OAuthUser, auth *Auth) *Response

AddOAuthUser AddOAuthUser

func (*Six910Manager) AddOrder

func (m *Six910Manager) AddOrder(o *sdbi.Order) *ResponseID

AddOrder AddOrder

func (*Six910Manager) AddOrderComments

func (m *Six910Manager) AddOrderComments(c *sdbi.OrderComment, sid int64) *ResponseID

AddOrderComments AddOrderComments

func (*Six910Manager) AddOrderItem

func (m *Six910Manager) AddOrderItem(i *sdbi.OrderItem, sid int64) *ResponseID

AddOrderItem AddOrderItem

func (*Six910Manager) AddOrderTransaction

func (m *Six910Manager) AddOrderTransaction(t *sdbi.OrderTransaction, sid int64) *ResponseID

AddOrderTransaction AddOrderTransaction

func (*Six910Manager) AddPaymentGateway

func (m *Six910Manager) AddPaymentGateway(pgw *sdbi.PaymentGateway, sid int64) *ResponseID

AddPaymentGateway AddPaymentGateway

func (*Six910Manager) AddPlugin

func (m *Six910Manager) AddPlugin(p *sdbi.Plugins) *ResponseID

AddPlugin AddPlugin

func (*Six910Manager) AddProduct

func (m *Six910Manager) AddProduct(p *sdbi.Product) *ResponseID

AddProduct AddProduct

func (*Six910Manager) AddProductCategory

func (m *Six910Manager) AddProductCategory(pc *sdbi.ProductCategory, sid int64) *Response

AddProductCategory AddProductCategory

func (*Six910Manager) AddRegion

func (m *Six910Manager) AddRegion(r *sdbi.Region) *ResponseID

AddRegion AddRegion

func (*Six910Manager) AddShipment

func (m *Six910Manager) AddShipment(s *sdbi.Shipment, sid int64) *ResponseID

AddShipment AddShipment

func (*Six910Manager) AddShipmentBox

func (m *Six910Manager) AddShipmentBox(sb *sdbi.ShipmentBox, sid int64) *ResponseID

AddShipmentBox AddShipmentBox

func (*Six910Manager) AddShipmentItem

func (m *Six910Manager) AddShipmentItem(si *sdbi.ShipmentItem, sid int64) *ResponseID

AddShipmentItem AddShipmentItem

func (*Six910Manager) AddShippingCarrier

func (m *Six910Manager) AddShippingCarrier(c *sdbi.ShippingCarrier) *ResponseID

AddShippingCarrier AddShippingCarrier

func (*Six910Manager) AddShippingMethod

func (m *Six910Manager) AddShippingMethod(s *sdbi.ShippingMethod) *ResponseID

AddShippingMethod AddShippingMethod

func (*Six910Manager) AddStore

func (m *Six910Manager) AddStore(s *sdbi.Store) *ResponseID

AddStore AddStore

func (*Six910Manager) AddStorePlugin

func (m *Six910Manager) AddStorePlugin(sp *sdbi.StorePlugins) *ResponseID

AddStorePlugin AddStorePlugin

func (*Six910Manager) AddSubRegion

func (m *Six910Manager) AddSubRegion(s *sdbi.SubRegion, sid int64) *ResponseID

AddSubRegion AddSubRegion

func (*Six910Manager) AddTaxRate added in v0.1.0

func (m *Six910Manager) AddTaxRate(t *sdbi.TaxRate) *ResponseID

AddTaxRate AddTaxRate

func (*Six910Manager) AddVisit added in v0.1.0

func (m *Six910Manager) AddVisit(v *sdbi.Visitor) bool

AddVisit AddVisit

func (*Six910Manager) AddZoneZip

func (m *Six910Manager) AddZoneZip(z *sdbi.ZoneZip, sid int64) *ResponseID

AddZoneZip AddZoneZip

func (*Six910Manager) AdminUpdateUser added in v0.1.0

func (m *Six910Manager) AdminUpdateUser(u *User) *Response

AdminUpdateUser AdminUpdateUser

func (*Six910Manager) CreateLocalStore

func (m *Six910Manager) CreateLocalStore(auth *LocalStoreAdminUser) *LocalStoreResponse

CreateLocalStore CreateLocalStore

func (*Six910Manager) DeleteAddress

func (m *Six910Manager) DeleteAddress(id int64, cid int64, sid int64) *Response

DeleteAddress DeleteAddress

func (*Six910Manager) DeleteCart

func (m *Six910Manager) DeleteCart(id int64, cid int64, storeID int64) *Response

DeleteCart DeleteCart

func (*Six910Manager) DeleteCartItem

func (m *Six910Manager) DeleteCartItem(id int64, prodID int64, cartID int64) *Response

DeleteCartItem DeleteCartItem

func (*Six910Manager) DeleteCategory

func (m *Six910Manager) DeleteCategory(id int64, sid int64) *Response

DeleteCategory DeleteCategory

func (*Six910Manager) DeleteCustomer

func (m *Six910Manager) DeleteCustomer(id int64, storeID int64) *Response

DeleteCustomer DeleteCustomer

func (*Six910Manager) DeleteDistributor

func (m *Six910Manager) DeleteDistributor(id int64, storeID int64) *Response

DeleteDistributor DeleteDistributor

func (*Six910Manager) DeleteExcludedSubRegion

func (m *Six910Manager) DeleteExcludedSubRegion(id int64, regionID int64, sid int64) *Response

DeleteExcludedSubRegion DeleteExcludedSubRegion

func (*Six910Manager) DeleteIncludedSubRegion

func (m *Six910Manager) DeleteIncludedSubRegion(id int64, regionID int64, sid int64) *Response

DeleteIncludedSubRegion DeleteIncludedSubRegion

func (*Six910Manager) DeleteInsurance

func (m *Six910Manager) DeleteInsurance(id int64, sid int64) *Response

DeleteInsurance DeleteInsurance

func (*Six910Manager) DeleteOAuthUser

func (m *Six910Manager) DeleteOAuthUser(username string, clientID string, auth *Auth) *Response

DeleteOAuthUser DeleteOAuthUser

func (*Six910Manager) DeleteOrder

func (m *Six910Manager) DeleteOrder(id int64, sid int64) *Response

DeleteOrder DeleteOrder

func (*Six910Manager) DeleteOrderItem

func (m *Six910Manager) DeleteOrderItem(id int64, sid int64) *Response

DeleteOrderItem DeleteOrderItem

func (*Six910Manager) DeletePaymentGateway

func (m *Six910Manager) DeletePaymentGateway(id int64, sid int64) *Response

DeletePaymentGateway DeletePaymentGateway

func (*Six910Manager) DeletePlugin

func (m *Six910Manager) DeletePlugin(id int64) *Response

DeletePlugin DeletePlugin

func (*Six910Manager) DeleteProduct

func (m *Six910Manager) DeleteProduct(id int64, sid int64) *Response

DeleteProduct DeleteProduct

func (*Six910Manager) DeleteProductCategory

func (m *Six910Manager) DeleteProductCategory(pc *sdbi.ProductCategory, sid int64) *Response

DeleteProductCategory DeleteProductCategory

func (*Six910Manager) DeleteRegion

func (m *Six910Manager) DeleteRegion(id int64, sid int64) *Response

DeleteRegion DeleteRegion

func (*Six910Manager) DeleteShipment

func (m *Six910Manager) DeleteShipment(id int64, sid int64) *Response

DeleteShipment DeleteShipment

func (*Six910Manager) DeleteShipmentBox

func (m *Six910Manager) DeleteShipmentBox(id int64, sid int64) *Response

DeleteShipmentBox DeleteShipmentBox

func (*Six910Manager) DeleteShipmentItem

func (m *Six910Manager) DeleteShipmentItem(id int64, sid int64) *Response

DeleteShipmentItem DeleteShipmentItem

func (*Six910Manager) DeleteShippingCarrier

func (m *Six910Manager) DeleteShippingCarrier(id int64, sid int64) *Response

DeleteShippingCarrier DeleteShippingCarrier

func (*Six910Manager) DeleteShippingMethod

func (m *Six910Manager) DeleteShippingMethod(id int64, sid int64) *Response

DeleteShippingMethod DeleteShippingMethod

func (*Six910Manager) DeleteStore

func (m *Six910Manager) DeleteStore(sname string, localDomain string) *Response

DeleteStore DeleteStore

func (*Six910Manager) DeleteStorePlugin

func (m *Six910Manager) DeleteStorePlugin(id int64, sid int64) *Response

DeleteStorePlugin DeleteStorePlugin

func (*Six910Manager) DeleteSubRegion

func (m *Six910Manager) DeleteSubRegion(id int64, sid int64) *Response

DeleteSubRegion DeleteSubRegion

func (*Six910Manager) DeleteTaxRate added in v0.1.0

func (m *Six910Manager) DeleteTaxRate(id int64, sid int64) *Response

DeleteTaxRate DeleteTaxRate

func (*Six910Manager) DeleteZoneZip

func (m *Six910Manager) DeleteZoneZip(id int64, incID int64, exID int64, sid int64) *Response

DeleteZoneZip DeleteZoneZip

func (*Six910Manager) GetAddress

func (m *Six910Manager) GetAddress(id int64, cid int64, sid int64) *sdbi.Address

GetAddress GetAddress

func (*Six910Manager) GetAddressList

func (m *Six910Manager) GetAddressList(cid int64, sid int64) *[]sdbi.Address

GetAddressList GetAddressList

func (*Six910Manager) GetAdminUsers

func (m *Six910Manager) GetAdminUsers(storeID int64) *[]UserResponse

GetAdminUsers GetAdminUsers

func (*Six910Manager) GetCarItem

func (m *Six910Manager) GetCarItem(cid int64, prodID int64, sid int64) *sdbi.CartItem

GetCarItem GetCarItem

func (*Six910Manager) GetCart

func (m *Six910Manager) GetCart(cid int64, storeID int64) *sdbi.Cart

GetCart GetCart

func (*Six910Manager) GetCartItemList

func (m *Six910Manager) GetCartItemList(cartID int64, cid int64, sid int64) *[]sdbi.CartItem

GetCartItemList GetCartItemList

func (*Six910Manager) GetCategory

func (m *Six910Manager) GetCategory(id int64, sid int64) *sdbi.Category

GetCategory GetCategory

func (*Six910Manager) GetCategoryList

func (m *Six910Manager) GetCategoryList(storeID int64) *[]sdbi.Category

GetCategoryList GetCategoryList

func (*Six910Manager) GetCustomer

func (m *Six910Manager) GetCustomer(email string, storeID int64) *sdbi.Customer

GetCustomer GetCustomer

func (*Six910Manager) GetCustomerID

func (m *Six910Manager) GetCustomerID(id int64, storeID int64) *sdbi.Customer

GetCustomerID GetCustomerID

func (*Six910Manager) GetCustomerList

func (m *Six910Manager) GetCustomerList(storeID int64, start int64, end int64) *[]sdbi.Customer

GetCustomerList GetCustomerList

func (*Six910Manager) GetCustomerUsers

func (m *Six910Manager) GetCustomerUsers(storeID int64) *[]UserResponse

GetCustomerUsers GetCustomerUsers

func (*Six910Manager) GetDataStoreWriteLock

func (m *Six910Manager) GetDataStoreWriteLock(dataStore string, storeID int64) *sdbi.DataStoreWriteLock

GetDataStoreWriteLock GetDataStoreWriteLock

func (*Six910Manager) GetDistributor

func (m *Six910Manager) GetDistributor(id int64, storeID int64) *sdbi.Distributor

GetDistributor GetDistributor

func (*Six910Manager) GetDistributorList

func (m *Six910Manager) GetDistributorList(storeID int64) *[]sdbi.Distributor

GetDistributorList GetDistributorList

func (*Six910Manager) GetExcludedSubRegion

func (m *Six910Manager) GetExcludedSubRegion(id int64, sid int64) *sdbi.ExcludedSubRegion

GetExcludedSubRegion GetExcludedSubRegion

func (*Six910Manager) GetExcludedSubRegionList

func (m *Six910Manager) GetExcludedSubRegionList(regionID int64, sid int64) *[]sdbi.ExcludedSubRegion

GetExcludedSubRegionList GetExcludedSubRegionList

func (*Six910Manager) GetHierarchicalCategoryList added in v0.1.0

func (m *Six910Manager) GetHierarchicalCategoryList(storeID int64) *[]sdbi.Category

GetHierarchicalCategoryList GetHierarchicalCategoryList

func (*Six910Manager) GetIncludedSubRegion

func (m *Six910Manager) GetIncludedSubRegion(id int64, sid int64) *sdbi.IncludedSubRegion

GetIncludedSubRegion GetIncludedSubRegion

func (*Six910Manager) GetIncludedSubRegionList

func (m *Six910Manager) GetIncludedSubRegionList(regionID int64, sid int64) *[]sdbi.IncludedSubRegion

GetIncludedSubRegionList GetIncludedSubRegionList

func (*Six910Manager) GetInstance

func (m *Six910Manager) GetInstance(name string, dataStoreName string, storeID int64) *sdbi.Instances

GetInstance GetInstance

func (*Six910Manager) GetInstanceList added in v0.1.0

func (m *Six910Manager) GetInstanceList(dataStoreName string, storeID int64) *[]sdbi.Instances

GetInstanceList GetInstanceList

func (*Six910Manager) GetInsurance

func (m *Six910Manager) GetInsurance(id int64, sid int64) *sdbi.Insurance

GetInsurance GetInsurance

func (*Six910Manager) GetInsuranceList

func (m *Six910Manager) GetInsuranceList(storeID int64) *[]sdbi.Insurance

GetInsuranceList GetInsuranceList

func (*Six910Manager) GetLocalDatastore

func (m *Six910Manager) GetLocalDatastore(storeID int64, dataStoreName string) *sdbi.LocalDataStore

GetLocalDatastore GetLocalDatastore

func (*Six910Manager) GetNew

func (m *Six910Manager) GetNew() Manager

GetNew GetNew

func (*Six910Manager) GetOAuthUser

func (m *Six910Manager) GetOAuthUser(username string, clientID string, auth *Auth) (*OAuthUserUser, int)

GetOAuthUser GetOAuthUser

func (*Six910Manager) GetOAuthUserList

func (m *Six910Manager) GetOAuthUserList(clientID string, auth *Auth) (*[]OAuthUser, int)

GetOAuthUserList GetOAuthUserList

func (*Six910Manager) GetOrder

func (m *Six910Manager) GetOrder(id int64, sid int64) *sdbi.Order

GetOrder GetOrder

func (*Six910Manager) GetOrderCommentList

func (m *Six910Manager) GetOrderCommentList(orderID int64, sid int64) *[]sdbi.OrderComment

GetOrderCommentList GetOrderCommentList

func (*Six910Manager) GetOrderCountData added in v0.1.0

func (m *Six910Manager) GetOrderCountData(sid int64) *[]sdbi.OrderCountData

GetOrderCountData GetOrderCountData

func (*Six910Manager) GetOrderItem

func (m *Six910Manager) GetOrderItem(id int64, sid int64) *sdbi.OrderItem

GetOrderItem GetOrderItem

func (*Six910Manager) GetOrderItemList

func (m *Six910Manager) GetOrderItemList(orderID int64, sid int64) *[]sdbi.OrderItem

GetOrderItemList GetOrderItemList

func (*Six910Manager) GetOrderList

func (m *Six910Manager) GetOrderList(cid int64, sid int64) *[]sdbi.Order

GetOrderList GetOrderList

func (*Six910Manager) GetOrderSalesData added in v0.1.0

func (m *Six910Manager) GetOrderSalesData(sid int64) *[]sdbi.OrderSalesData

GetOrderSalesData GetOrderSalesData

func (*Six910Manager) GetOrderTransactionList

func (m *Six910Manager) GetOrderTransactionList(orderID int64, sid int64) *[]sdbi.OrderTransaction

GetOrderTransactionList GetOrderTransactionList

func (*Six910Manager) GetPaymentGateway

func (m *Six910Manager) GetPaymentGateway(id int64, sid int64) *sdbi.PaymentGateway

GetPaymentGateway GetPaymentGateway

func (*Six910Manager) GetPaymentGatewayByName added in v1.1.0

func (m *Six910Manager) GetPaymentGatewayByName(name string, sid int64) *sdbi.PaymentGateway

GetPaymentGatewayByName GetPaymentGatewayByName

func (*Six910Manager) GetPaymentGateways

func (m *Six910Manager) GetPaymentGateways(storeID int64) *[]sdbi.PaymentGateway

GetPaymentGateways GetPaymentGateways

func (*Six910Manager) GetPlugin

func (m *Six910Manager) GetPlugin(id int64) *sdbi.Plugins

GetPlugin GetPlugin

func (*Six910Manager) GetPluginList

func (m *Six910Manager) GetPluginList(start int64, end int64) *[]sdbi.Plugins

GetPluginList GetPluginList

func (*Six910Manager) GetProductByBySku added in v0.1.0

func (m *Six910Manager) GetProductByBySku(sku string, distributorID int64, sid int64) *sdbi.Product

GetProductByBySku GetProductByBySku

func (*Six910Manager) GetProductByCatAndManufacturer added in v0.1.0

func (m *Six910Manager) GetProductByCatAndManufacturer(catID int64, manf string, storeID int64,
	start int64, end int64) *[]sdbi.Product

GetProductByCatAndManufacturer GetProductByCatAndManufacturer

func (*Six910Manager) GetProductByID

func (m *Six910Manager) GetProductByID(id int64, sid int64) *sdbi.Product

GetProductByID GetProductByID

func (*Six910Manager) GetProductByNameAndManufacturerName added in v0.1.0

func (m *Six910Manager) GetProductByNameAndManufacturerName(manf string, name string, storeID int64,
	start int64, end int64) *[]sdbi.Product

GetProductByNameAndManufacturerName GetProductByNameAndManufacturerName

func (*Six910Manager) GetProductCategoryList added in v0.1.0

func (m *Six910Manager) GetProductCategoryList(productID int64) *[]int64

GetProductCategoryList GetProductCategoryList

func (*Six910Manager) GetProductIDList added in v0.1.0

func (m *Six910Manager) GetProductIDList(sid int64) *[]int64

GetProductIDList GetProductIDList

func (*Six910Manager) GetProductIDListByCategories added in v0.1.0

func (m *Six910Manager) GetProductIDListByCategories(sid int64, catList *[]int64) *[]int64

GetProductIDListByCategories GetProductIDListByCategories

func (*Six910Manager) GetProductList

func (m *Six910Manager) GetProductList(storeID int64, start int64, end int64) *[]sdbi.Product

GetProductList GetProductList

func (*Six910Manager) GetProductManufacturerListByCatID added in v0.1.0

func (m *Six910Manager) GetProductManufacturerListByCatID(catID int64, storeID int64) *[]string

GetProductManufacturerListByCatID GetProductManufacturerListByCatID

func (*Six910Manager) GetProductManufacturerListByProductName added in v0.1.0

func (m *Six910Manager) GetProductManufacturerListByProductName(name string, storeID int64) *[]string

GetProductManufacturerListByProductName GetProductManufacturerListByProductName

func (*Six910Manager) GetProductManufacturerListByProductSearch added in v1.2.1

func (m *Six910Manager) GetProductManufacturerListByProductSearch(attrs string, storeID int64) *[]string

GetProductManufacturerListByProductSearch GetProductManufacturerListByProductSearch

func (*Six910Manager) GetProductSubSkuList added in v1.2.0

func (m *Six910Manager) GetProductSubSkuList(storeID int64, parentProdID int64) *[]sdbi.Product

GetProductSubSkuList GetProductSubSkuList

func (*Six910Manager) GetProductsByCaterory

func (m *Six910Manager) GetProductsByCaterory(catID int64, sid int64, start int64,
	end int64) *[]sdbi.Product

GetProductsByCaterory GetProductsByCaterory

func (*Six910Manager) GetProductsByName

func (m *Six910Manager) GetProductsByName(name string, sid int64, start int64,
	end int64) *[]sdbi.Product

GetProductsByName GetProductsByName

func (*Six910Manager) GetProductsByPromoted added in v0.1.0

func (m *Six910Manager) GetProductsByPromoted(sid int64, start int64,
	end int64) *[]sdbi.Product

GetProductsByPromoted GetProductsByPromoted

func (*Six910Manager) GetRegion

func (m *Six910Manager) GetRegion(id int64, sid int64) *sdbi.Region

GetRegion GetRegion

func (*Six910Manager) GetRegionList

func (m *Six910Manager) GetRegionList(storeID int64) *[]sdbi.Region

GetRegionList GetRegionList

func (*Six910Manager) GetSecurityProfile

func (m *Six910Manager) GetSecurityProfile(storeName string, localDomain string) *SecurityProfile

GetSecurityProfile GetSecurityProfile

func (*Six910Manager) GetShipment

func (m *Six910Manager) GetShipment(id int64, sid int64) *sdbi.Shipment

GetShipment GetShipment

func (*Six910Manager) GetShipmentBox

func (m *Six910Manager) GetShipmentBox(id int64, sid int64) *sdbi.ShipmentBox

GetShipmentBox GetShipmentBox

func (*Six910Manager) GetShipmentBoxList

func (m *Six910Manager) GetShipmentBoxList(shipmentID int64, sid int64) *[]sdbi.ShipmentBox

GetShipmentBoxList GetShipmentBoxList

func (*Six910Manager) GetShipmentItem

func (m *Six910Manager) GetShipmentItem(id int64, sid int64) *sdbi.ShipmentItem

GetShipmentItem GetShipmentItem

func (*Six910Manager) GetShipmentItemList

func (m *Six910Manager) GetShipmentItemList(shipmentID int64, sid int64) *[]sdbi.ShipmentItem

GetShipmentItemList GetShipmentItemList

func (*Six910Manager) GetShipmentItemListByBox

func (m *Six910Manager) GetShipmentItemListByBox(boxNumber int64, shipmentID int64, sid int64) *[]sdbi.ShipmentItem

GetShipmentItemListByBox GetShipmentItemListByBox

func (*Six910Manager) GetShipmentList

func (m *Six910Manager) GetShipmentList(orderID int64, sid int64) *[]sdbi.Shipment

GetShipmentList GetShipmentList

func (*Six910Manager) GetShippingCarrier

func (m *Six910Manager) GetShippingCarrier(id int64, sid int64) *sdbi.ShippingCarrier

GetShippingCarrier GetShippingCarrier

func (*Six910Manager) GetShippingCarrierList

func (m *Six910Manager) GetShippingCarrierList(storeID int64) *[]sdbi.ShippingCarrier

GetShippingCarrierList GetShippingCarrierList

func (*Six910Manager) GetShippingMethod

func (m *Six910Manager) GetShippingMethod(id int64, sid int64) *sdbi.ShippingMethod

GetShippingMethod GetShippingMethod

func (*Six910Manager) GetShippingMethodList

func (m *Six910Manager) GetShippingMethodList(storeID int64) *[]sdbi.ShippingMethod

GetShippingMethodList GetShippingMethodList

func (*Six910Manager) GetStore

func (m *Six910Manager) GetStore(sname string, localDomain string) *sdbi.Store

GetStore GetStore

func (*Six910Manager) GetStoreOrderList added in v0.1.0

func (m *Six910Manager) GetStoreOrderList(sid int64) *[]sdbi.Order

GetStoreOrderList GetStoreOrderList

func (*Six910Manager) GetStoreOrderListByStatus added in v0.1.0

func (m *Six910Manager) GetStoreOrderListByStatus(status string, sid int64) *[]sdbi.Order

GetStoreOrderListByStatus GetStoreOrderListByStatus

func (*Six910Manager) GetStorePlugin

func (m *Six910Manager) GetStorePlugin(id int64, sid int64) *sdbi.StorePlugins

GetStorePlugin GetStorePlugin

func (*Six910Manager) GetStorePluginList

func (m *Six910Manager) GetStorePluginList(storeID int64) *[]sdbi.StorePlugins

GetStorePluginList GetStorePluginList

func (*Six910Manager) GetSubCategoryList

func (m *Six910Manager) GetSubCategoryList(catID int64) *[]sdbi.Category

GetSubCategoryList GetSubCategoryList

func (*Six910Manager) GetSubRegion

func (m *Six910Manager) GetSubRegion(id int64, sid int64) *sdbi.SubRegion

GetSubRegion GetSubRegion

func (*Six910Manager) GetSubRegionList

func (m *Six910Manager) GetSubRegionList(regionID int64, sid int64) *[]sdbi.SubRegion

GetSubRegionList GetSubRegionList

func (*Six910Manager) GetTaxRate added in v0.1.0

func (m *Six910Manager) GetTaxRate(country string, state string, sid int64) *[]sdbi.TaxRate

GetTaxRate GetTaxRate

func (*Six910Manager) GetTaxRateList added in v0.1.0

func (m *Six910Manager) GetTaxRateList(storeID int64) *[]sdbi.TaxRate

GetTaxRateList GetTaxRateList

func (*Six910Manager) GetUser

func (m *Six910Manager) GetUser(u *User) *UserResponse

GetUser GetUser

func (*Six910Manager) GetUsersByCustomer added in v0.1.0

func (m *Six910Manager) GetUsersByCustomer(cid int64, storeID int64) *[]UserResponse

GetUsersByCustomer GetUsersByCustomer

func (*Six910Manager) GetVisitorData added in v0.1.0

func (m *Six910Manager) GetVisitorData(storeID int64) *[]sdbi.VisitorData

GetVisitorData GetVisitorData

func (*Six910Manager) GetZoneZipListByExclusion

func (m *Six910Manager) GetZoneZipListByExclusion(exID int64, sid int64) *[]sdbi.ZoneZip

GetZoneZipListByExclusion GetZoneZipListByExclusion

func (*Six910Manager) GetZoneZipListByInclusion

func (m *Six910Manager) GetZoneZipListByInclusion(incID int64, sid int64) *[]sdbi.ZoneZip

GetZoneZipListByInclusion GetZoneZipListByInclusion

func (*Six910Manager) ProductSearch added in v1.2.0

func (m *Six910Manager) ProductSearch(p *sdbi.ProductSearch) *[]sdbi.Product

ProductSearch ProductSearch

func (*Six910Manager) ResetCustomerPassword added in v0.1.0

func (m *Six910Manager) ResetCustomerPassword(u *User) *CustomerPasswordResponse

ResetCustomerPassword ResetCustomerPassword

func (*Six910Manager) UpdateAddress

func (m *Six910Manager) UpdateAddress(a *sdbi.Address, sid int64) *Response

UpdateAddress UpdateAddress

func (*Six910Manager) UpdateCart

func (m *Six910Manager) UpdateCart(c *sdbi.Cart) *Response

UpdateCart UpdateCart

func (*Six910Manager) UpdateCartItem

func (m *Six910Manager) UpdateCartItem(ci *sdbi.CartItem, cid int64, sid int64) *Response

UpdateCartItem UpdateCartItem

func (*Six910Manager) UpdateCategory

func (m *Six910Manager) UpdateCategory(c *sdbi.Category) *Response

UpdateCategory UpdateCategory

func (*Six910Manager) UpdateCustomer

func (m *Six910Manager) UpdateCustomer(c *sdbi.Customer) *Response

UpdateCustomer UpdateCustomer

func (*Six910Manager) UpdateDataStoreWriteLock

func (m *Six910Manager) UpdateDataStoreWriteLock(w *sdbi.DataStoreWriteLock) *Response

UpdateDataStoreWriteLock UpdateDataStoreWriteLock

func (*Six910Manager) UpdateDistributor

func (m *Six910Manager) UpdateDistributor(d *sdbi.Distributor) *Response

UpdateDistributor UpdateDistributor

func (*Six910Manager) UpdateExcludedSubRegion

func (m *Six910Manager) UpdateExcludedSubRegion(e *sdbi.ExcludedSubRegion, sid int64) *Response

UpdateExcludedSubRegion UpdateExcludedSubRegion

func (*Six910Manager) UpdateIncludedSubRegion

func (m *Six910Manager) UpdateIncludedSubRegion(e *sdbi.IncludedSubRegion, sid int64) *Response

UpdateIncludedSubRegion UpdateIncludedSubRegion

func (*Six910Manager) UpdateInstance

func (m *Six910Manager) UpdateInstance(i *sdbi.Instances) *Response

UpdateInstance UpdateInstance

func (*Six910Manager) UpdateInsurance

func (m *Six910Manager) UpdateInsurance(i *sdbi.Insurance) *Response

UpdateInsurance UpdateInsurance

func (*Six910Manager) UpdateLocalDatastore

func (m *Six910Manager) UpdateLocalDatastore(d *sdbi.LocalDataStore) *Response

UpdateLocalDatastore UpdateLocalDatastore

func (*Six910Manager) UpdateOAuthUser

func (m *Six910Manager) UpdateOAuthUser(user *OAuthUser, auth *Auth) *Response

UpdateOAuthUser UpdateOAuthUser

func (*Six910Manager) UpdateOrder

func (m *Six910Manager) UpdateOrder(o *sdbi.Order) *Response

UpdateOrder UpdateOrder

func (*Six910Manager) UpdateOrderItem

func (m *Six910Manager) UpdateOrderItem(i *sdbi.OrderItem, sid int64) *Response

UpdateOrderItem UpdateOrderItem

func (*Six910Manager) UpdatePaymentGateway

func (m *Six910Manager) UpdatePaymentGateway(pgw *sdbi.PaymentGateway, sid int64) *Response

UpdatePaymentGateway UpdatePaymentGateway

func (*Six910Manager) UpdatePlugin

func (m *Six910Manager) UpdatePlugin(p *sdbi.Plugins) *Response

UpdatePlugin UpdatePlugin

func (*Six910Manager) UpdateProduct

func (m *Six910Manager) UpdateProduct(p *sdbi.Product) *Response

UpdateProduct UpdateProduct

func (*Six910Manager) UpdateProductQuantity added in v0.1.0

func (m *Six910Manager) UpdateProductQuantity(p *sdbi.Product) *Response

UpdateProductQuantity UpdateProductQuantity

func (*Six910Manager) UpdateRegion

func (m *Six910Manager) UpdateRegion(r *sdbi.Region) *Response

UpdateRegion UpdateRegion

func (*Six910Manager) UpdateShipment

func (m *Six910Manager) UpdateShipment(s *sdbi.Shipment, sid int64) *Response

UpdateShipment UpdateShipment

func (*Six910Manager) UpdateShipmentBox

func (m *Six910Manager) UpdateShipmentBox(sb *sdbi.ShipmentBox, sid int64) *Response

UpdateShipmentBox UpdateShipmentBox

func (*Six910Manager) UpdateShipmentItem

func (m *Six910Manager) UpdateShipmentItem(si *sdbi.ShipmentItem, sid int64) *Response

UpdateShipmentItem UpdateShipmentItem

func (*Six910Manager) UpdateShippingCarrier

func (m *Six910Manager) UpdateShippingCarrier(c *sdbi.ShippingCarrier) *Response

UpdateShippingCarrier UpdateShippingCarrier

func (*Six910Manager) UpdateShippingMethod

func (m *Six910Manager) UpdateShippingMethod(s *sdbi.ShippingMethod) *Response

UpdateShippingMethod UpdateShippingMethod

func (*Six910Manager) UpdateStore

func (m *Six910Manager) UpdateStore(s *sdbi.Store) *Response

UpdateStore UpdateStore

func (*Six910Manager) UpdateStorePlugin

func (m *Six910Manager) UpdateStorePlugin(sp *sdbi.StorePlugins) *Response

UpdateStorePlugin UpdateStorePlugin

func (*Six910Manager) UpdateSubRegion

func (m *Six910Manager) UpdateSubRegion(s *sdbi.SubRegion, sid int64) *Response

UpdateSubRegion UpdateSubRegion

func (*Six910Manager) UpdateTaxRate added in v0.1.0

func (m *Six910Manager) UpdateTaxRate(t *sdbi.TaxRate) *Response

UpdateTaxRate UpdateTaxRate

func (*Six910Manager) UpdateUser

func (m *Six910Manager) UpdateUser(u *User) *Response

UpdateUser UpdateUser

func (*Six910Manager) ValidateUser

func (m *Six910Manager) ValidateUser(u *User) *Response

ValidateUser ValidateUser

type User

type User struct {
	Username    string `json:"username"`
	Password    string `json:"password"`
	OldPassword string `json:"oldPassword"`
	Role        string `json:"role"`
	CustomerID  int64  `json:"customerId"`
	StoreID     int64  `json:"storeId"`
	Enabled     bool   `json:"enabled"`
}

User User

type UserResponse

type UserResponse struct {
	Username   string `json:"username"`
	Role       string `json:"role"`
	CustomerID int64  `json:"customerId"`
	StoreID    int64  `json:"storeId"`
	Enabled    bool   `json:"enabled"`
}

UserResponse UserResponse

Jump to

Keyboard shortcuts

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