added SnipcartTax and SnipcartWebhookTaxResponse
This commit is contained in:
@@ -88,6 +88,13 @@ type SnipcartOrders struct {
|
||||
Items []SnipcartOrder
|
||||
}
|
||||
|
||||
type SnipcartTax struct {
|
||||
Name string `json:"name"`
|
||||
Amount float64 `json:"amount"`
|
||||
NumberForInvoice string `json:"numberForInvoice"`
|
||||
Rate float64 `json:"rate"`
|
||||
}
|
||||
|
||||
func NewClient(snipcartApiKey string) Client {
|
||||
return Client{
|
||||
SnipcartKey: snipcartApiKey,
|
||||
|
||||
Reference in New Issue
Block a user