This commit is contained in:
scheibling
2025-04-08 19:24:11 +02:00
commit 30fb57f4f7
92 changed files with 6196 additions and 0 deletions

23
entity/taxes.go Normal file
View File

@@ -0,0 +1,23 @@
package entity
type Tax struct {
ID int `json:"id"`
RateCode string `json:"rate_code"`
RateId string `json:"rate_id"`
Label string `json:"label"`
Compound bool `json:"compound"`
TaxTotal float64 `json:"tax_total"`
ShippingTaxTotal float64 `json:"shipping_tax_total"`
MetaData []Meta `json:"meta_data"`
}
type TaxLine struct {
ID int `json:"id"`
RateCode string `json:"rate_code"`
RateId string `json:"rate_id"`
Label string `json:"label"`
Compound bool `json:"compound"`
TaxTotal float64 `json:"tax_total"`
ShippingTaxTotal float64 `json:"shipping_tax_total"`
MetaData []Meta `json:"meta_data"`
}