CheckoutSheet class

Methods

MethodsTypeDescription
init(configuration: CheckoutConfiguration)VoidInstantiate CheckoutSheet with CheckoutConfiguration
getCheckoutViewController() -> UIViewController?UIViewControllerReturn the contents of CheckoutSheet as UIViewController
getCheckoutEventPublisher() -> CheckoutEventPublisherCheckoutEventPublisherReturns CheckoutEventPublisher that contains e.g. acceptEventPublisher, cancelEventPublisher and closeEventPublisher
getUserEventPublisher() -> UserEventPublisherUserEventPublisherReturns UserEventPublisher that contains UserEventPublisher.eventPublisher
present()VoidPresents the CheckoutSheet
dismiss()VoidDismisses the CheckoutSheet
destroy()VoidDestroys the CheckoutViewController of CheckoutSheet