Skip to content

Commit d0f8461

Browse files
committed
add new method to connection
1 parent 16bd26e commit d0f8461

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Source/FikaAmazonAPI/AmazonConnection.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using FikaAmazonAPI.Services;
2+
using FikaAmazonAPI.Utils;
23
using System;
34

45
namespace FikaAmazonAPI
@@ -88,7 +89,7 @@ public AmazonConnection(AmazonCredential Credentials, string RefNumber = null)
8889
this.RefNumber = RefNumber;
8990
}
9091

91-
public void Authenticate(AmazonCredential Credentials)
92+
private void Authenticate(AmazonCredential Credentials)
9293
{
9394
if (this.Credentials == default(AmazonCredential))
9495
Init(Credentials);
@@ -136,5 +137,7 @@ private void Init(AmazonCredential Credentials)
136137
this._VendorDirectFulfillmentOrders = new VendorDirectFulfillmentOrderService(this.Credentials);
137138
this._VendorOrders = new VendorOrderService(this.Credentials);
138139
}
140+
141+
public MarketPlace GetCurrentMarketplace { get { return Credentials.MarketPlace; } }
139142
}
140143
}

0 commit comments

Comments
 (0)