         }
     }
     
-    
+
     public func collectionView(_ collectionView: UICollectionView,
-                               numberOfItemsInSection section: Int) -> Int {
+                                 numberOfItemsInSection section: Int) -> Int {
         
         if (self.loadingGroups){
             return 0

        default:
            if self.viewModel!.getCustomerPaymentMethodsToDisplayCount() > 0 {
                let customerCardSelected = self.viewModel.customerCards![(indexPath as NSIndexPath).row] as CardInformation
                
                let paymentMethodSelected = Utils.findPaymentMethod(self.viewModel.paymentMethods, paymentMethodId: customerCardSelected.getPaymentMethodId())
                if paymentMethodSelected.isAccountMoney() {
                    self.viewModel.callback!(paymentMethodSelected, nil, nil, nil)

                self.viewModel.currentPaymentMethodSearch = self.viewModel.currentPaymentMethodSearch[0].children
            }
            
            if self.viewModel.currentPaymentMethodSearch.count == 1{
                self.viewModel.optionSelected(self.viewModel.currentPaymentMethodSearch[0],navigationController: self.navigationController!, cancelPaymentCallback: self.cardFormCallbackCancel(), animated: false)
            } else {
                self.collectionSearch.delegate = self
