From 63bb56b4c1891219af07e2feb8a6029860c97ce4 Mon Sep 17 00:00:00 2001 From: Rahul Kantesaria Date: Fri, 5 Apr 2019 14:15:18 -0400 Subject: [PATCH] Created PaymentOptions interface and controller for selecting payment type. Fetching bank account info and populating table with it. Updated getbankacctinfo request to grab the bank name and last 4 digits of bank account. --- .../BankAcctCell.swift | 9 ++++++ .../PaymentOptionsInterfaceController.swift | 30 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 SynchronyFinancial/SynchronyFinancial WatchKit Extension/BankAcctCell.swift create mode 100644 SynchronyFinancial/SynchronyFinancial WatchKit Extension/PaymentOptionsInterfaceController.swift diff --git a/SynchronyFinancial/SynchronyFinancial WatchKit Extension/BankAcctCell.swift b/SynchronyFinancial/SynchronyFinancial WatchKit Extension/BankAcctCell.swift new file mode 100644 index 0000000..d434d68 --- /dev/null +++ b/SynchronyFinancial/SynchronyFinancial WatchKit Extension/BankAcctCell.swift @@ -0,0 +1,9 @@ +// +// BankAcctCell.swift +// SynchronyFinancial WatchKit Extension +// +// Created by Rahul Kantesaria on 4/5/19. +// Copyright © 2019 Alan Maynard. All rights reserved. +// + +import Foundation diff --git a/SynchronyFinancial/SynchronyFinancial WatchKit Extension/PaymentOptionsInterfaceController.swift b/SynchronyFinancial/SynchronyFinancial WatchKit Extension/PaymentOptionsInterfaceController.swift new file mode 100644 index 0000000..88836b1 --- /dev/null +++ b/SynchronyFinancial/SynchronyFinancial WatchKit Extension/PaymentOptionsInterfaceController.swift @@ -0,0 +1,30 @@ +// +// BankSelectionInterfaceController.swift +// SynchronyFinancial WatchKit Extension +// +// Created by Rahul Kantesaria on 4/5/19. +// Copyright © 2019 Alan Maynard. All rights reserved. +// + +import WatchKit +import Foundation + +class BankSelectionInterfaceController: WKInterfaceController { + + + override func awake(withContext context: Any?) { + + } + + override func willActivate() { + // This method is called when watch view controller is about to be visible to user + super.willActivate() + } + + override func didDeactivate() { + // This method is called when watch view controller is no longer visible + super.didDeactivate() + } + + +}