Created
This commit is contained in:
23
entity/taxes.go
Normal file
23
entity/taxes.go
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user