Class MbWayConfig

  • All Implemented Interfaces:
    android.os.Parcelable

    
    public class MbWayConfig
     implements Parcelable
                        

    The configuration for MBWAY payment method.

    • Constructor Detail

      • MbWayConfig

        MbWayConfig()
    • Method Detail

      • setCountryCode

        @NonNull() MbWayConfig setCountryCode(@NonNull() String countryCode)

        Sets the country code.

        Parameters:
        countryCode - The country code in the following format [0-9]{1,4}.
        Returns:

        A reference to this object.

      • isCountryCodeDisplayed

         boolean isCountryCodeDisplayed()

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

        Returns:

        true if country code will be displayed, otherwise false.

      • setCountryCodeDisplayed

        @NonNull() MbWayConfig setCountryCodeDisplayed(boolean isCountryCodeDisplayed)

        Sets the boolean indicates whether country code input field is displayed on the MBWAY form or not. If country code input field is not displayed, the countryCode value will be used for payment.

        Parameters:
        isCountryCodeDisplayed - Use true if country code must be displayed, otherwise false.
        Returns:

        A reference to this object.