Skip to content

Commit 5edcc7f

Browse files
author
Brandon Moffett
committed
Update version to 5.4.0 and refactor rate request handling
Updated `GitVersion.yml` to set the next version to `5.4.0` and modified the `feature` branch configuration to include a `preview` tag and `patch` increment. Removed the handling of `RateRequestTypes` in `FedExShipmentProvider.cs`, simplifying the code while retaining the existing logic for processing `DropoffType`.
1 parent 3afafd6 commit 5edcc7f

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

GitVersion.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
mode: Mainline
2-
next-version: 5.3.0
2+
next-version: 5.4.0
33
branches:
44
feature:
55
tag: preview

src/EasyKeys.Shipping.FedEx.Shipment/WebServices/Impl/FedExShipmentProvider.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -300,14 +300,6 @@ private void SetShipmentDetails(
300300
Units = WeightUnits.LB
301301
},
302302

303-
RateRequestTypes = details.RateRequestType.ToLower() switch
304-
{
305-
"none" => new RateRequestType[1] { RateRequestType.NONE },
306-
"list" => new RateRequestType[1] { RateRequestType.LIST },
307-
"preferred" => new RateRequestType[1] { RateRequestType.PREFERRED },
308-
_ => throw new NotImplementedException(),
309-
},
310-
311303
DropoffType = shipment.Options.DropOffType.ToLower() switch
312304
{
313305
"regularpickup" => DropoffType.REGULAR_PICKUP,

0 commit comments

Comments
 (0)