You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
663 B
29 lines
663 B
//
|
|
// OrderHistoryViewInterface.swift
|
|
// GME Remit
|
|
//
|
|
// Created by InKwon Devik Kim on 14/05/2019.
|
|
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
|
|
//
|
|
|
|
protocol OrderHistoryViewInterface: class {
|
|
|
|
/// set order history model from presenter
|
|
///
|
|
/// - Parameter model: order history model
|
|
func setOrderHistoryModel(with model: [Order]?)
|
|
|
|
|
|
/// raise error from presenter
|
|
///
|
|
/// - Parameter error: error
|
|
func didFailFetchOrderHistory(with error: Error)
|
|
|
|
|
|
/// present activity indicator for something process
|
|
func stardLoading()
|
|
|
|
/// dismiss activity indicator for something process
|
|
func endLoading()
|
|
|
|
}
|