Skip to content

Commit

Permalink
#109 Fix for subscription interval value (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-Orlov authored and tatarincev committed Dec 29, 2018
1 parent 5431ee9 commit 54c2390
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions VirtoCommerce.Storefront.Model/Subscriptions/Subscription.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using VirtoCommerce.Storefront.Model.Common;
using VirtoCommerce.Storefront.Model.Order;

Expand All @@ -25,6 +27,8 @@ public Subscription(Currency currency)
/// <summary>
/// (days, months, years) - billing interval
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]

public PaymentInterval Interval { get; set; }
/// <summary>
/// - to set more customized intervals (every 5 month)
Expand Down

0 comments on commit 54c2390

Please sign in to comment.