From b354f49f572bc7da4a75b31d2f188f8838a25700 Mon Sep 17 00:00:00 2001 From: Mendel E Date: Mon, 30 May 2022 03:30:26 -0400 Subject: [PATCH] Parse currency in orders too --- types.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/types.go b/types.go index e9081ef..d83078b 100644 --- a/types.go +++ b/types.go @@ -65,12 +65,12 @@ type Order struct { Common OrderInfo - ShippingCharge string `csv:"Shipping Charge"` - Subtotal string `csv:"Subtotal"` - TaxBeforePromotions string `csv:"Tax Before Promotions"` - TaxCharged string `csv:"Tax Charged"` - TotalCharged string `csv:"Total Charged"` - TotalPromotions string `csv:"Total Promotions"` + ShippingCharge Currency `csv:"Shipping Charge"` + Subtotal Currency `csv:"Subtotal"` + TaxBeforePromotions Currency `csv:"Tax Before Promotions"` + TaxCharged Currency `csv:"Tax Charged"` + TotalCharged Currency `csv:"Total Charged"` + TotalPromotions Currency `csv:"Total Promotions"` } type Return struct { -- 2.45.2