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 ) -> CardFormViewControllerParameters
styleformStyle
tenantIdidentifier of tenant
delegatedelegate of CardFormViewControllerDelegate
viewTypecard form type
extraAttributesextra attributes for 3-D Secure
useThreeDSecurewhether 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)
View on GitHub