OPPMBWayConfig

@objc
public final class OPPMBWayConfig : NSObject, NSCopying

Class to encapsulate configuration for MBWAY payment method.

  • The flag that defines whether country code input field is visible.

    Declaration

    Swift

    @objc
    public var countryCodeVisible: Bool
  • The country code in the following format [0-9]{1,4}.

    Declaration

    Swift

    @objc
    public var countryCode: String
  • Creates an object representing MBWAY configuration.

    Declaration

    Swift

    @objc
    public init?(countryCodeVisible visible: Bool, countryCode: String)

    Parameters

    visible

    Indicates whether country code input field is displayed on the MBWAY form or not. The default value is true.

    countryCode

    The country code.

    Return Value

    Returns an object representing MBWAY configuration.