Пример #1
0
 public PayPalBetaalMethode()
 {
     if (File.Exists(CREDENTIALSPATH))
     {
         credentials = JsonConvert.DeserializeObject <PayPalCredentials>(File.ReadAllText(CREDENTIALSPATH));
     }
     else
     {
         throw new FileNotFoundException("/PayPalConfig/credentials.json bestaat niet");
     }
 }
 public PayPalBetaalMethode()
 {
     if (File.Exists(CREDENTIALSPATH))
     {
         credentials = JsonConvert.DeserializeObject<PayPalCredentials>(File.ReadAllText(CREDENTIALSPATH));
     }
     else
     {
         throw new FileNotFoundException("/PayPalConfig/credentials.json bestaat niet");
     }
 }
Пример #3
0
 public PayPalBetaalMethode(PayPalCredentials cred)
 {
     credentials = cred;
     WriteCredentials();
 }
 public PayPalBetaalMethode(PayPalCredentials cred)
 {
     credentials = cred;
     WriteCredentials();
 }