Skip to content

Commit f7fc7e3

Browse files
authored
Merge pull request #55 from easykeys/patch/fedex-shipping
Update version to 5.4.0 and refactor rate request handling
2 parents 3afafd6 + 5edcc7f commit f7fc7e3

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)