IPBeneficiaryDetailsViewController
public class IPBeneficiaryDetailsViewController : UIViewController
Modal to be used for Bill and Beneficary detail
### Usage: ###
beneficiaryDetailsController.setupContent(payment: paymentObject,
baseColor: .systemRed)
beneficiaryDetailsController.handleSeeDetails = {
IPBillDetailsModalViewController.showModal(from: beneficiaryDetailsController,
payment: paymentObject,
highlightColor: .systemRed,
type: .beneficiary)
}
beneficiaryDetailsController.handleViewCard = {
// Action for view card button
}
beneficiaryDetailsController.handleOptionsClick = {
// Action for options button
}
### Notes: ### Alternatively, can be instanciated programmatically passing the configuration instead of calling setupContent(payment:baseColor:)
-
Undocumented
Declaration
Swift
public var handleSeeDetails: (() -> ())?
-
Undocumented
Declaration
Swift
public var handleViewCard: (() -> ())?
-
Undocumented
Declaration
Swift
public var handleOptionsClick: (() -> ())?
-
Undocumented
Declaration
Swift
public init(payment: IPPayment, baseColor: UIColor)
-
Undocumented
Declaration
Swift
public override func viewDidLoad()
-
Undocumented
Declaration
Swift
public override func viewWillAppear(_ animated: Bool)
-
Undocumented
Declaration
Swift
public override func viewWillDisappear(_ animated: Bool)
-
Undocumented
Declaration
Swift
public func setupContent(payment: IPPayment, baseColor: UIColor)