File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
PAYNLSDK/API/Transaction/Start Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 1- using System ;
2- using Newtonsoft . Json ;
3- using System . Collections . Specialized ;
4- using PAYNLSDK . Utilities ;
5- using PAYNLSDK . Objects ;
1+ using Newtonsoft . Json ;
62using PAYNLSDK . Enums ;
73using PAYNLSDK . Exceptions ;
4+ using PAYNLSDK . Objects ;
5+ using PAYNLSDK . Utilities ;
6+ using System ;
7+ using System . Collections . Specialized ;
88
99namespace PAYNLSDK . API . Transaction . Start
1010{
@@ -157,10 +157,9 @@ public override NameValueCollection GetParameters()
157157 nvc . Add ( "transaction[enduserId]" , TransactionData . EnduserId . ToString ( ) ) ;
158158 }
159159
160-
161- if ( ! ParameterValidator . IsNull ( TransactionData . ExpireDate ) )
160+ if ( TransactionData . ExpireDate != null )
162161 {
163- nvc . Add ( "transaction[expireDate]" , ( ( DateTime ) TransactionData . ExpireDate ) . ToString ( "dd-MM-yyyy hh :mm:ss" ) ) ;
162+ nvc . Add ( "transaction[expireDate]" , ( ( DateTime ) TransactionData . ExpireDate ) . ToString ( "dd-MM-yyyy HH :mm:ss" ) ) ;
164163 }
165164 // TODO: Are these right? Shouldn't this be BOOL / INT?
166165 /*
You can’t perform that action at this time.
0 commit comments