From f79ff1829af71fdba65c790b3e6ee29f0dd94e04 Mon Sep 17 00:00:00 2001 From: Victor Haine Takahashi Date: Wed, 2 Sep 2020 15:52:27 -0300 Subject: [PATCH] Fix plan response Fix expiration date to a nullable DateTime object. --- Safe2Pay/Response/PlanResponse.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Safe2Pay/Response/PlanResponse.cs b/Safe2Pay/Response/PlanResponse.cs index 079acc6..e658657 100644 --- a/Safe2Pay/Response/PlanResponse.cs +++ b/Safe2Pay/Response/PlanResponse.cs @@ -22,7 +22,7 @@ public class PlanResponse public bool IsEnabled { get; set; } public bool IsImmediateCharge { get; set; } public string CallbackUrl { get; set; } - public DateTime ExpirationDate { get; set; } + public DateTime? ExpirationDate { get; set; } public DateTime CreatedDate { get; set; } public int DaysDue { get; set; } public int DaysBeforeCancel { get; set; }