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
VGSCheckout
delegate.Declaration
Swift
public weak var delegate: VGSCheckoutDelegate?
-
Initialization.
Declaration
Swift
public init(configuration: VGSCheckoutConfigurationProtocol)
Parameters
configuration
VGSCheckoutConfigurationProtocol
object, should be valid checkout configuration.
-
Present drop-in checkout.
Declaration
Swift
public func present(from viewController: UIViewController, animated: Bool = true)
Parameters
viewController
UIViewController
object, view controller to present checkout.animated
Bool
object, boolean flag indicating whether controller should be presented with animation, default istrue
.