VGSCheckout
public class VGSCheckout
A drop-in class that presents a checkout form for financial operations: add card, payment processing etc.
-
An object that acts as a
VGSCheckoutdelegate.Declaration
Swift
public weak var delegate: VGSCheckoutDelegate?
-
Initialization.
Declaration
Swift
public init(configuration: VGSCheckoutConfigurationProtocol)Parameters
configurationVGSCheckoutConfigurationProtocolobject, should be valid checkout configuration.
-
Present drop-in checkout.
Declaration
Swift
public func present(from viewController: UIViewController, animated: Bool = true)Parameters
viewControllerUIViewControllerobject, view controller to present checkout.animatedBoolobject, boolean flag indicating whether controller should be presented with animation, default istrue.
View on GitHub
VGSCheckout Class Reference