BoletoComponent
public final class BoletoComponent : PaymentComponent, LoadingComponent, PresentableComponent, Localizable, Observer
extension BoletoComponent: ViewControllerDelegate
extension BoletoComponent: PaymentComponentDelegate
A component that provides a form for Boleto payment.
-
Initializes the Boleto Component
Declaration
Swift
public init(configuration: Configuration, apiContext: APIContext, style: FormComponentStyle = FormComponentStyle())
Parameters
configuration
The Component’s configuration.
style
The Component’s UI style.
-
Declaration
Swift
public func didSubmit(_ data: PaymentComponentData, from component: PaymentComponent)
-
Declaration
Swift
public func didFail(with error: Error, from component: PaymentComponent)
-
Boleto component configuration.
See moreDeclaration
Swift
public struct Configuration