moni_qwerty

Untitled

Feb 12th, 2020
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.03 KB | None | 0 0
  1. // Payment type
  2.  
  3. if chosenFrequency != "One Time" { //standing order
  4.     if (accountNumber is valid laskaris account number) OR (accountNumber is iban AND contains "LASK")
  5.             paymentMehtod = "AC"
  6.            
  7.         } else { //MUST HAVE name, iban AND swift for this
  8.             paymentMehtod = "OT"
  9.         }
  10. }
  11.  
  12. else { //payment order
  13.     if accountNumber is own account number {
  14.         paymentOrderProductID = "ACTRF"
  15.     }
  16.     if (accountNumber is a Laskaris account) OR (iban contains "LASK") {
  17.         paymentOrderProductID = "ACOTHER"
  18.     }
  19.     else {
  20.         paymentOrderProductID = "INATIONAL"
  21.     }
  22. }
  23.  
  24.  
  25. // New endpoint fields:
  26.  
  27. orderingCustomerID : String // "100147"
  28. debitAccount : String // "10000197"
  29. creditAccount : String // "10000866" || "MT11VALL22013000000040023609419"
  30. amount : Double // 10.0
  31. currencyID : String // "EUR"
  32. chosenFrequency : String // "20200206 e0Y e0M e0W e1D e0F" || "One Time"
  33. beneficiaryName : String // "Alice Smith"
  34. swift : String // "VALLMTMTXXX"
  35. message : String // "test test"
  36. date : String // "2020-02-12"
Add Comment
Please, Sign In to add comment