ex-int-04-shipping-cost/ShippingCosts/Implementations/SelfPickup.cs
2025-05-09 10:27:04 +02:00

13 lines
373 B
C#

using ShippingCosts.Contracts;
namespace ShippingCosts.Implementations;
/// <summary>
/// A shipping cost calculator for self pickup - which is free
/// </summary>
public sealed class SelfPickup : IShippingCostCalculator
{
public string CarrierName => "Self Pickup";
public decimal? CalculateShippingCosts(string targetCountry, IMeasuredBox box) => 0M;
}