summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2021-03-31 22:00:58 +0200
committerivarlovlie <git@ivarlovlie.no>2021-03-31 22:00:58 +0200
commit89d7b626822d65d0f54dea8b3cd9fefe292da3c5 (patch)
tree08c0e8f9fd80ab99265b55dbf946881fb8378936 /src
parenteb83f5db602e850be8696a7ed826b4ba0adf09bf (diff)
downloaddotnet-vipps-ecommerce-89d7b626822d65d0f54dea8b3cd9fefe292da3c5.tar.xz
dotnet-vipps-ecommerce-89d7b626822d65d0f54dea8b3cd9fefe292da3c5.zip
Expose configuration on IVippsEcommerceService
Diffstat (limited to 'src')
-rw-r--r--src/IOL.VippsEcommerce/IVippsEcommerceService.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/IOL.VippsEcommerce/IVippsEcommerceService.cs b/src/IOL.VippsEcommerce/IVippsEcommerceService.cs
index f300e73..e21514d 100644
--- a/src/IOL.VippsEcommerce/IVippsEcommerceService.cs
+++ b/src/IOL.VippsEcommerce/IVippsEcommerceService.cs
@@ -1,11 +1,14 @@
using System.Threading;
using System.Threading.Tasks;
+using IOL.VippsEcommerce.Models;
using IOL.VippsEcommerce.Models.Api;
namespace IOL.VippsEcommerce
{
public interface IVippsEcommerceService
{
+ public VippsConfiguration Configuration { get; }
+
public Task<VippsInitiatePaymentResponse> InitiatePaymentAsync(
VippsInitiatePaymentRequest payload,
CancellationToken ct = default