From 3ea18ae25e98527aa85835c9221ea01b36560b33 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Mon, 29 Nov 2021 21:24:44 +0300 Subject: Add Uri Converter --- Source/Assistant/IProduct.cs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Source/Assistant/IProduct.cs (limited to 'Source/Assistant/IProduct.cs') diff --git a/Source/Assistant/IProduct.cs b/Source/Assistant/IProduct.cs new file mode 100644 index 0000000..aca3ff5 --- /dev/null +++ b/Source/Assistant/IProduct.cs @@ -0,0 +1,9 @@ +namespace Rehau.Sku.Assist +{ + interface IProduct + { + string Sku { get; } + string Name { get; } + string Uri { get; } + } +} -- cgit v1.2.3 From b5c71350700a486b8a8d1fa0fe7db32220963eba Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Fri, 3 Dec 2021 12:57:22 +0300 Subject: Add Caching and replace HttpClientUtil class to external file --- Source/Assistant/IProduct.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Source/Assistant/IProduct.cs') diff --git a/Source/Assistant/IProduct.cs b/Source/Assistant/IProduct.cs index aca3ff5..de0eccf 100644 --- a/Source/Assistant/IProduct.cs +++ b/Source/Assistant/IProduct.cs @@ -1,9 +1,11 @@ -namespace Rehau.Sku.Assist +using System; + +namespace Rehau.Sku.Assist { interface IProduct { string Sku { get; } string Name { get; } - string Uri { get; } + Uri Uri { get; } } } -- cgit v1.2.3 From 915929fa9d0738a4e4db4134ea522b343ab2c1d2 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Fri, 3 Dec 2021 19:30:35 +0300 Subject: Add Json parsing and refactoring --- Source/Assistant/IProduct.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Source/Assistant/IProduct.cs') diff --git a/Source/Assistant/IProduct.cs b/Source/Assistant/IProduct.cs index de0eccf..54b3dd0 100644 --- a/Source/Assistant/IProduct.cs +++ b/Source/Assistant/IProduct.cs @@ -4,8 +4,7 @@ namespace Rehau.Sku.Assist { interface IProduct { - string Sku { get; } + string Id { get; } string Name { get; } - Uri Uri { get; } } } -- cgit v1.2.3 From 355e2d36729b607c80b75a4e78342ed487cc56d4 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Fri, 3 Dec 2021 22:25:20 +0300 Subject: Add RAUPRICE function. Refactoring. --- Source/Assistant/IProduct.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Source/Assistant/IProduct.cs') diff --git a/Source/Assistant/IProduct.cs b/Source/Assistant/IProduct.cs index 54b3dd0..d5db286 100644 --- a/Source/Assistant/IProduct.cs +++ b/Source/Assistant/IProduct.cs @@ -1,10 +1,9 @@ -using System; - -namespace Rehau.Sku.Assist +namespace Rehau.Sku.Assist { interface IProduct { string Id { get; } string Name { get; } + string Price { get; } } } -- cgit v1.2.3