MBWayComponent
public final class MBWayComponent : AbstractPersonalInformationComponent
A component that provides a form for MB Way payments.
-
Initializes the MB Way component.
Declaration
Swift
public init(paymentMethod: MBWayPaymentMethod, apiContext: APIContext, shopperInformation: PrefilledShopperInformation? = nil, style: FormComponentStyle = FormComponentStyle())
Parameters
paymentMethod
The MB Way payment method.
apiContext
The component’s API context.
shopperInformation
The shopper’s information.
style
The component’s UI style.
-
Declaration
Swift
override public func submitButtonTitle() -> String
-
Declaration
Swift
override public func getPhoneExtensions() -> [PhoneExtension]
-
Declaration
Swift
override public func createPaymentDetails() -> PaymentMethodDetails