Skip to content

Commit a38aaf7

Browse files
authored
Merge pull request #689 from Edogusma/VendorTransaction
Add VendorTransaction API
2 parents 6247c95 + 0a74eec commit a38aaf7

36 files changed

+476
-61
lines changed

Source/FikaAmazonAPI/AmazonConnection.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public class AmazonConnection
4646
public VendorDirectFulfillmentOrderService VendorDirectFulfillmentOrders => this._VendorDirectFulfillmentOrders ?? throw _NoCredentials;
4747
public VendorOrderService VendorOrders => this._VendorOrders ?? throw _NoCredentials;
4848

49+
public VendorTransactionStatusService VendorTransactionStatus => this._VendorTransactionStatus ?? throw _NoCredentials;
4950

5051
private OrderService _Orders { get; set; }
5152
private ReportService _Reports { get; set; }
@@ -82,6 +83,7 @@ public class AmazonConnection
8283
private FulFillmentOutboundService _FulFillmentOutbound { get; set; }
8384
private VendorDirectFulfillmentOrderService _VendorDirectFulfillmentOrders { get; set; }
8485
private VendorOrderService _VendorOrders { get; set; }
86+
private VendorTransactionStatusService _VendorTransactionStatus { get; set; }
8587

8688
private UnauthorizedAccessException _NoCredentials = new UnauthorizedAccessException($"Error, you cannot make calls to Amazon without credentials!");
8789

@@ -142,6 +144,7 @@ private void Init(AmazonCredential Credentials)
142144
this._FulFillmentOutbound = new FulFillmentOutboundService(this.Credentials);
143145
this._VendorDirectFulfillmentOrders = new VendorDirectFulfillmentOrderService(this.Credentials);
144146
this._VendorOrders = new VendorOrderService(this.Credentials);
147+
this._VendorTransactionStatus = new VendorTransactionStatusService(this.Credentials);
145148

146149
AmazonCredential.DebugMode = this.Credentials.IsDebugMode;
147150
}

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/Exceptions/AmazonException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public AmazonProcessingReportDeserializeException(string msg, string reportConte
8686
{
8787
ReportContent = reportContent;
8888
}
89-
}
89+
}
9090

9191
public class ExceptionResponse
9292
{

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/FulfillmentOutbound/GetFulfillmentPreviewItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public GetFulfillmentPreviewItem() { }
7070
/// The seller SKU of the item.
7171
/// </summary>
7272
/// <value>The seller SKU of the item.</value>
73-
[DataMember(Name = "sellerSku", EmitDefaultValue = false)]
73+
[DataMember(Name = "SellerSKU", EmitDefaultValue = false)]
7474
public string SellerSKU { get; set; }
7575

7676
/// <summary>

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/ShippingV2/ChargeList.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ public override string ToString() {
3232
return JsonConvert.SerializeObject(this, Formatting.Indented);
3333
}
3434

35-
}
35+
}
3636
}

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/ShippingV2/IneligibleRateList.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ public override string ToString() {
3232
return JsonConvert.SerializeObject(this, Formatting.Indented);
3333
}
3434

35-
}
35+
}
3636
}

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/ShippingV2/ItemList.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ public override string ToString() {
3232
return JsonConvert.SerializeObject(this, Formatting.Indented);
3333
}
3434

35-
}
35+
}
3636
}

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/ShippingV2/PackageDocumentDetailList.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ public override string ToString() {
3232
return JsonConvert.SerializeObject(this, Formatting.Indented);
3333
}
3434

35-
}
35+
}
3636
}

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/ShippingV2/PackageDocumentList.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ public override string ToString() {
3232
return JsonConvert.SerializeObject(this, Formatting.Indented);
3333
}
3434

35-
}
35+
}
3636
}

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/ShippingV2/PackageList.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ public override string ToString() {
3232
return JsonConvert.SerializeObject(this, Formatting.Indented);
3333
}
3434

35-
}
35+
}
3636
}

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/ShippingV2/PrintOptionList.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ public override string ToString() {
3232
return JsonConvert.SerializeObject(this, Formatting.Indented);
3333
}
3434

35-
}
35+
}
3636
}

0 commit comments

Comments
 (0)