Skip to content

Commit fab289b

Browse files
authored
Merge pull request #905 from babuscam/main
added missing GET_DATE_RANGE_FINANCIAL_HOLDS_DATA report type
2 parents 4c16d97 + 4e704e9 commit fab289b

File tree

4 files changed

+31
-5
lines changed

4 files changed

+31
-5
lines changed

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/FulfillmentInbound/ShipmentStatus.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,13 @@ public enum ShipmentStatus
8989
/// Enum READY_TO_SHIP for value: READY_TO_SHIP
9090
/// </summary>
9191
[EnumMember(Value = "READY_TO_SHIP")]
92-
READY_TO_SHIP = 11
92+
READY_TO_SHIP = 11,
93+
[EnumMember(Value = "ABANDONED")]
94+
ABANDONED = 12,
95+
[EnumMember(Value = "MIXED")]
96+
MIXED = 13,
97+
[EnumMember(Value = "UNCONFIRMED")]
98+
UNCONFIRMED = 14
9399
}
94100

95101
}

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/FulfillmentInboundv20240320/AvailabilityType.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
namespace FikaAmazonAPI.AmazonSpApiSDK.Models.FulfillmentInboundv20240320
1616
{
1717
/// <summary>
18-
/// Identifies type of Delivery Window Availability. Values: AVAILABLE, CONGESTED
18+
/// Identifies type of Delivery Window Availability. Values: AVAILABLE, CONGESTED, BLOCKED, DISCOUNTED
1919
/// </summary>
2020
/// <value>Identifies type of Delivery Window Availability. Values: AVAILABLE, CONGESTED
2121

@@ -26,7 +26,11 @@ public enum AvailabilityType
2626
AVAILABLE = 1,
2727

2828
[EnumMember(Value = "CONGESTED")]
29-
CONGESTED = 2
29+
CONGESTED = 2,
30+
[EnumMember(Value = "BLOCKED")]
31+
BLOCKED = 3,
32+
[EnumMember(Value = "DISCOUNTED")]
33+
DISCOUNTED = 4
3034
}
3135

3236
}
Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
using FikaAmazonAPI.Search;
2+
using Newtonsoft.Json;
3+
using Newtonsoft.Json.Converters;
24
using System;
5+
using static FikaAmazonAPI.AmazonSpApiSDK.Models.Finances.Model.RelatedIdentifier;
36

47
namespace FikaAmazonAPI.Parameter.Finance
58
{
@@ -8,8 +11,20 @@ public class ParameterListFinancialTransactions20240619 : ParameterBased
811
public DateTime postedAfter { get; set; }
912
public DateTime? postedBefore { get; set; }
1013
public string? marketplaceId { get; set; }
14+
/// <summary>
15+
/// The status of the transaction.Possible values:
16+
/// `DEFERRED`: the transaction is currently deferred.
17+
/// `RELEASED`: the transaction is currently released.
18+
/// `DEFERRED_RELEASED`: the transaction was deferred in the past, but is now released. The status of a deferred transaction is updated to `DEFERRED_RELEASED` when the transaction is released.
19+
/// </summary>
20+
public string? transactionStatus { get; set; }
21+
/// <summary>
22+
/// Possible values:`FINANCIAL_EVENT_GROUP_ID`: the financial event group ID associated with the transaction.
23+
///*Note: FINANCIAL_EVENT_GROUP_ID is the only `relatedIdentifier` with filtering capabilities at the moment. While other `relatedIdentifier` values will be included in the response when available, they cannot be used for filtering purposes.
24+
/// </summary>
25+
public string? relatedIdentifierName { get; set; }
26+
public string? relatedIdentifierValue { get; set; }
1127
public string nextToken { get; set; }
1228
public int? MaxNumberOfPages { get; set; }
1329
}
14-
1530
}

Source/FikaAmazonAPI/Utils/Constants.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,8 @@ public enum ReportTypes
538538
GET_EPR_QUARTERLY_REPORTS,
539539
GET_EPR_ANNUAL_REPORTS,
540540
GET_BRAND_ANALYTICS_SEARCH_CATALOG_PERFORMANCE_REPORT,
541-
GET_BRAND_ANALYTICS_SEARCH_QUERY_PERFORMANCE_REPORT
541+
GET_BRAND_ANALYTICS_SEARCH_QUERY_PERFORMANCE_REPORT,
542+
GET_DATE_RANGE_FINANCIAL_HOLDS_DATA
542543
}
543544
[JsonConverter(typeof(StringEnumConverter))]
544545
public enum ContentType

0 commit comments

Comments
 (0)