CardFormViewController
@objcMembers
@objc(PAYCardFormViewController)
@MainActor
public class CardFormViewController : UIViewController
extension CardFormViewController: CardFormViewDelegate
extension CardFormViewController: UICollectionViewDataSource
extension CardFormViewController: UICollectionViewDelegateFlowLayout
extension CardFormViewController: UIAdaptivePresentationControllerDelegate
extension CardFormViewController: ThreeDSecureProcessHandlerDelegate
CardFormViewController show card form.
-
CardFormViewController factory method.
Declaration
Swift
@objc(createCardFormViewControllerWithStyle:tenantId:delegate:viewType:extraAttributes:useThreeDSecure:) @MainActor public static func createCardFormViewController( style: FormStyle = .defaultStyle, tenantId: String? = nil, delegate: CardFormViewControllerDelegate, viewType: CardFormViewType = .labelStyled, extraAttributes: [ExtraAttribute] = [ExtraAttributeEmail(), ExtraAttributePhone()], useThreeDSecure: Bool = false ) -> CardFormViewController
Parameters
style
formStyle
tenantId
identifier of tenant
delegate
delegate of CardFormViewControllerDelegate
viewType
card form type
extraAttributes
extra attributes for 3-D Secure
useThreeDSecure
whether use 3-D secure or not
Return Value
CardFormViewController
-
Undocumented
Declaration
Swift
@MainActor public override func viewDidLoad()
-
Undocumented
Declaration
Swift
@MainActor public override func viewWillAppear(_ animated: Bool)
-
Undocumented
Declaration
Swift
@MainActor public override func viewWillDisappear(_ animated: Bool)
-
Undocumented
Declaration
Swift
@MainActor public override func viewDidDisappear(_ animated: Bool)
-
Undocumented
Declaration
Swift
@MainActor public override func viewDidLayoutSubviews()
-
Declaration
Swift
@MainActor public func formInputValidated(in cardFormView: UIView, isValid: Bool)
-
Declaration
Swift
@MainActor public func formInputDoneTapped(in cardFormView: UIView)
-
Undocumented
Declaration
Swift
@MainActor public func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int
-
Undocumented
Declaration
Swift
@MainActor public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell
-
Undocumented
Declaration
Swift
@MainActor public func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, insetForSectionAt section: Int) -> UIEdgeInsets
-
Undocumented
Declaration
Swift
@MainActor public func presentationControllerDidDismiss(_ presentationController: UIPresentationController)
-
Declaration
Swift
@MainActor public func threeDSecureProcessHandlerDidFinish(_ handler: ThreeDSecureProcessHandler, status: ThreeDSecureProcessStatus)