BACSDirectDebitComponent
public final class BACSDirectDebitComponent : PaymentComponent, PresentableComponent
extension BACSDirectDebitComponent: BACSDirectDebitRouterProtocol
extension BACSDirectDebitComponent: LoadingComponent
extension BACSDirectDebitComponent: Cancellable
A component that provides a form for BACS Direct Debit payments.
-
The object that acts as the delegate of the component.
Declaration
Swift
public weak var delegate: PaymentComponentDelegate?
-
The BACS Direct Debit payment method.
Declaration
Swift
public let paymentMethod: PaymentMethod
-
The object that acts as the presentation delegate of the component.
Declaration
Swift
public weak var presentationDelegate: PresentationDelegate?
-
Creates and returns a BACS Direct Debit component.
Declaration
Swift
public init(paymentMethod: BACSDirectDebitPaymentMethod, apiContext: APIContext, style: FormComponentStyle = .init(), localizationParameters: LocalizationParameters? = nil, configuration: Configuration? = nil)
Parameters
paymentMethod
The BACS Direct Debit payment method.
apiContext
The API context.
style
The component’s UI style.
localizationParameters
The localization parameters.
-
BACS Direct Debit configuration object.
See moreDeclaration
Swift
public struct Configuration