taxregion

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

This section is empty.

Functions

func Query

Types

type TaxRegion

type TaxRegion struct {
	mixin.Model[TaxRegion]

	CountryCode  string `json:"countryCode"`
	ProvinceCode string `json:"provinceCode"`
	ParentId     string `json:"parentId"`
	ProviderId   string `json:"providerId"`

	// Arbitrary key/value pairs associated with this tax region
	Metadata  Map    `json:"metadata,omitempty" datastore:"-"`
	Metadata_ string `json:"-" datastore:",noindex"`
}

func New

func New(db *datastore.Datastore) *TaxRegion

func (*TaxRegion) Load

func (t *TaxRegion) Load(ps []datastore.Property) (err error)

func (*TaxRegion) Save

func (t *TaxRegion) Save() ([]datastore.Property, error)

Jump to

Keyboard shortcuts

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