         print("purchaseFunc should be overridden")
     }
     
+    // MARK: UIViewController functions
+    
     override func viewDidLoad() {
         super.viewDidLoad()
-
-        // Do any additional setup after loading the view.
     }
 
     override func viewWillAppear(_ animated: Bool) {

    
    @IBAction func ccDetailsClick(_ sender: Any) {
        
        _ = BSViewsManager.showCCDetailsScreen(inNavigationController: self.navigationController, animated: true, bsToken: bsToken, paymentDetails: paymentDetails, fullBilling: fullBilling, purchaseFunc: purchaseFunc)
    }

    @IBAction func editingDidBegin(_ sender: Any) {
        print("****************** EditingDidBegin")
    }
    
    @IBAction func editingDidEnd(_ sender: BSInputLine) {
        print("****************** EditingDidEnd, value=\(sender.getValue())")
    }
    @IBAction func editingChanged(_ sender: BSInputLine) {
        print("****************** editingChanged, value=\(sender.getValue())")
    }
    @IBAction func touchUpInside(_ sender: BSInputLine) {
        print("****************** container touchUpInside")
    }

}

        self.navigationController!.isNavigationBarHidden = false
    }
    
    // MARK: button functions
    
    @IBAction func applePayClick(_ sender: Any) {
        
