diff --git a/GME Remit/Modules/PowerCallModules/LocalTopup/PhoneCardRecharge/Application Logic/Model/RechargeModel.swift b/GME Remit/Modules/PowerCallModules/LocalTopup/PhoneCardRecharge/Application Logic/Model/RechargeModel.swift index 3cec99b6..b1c3be69 100644 --- a/GME Remit/Modules/PowerCallModules/LocalTopup/PhoneCardRecharge/Application Logic/Model/RechargeModel.swift +++ b/GME Remit/Modules/PowerCallModules/LocalTopup/PhoneCardRecharge/Application Logic/Model/RechargeModel.swift @@ -56,12 +56,3 @@ struct RechargeModel { } } -extension RechargeModel: OTPProtocol { - var otpAmount: String? { - return productPrice - } - - var otpAccountID: String? { - return kftcAccountId - } -} diff --git a/GME Remit/Modules/Profile/ChangePersonalInformation/Application Logic/Model/ChangePersonalInformationModel.swift b/GME Remit/Modules/Profile/ChangePersonalInformation/Application Logic/Model/ChangePersonalInformationModel.swift index 44a869d7..2668b61f 100644 --- a/GME Remit/Modules/Profile/ChangePersonalInformation/Application Logic/Model/ChangePersonalInformationModel.swift +++ b/GME Remit/Modules/Profile/ChangePersonalInformation/Application Logic/Model/ChangePersonalInformationModel.swift @@ -34,14 +34,4 @@ extension ChangePersonalInformationModel: Equatable { } } -extension ChangePersonalInformationModel: OTPProtocol { - var otpAmount: String? { - return "" - } - - var otpAccountID: String? { - return "" - } -} - diff --git a/GME Remit/Modules/RemittanceModules/OverseasModules/SendMoneyParent/User Interface/View/SendMoneyParentViewController.swift b/GME Remit/Modules/RemittanceModules/OverseasModules/SendMoneyParent/User Interface/View/SendMoneyParentViewController.swift index 6d024a40..cc4858d8 100644 --- a/GME Remit/Modules/RemittanceModules/OverseasModules/SendMoneyParent/User Interface/View/SendMoneyParentViewController.swift +++ b/GME Remit/Modules/RemittanceModules/OverseasModules/SendMoneyParent/User Interface/View/SendMoneyParentViewController.swift @@ -34,16 +34,6 @@ class SendMoneyRequestModel { var isUseBiometric: Bool? } -extension SendMoneyRequestModel: OTPProtocol { - var otpAmount: String? { - return exchangeRateDetail?.autodebitSendingAmount - } - - var otpAccountID: String? { - return autoDebitAccount?.kftcAccountId - } -} - class SendMoneyParentViewController: UIViewController { private enum StateButtons: Int { diff --git a/GME Remit/Modules/RemittanceModules/OverseasModules/SendMoneyVerification/Application Logic/Interactor/SendMoneyVerificationInteractor.swift b/GME Remit/Modules/RemittanceModules/OverseasModules/SendMoneyVerification/Application Logic/Interactor/SendMoneyVerificationInteractor.swift index 3bd692c0..fa3d0445 100644 --- a/GME Remit/Modules/RemittanceModules/OverseasModules/SendMoneyVerification/Application Logic/Interactor/SendMoneyVerificationInteractor.swift +++ b/GME Remit/Modules/RemittanceModules/OverseasModules/SendMoneyVerification/Application Logic/Interactor/SendMoneyVerificationInteractor.swift @@ -14,13 +14,11 @@ class SendMoneyVerificationInteractor { weak var output: SendMoneyVerificationInteractorOutput? private let service: SendMoneyVerificationServiceType - private var request: OTPProtocol? // MARK: Initialization - init(service: SendMoneyVerificationServiceType, request: OTPProtocol?) { + init(service: SendMoneyVerificationServiceType) { self.service = service - self.request = request } // MARK: Converting entities diff --git a/GME Remit/Modules/RemittanceModules/OverseasModules/SendMoneyVerification/User Interface/Wireframe/SendMoneyVerificationWireframe.swift b/GME Remit/Modules/RemittanceModules/OverseasModules/SendMoneyVerification/User Interface/Wireframe/SendMoneyVerificationWireframe.swift index a1842319..51bfb23f 100644 --- a/GME Remit/Modules/RemittanceModules/OverseasModules/SendMoneyVerification/User Interface/Wireframe/SendMoneyVerificationWireframe.swift +++ b/GME Remit/Modules/RemittanceModules/OverseasModules/SendMoneyVerification/User Interface/Wireframe/SendMoneyVerificationWireframe.swift @@ -13,8 +13,6 @@ class SendMoneyVerificationWireframe { var reciepient: Recipient? var model: SendMoneyRequestModel? - //TODO: otp 작업 구현 - var request: OTPProtocol? private lazy var reciptWireframe = SendMoneyReceiptWireframe() } @@ -27,7 +25,7 @@ extension SendMoneyVerificationWireframe: SendMoneyVerificationWireframeInput { let service = SendMoneyVerificationService() //TODO: otp 작업 구현 - let interactor = SendMoneyVerificationInteractor(service: service, request: request) + let interactor = SendMoneyVerificationInteractor(service: service) let presenter = SendMoneyVerificationPresenter() let viewController = viewControllerFromStoryboard(of: SendMoneyVerificationViewController.self) viewController.reciepient = self.reciepient diff --git a/GME Remit/Modules/RemittanceModules/Shared/BalanceModel.swift b/GME Remit/Modules/RemittanceModules/Shared/BalanceModel.swift index d67c1381..9d229f2f 100644 --- a/GME Remit/Modules/RemittanceModules/Shared/BalanceModel.swift +++ b/GME Remit/Modules/RemittanceModules/Shared/BalanceModel.swift @@ -59,8 +59,3 @@ struct BalanceModel: Mappable { productName <- map["product_name"] } } - -protocol OTPProtocol { - var otpAmount: String? { get } - var otpAccountID: String? { get } -}