pricepreference

package
v1.36.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Query

Types

type PricePreference

type PricePreference struct {
	mixin.Model[PricePreference]

	Attribute      string `json:"attribute"`
	Value          string `json:"value"`
	IsTaxInclusive bool   `json:"isTaxInclusive"`

	Metadata  Map    `json:"metadata,omitempty" datastore:"-"`
	Metadata_ string `json:"-" datastore:",noindex"`
}

func New

func (*PricePreference) Load

func (p *PricePreference) Load(ps []datastore.Property) (err error)

func (*PricePreference) Save

func (p *PricePreference) Save() ([]datastore.Property, error)

Jump to

Keyboard shortcuts

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