From 9c7218f937145e78cca06095412b0109d7169bb5 Mon Sep 17 00:00:00 2001 From: Bastian de Byl Date: Tue, 6 Jun 2023 19:07:14 -0400 Subject: [PATCH] added TaxWebhook struct --- snipcart/webhook.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/snipcart/webhook.go b/snipcart/webhook.go index fa3f6c8..b7becc0 100644 --- a/snipcart/webhook.go +++ b/snipcart/webhook.go @@ -38,6 +38,10 @@ type TaxContent struct { Metadata any `json:"metadata"` } +type TaxWebhook struct { + Content TaxContent `json:"content"` +} + type Tax struct { Name string `json:"name"` Amount float64 `json:"amount"`