missing updates #5

Merged
mats merged 77 commits from refactor/http-proxy into main 2025-10-14 23:12:06 +02:00
Showing only changes of commit 5e2025e30f - Show all commits

View File

@@ -90,7 +90,7 @@ func GetItemAddMessage(sku string, qty int, country string, storeId *string) (*m
Category3: category3, Category3: category3,
Category4: category4, Category4: category4,
Category5: category5, Category5: category5,
Tax: 2500, Tax: getTax(articleType),
SellerId: sellerId, SellerId: sellerId,
SellerName: sellerName, SellerName: sellerName,
ArticleType: articleType, ArticleType: articleType,
@@ -100,3 +100,12 @@ func GetItemAddMessage(sku string, qty int, country string, storeId *string) (*m
StoreId: storeId, StoreId: storeId,
}, nil }, nil
} }
func getTax(articleType string) int32 {
switch articleType {
case "ZDIE":
return 600
default:
return 2500
}
}