Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
db81f246bf | ||
|
|
9c7218f937 |
@@ -4,7 +4,6 @@ import (
|
|||||||
"encoding/base64"
|
"encoding/base64"
|
||||||
"fmt"
|
"fmt"
|
||||||
"net/http"
|
"net/http"
|
||||||
"time"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type TaxShippingInfo struct {
|
type TaxShippingInfo struct {
|
||||||
@@ -13,8 +12,8 @@ type TaxShippingInfo struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type TaxContent struct {
|
type TaxContent struct {
|
||||||
Created time.Time `json:"creationDate"`
|
Created int `json:"creationDate"`
|
||||||
Modified time.Time `json:"modificationDate"`
|
Modified int `json:"modificationDate"`
|
||||||
Token string `json:"token"`
|
Token string `json:"token"`
|
||||||
Email string `json:"email"`
|
Email string `json:"email"`
|
||||||
ShipToBillingAddress bool `json:"shipToBillingAddress"`
|
ShipToBillingAddress bool `json:"shipToBillingAddress"`
|
||||||
@@ -38,6 +37,10 @@ type TaxContent struct {
|
|||||||
Metadata any `json:"metadata"`
|
Metadata any `json:"metadata"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type TaxWebhook struct {
|
||||||
|
Content TaxContent `json:"content"`
|
||||||
|
}
|
||||||
|
|
||||||
type Tax struct {
|
type Tax struct {
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Amount float64 `json:"amount"`
|
Amount float64 `json:"amount"`
|
||||||
|
|||||||
Reference in New Issue
Block a user