Skip to content

Commit

Permalink
fix: remove sealed attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
ksavosteev committed Jan 23, 2025
1 parent a43f67b commit a7d6d46
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/VirtoCommerce.XCart.Core/Models/ExpCartAddress.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace VirtoCommerce.XCart.Core.Models
{
public sealed class ExpCartAddress
public class ExpCartAddress
{
public Optional<string> Key { get; set; }
public Optional<string> City { get; set; }
Expand All @@ -28,7 +28,7 @@ public sealed class ExpCartAddress
public Optional<string> Description { get; set; }
public Optional<int> AddressType { get; set; }

public Address MapTo(Address address)
public virtual Address MapTo(Address address)
{
if (address == null)
{
Expand Down
4 changes: 2 additions & 2 deletions src/VirtoCommerce.XCart.Core/Models/ExpCartPayment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace VirtoCommerce.XCart.Core.Models
{
public sealed class ExpCartPayment
public class ExpCartPayment
{
public Optional<string> Id { get; set; }
public Optional<string> OuterId { get; set; }
Expand All @@ -22,7 +22,7 @@ public sealed class ExpCartPayment

public IList<DynamicPropertyValue> DynamicProperties { get; set; }

public Payment MapTo(Payment payment)
public virtual Payment MapTo(Payment payment)
{
if (payment == null)
{
Expand Down
4 changes: 2 additions & 2 deletions src/VirtoCommerce.XCart.Core/Models/ExpCartShipment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace VirtoCommerce.XCart.Core.Models
{
public sealed class ExpCartShipment
public class ExpCartShipment
{
public Optional<string> Id { get; set; }
public Optional<string> FulfillmentCenterId { get; set; }
Expand All @@ -27,7 +27,7 @@ public sealed class ExpCartShipment

public IList<DynamicPropertyValue> DynamicProperties { get; set; }

public Shipment MapTo(Shipment shipment)
public virtual Shipment MapTo(Shipment shipment)
{
if (shipment == null)
{
Expand Down

0 comments on commit a7d6d46

Please sign in to comment.