saleschannel

package
v1.46.21 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IgnoreFieldMismatch = datastore.IgnoreFieldMismatch

Functions

func Query

Types

type SalesChannel

type SalesChannel struct {
	mixin.Model[SalesChannel]

	// Name of sales channel
	Name string `json:"name"`

	// Description of sales channel
	Description string `json:"description" datastore:",noindex"`

	// Whether this sales channel is disabled
	IsDisabled bool `json:"isDisabled"`

	// Arbitrary metadata
	Metadata  Map    `json:"metadata,omitempty" datastore:"-" orm:"default:{}"`
	Metadata_ string `json:"-" datastore:",noindex"`
}

func New

func (*SalesChannel) Load

func (s *SalesChannel) Load(ps []datastore.Property) (err error)

func (*SalesChannel) Save

func (s *SalesChannel) Save() ([]datastore.Property, error)

Jump to

Keyboard shortcuts

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