Skip to content

Commit

Permalink
Add TimesRemaining property to SubscriptionResponse (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
intelligencecompany authored Jan 22, 2024
1 parent e48d6d8 commit 02dc29d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Mollie.Api/Models/Subscription/SubscriptionResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ public class SubscriptionResponse : IResponseObject {
/// </summary>
public int? Times { get; set; }

/// <summary>
/// Number of charges left for the subscription to complete.
/// </summary>
public int? TimesRemaining { get; set; }

/// <summary>
/// Interval to wait between charges like 1 month(s) or 14 days.
/// </summary>
Expand Down Expand Up @@ -109,4 +114,4 @@ public T GetMetadata<T>(JsonSerializerSettings jsonSerializerSettings = null) {
return JsonConvert.DeserializeObject<T>(this.Metadata, jsonSerializerSettings);
}
}
}
}

0 comments on commit 02dc29d

Please sign in to comment.