     open var paymentTypeId : String!
     open var settings : [Setting]!
     open var additionalInfoNeeded : [String]!
+    open var financialInstitutions : [FinancialInstitution]!
     open var accreditationTime : Int? // [ms]
     open var status : String!
     open var secureThumbnail : String!

                }
            }
        }
        
        if let accreditationTime = json["accreditation_time"] as? Int {
            paymentMethod.accreditationTime = accreditationTime
        }
        
        
        paymentMethod.additionalInfoNeeded = additionalInfoNeeded
        return paymentMethod
    }
    

        }
        obj["additional_info_needed"] = String(additionalInfoJson.characters.dropLast())
      
        var settingsJson = ""
        for setting in self.settings {
            settingsJson.append(setting.toJSONString() + ",")
        }
        obj["settings"] = String(settingsJson.characters.dropLast())
        
        var financialInstitutionsJson = ""
        for financialInstitution in self.financialInstitutions {
            financialInstitutionsJson.append(financialInstitution.toJSONString() + ",")
        }
        obj["financial_institutions"] = String(financialInstitutionsJson.characters.dropLast())

        
        return obj
