CheckoutSheet class
Methods
Methods | Type | Description |
---|---|---|
init(configuration: CheckoutConfiguration) | Void | Instantiate CheckoutSheet with CheckoutConfiguration |
getCheckoutViewController() -> UIViewController? | UIViewController | Return the contents of CheckoutSheet as UIViewController |
getCheckoutEventPublisher() -> CheckoutEventPublisher | CheckoutEventPublisher | Returns CheckoutEventPublisher that contains e.g. acceptEventPublisher , cancelEventPublisher and closeEventPublisher |
getUserEventPublisher() -> UserEventPublisher | UserEventPublisher | Returns UserEventPublisher that contains UserEventPublisher.eventPublisher |
present() | Void | Presents the CheckoutSheet |
dismiss() | Void | Dismisses the CheckoutSheet |
destroy() | Void | Destroys the CheckoutViewController of CheckoutSheet |
Updated 9 months ago
What’s Next