Class OTP.WhatsAppOTP.Parameters

  • All Implemented Interfaces:
    android.os.Parcelable

    
    public final class OTP.WhatsAppOTP.Parameters
     implements Parcelable
                        

    Data class used for wrapping parameters used with WhatsApp OTP

    • Constructor Detail

      • OTP.WhatsAppOTP.Parameters

        OTP.WhatsAppOTP.Parameters(String phoneNumber, Integer expirationMinutes, Locale locale)
      • OTP.WhatsAppOTP.Parameters

        OTP.WhatsAppOTP.Parameters(String phoneNumber, Integer expirationMinutes)
      • OTP.WhatsAppOTP.Parameters

        OTP.WhatsAppOTP.Parameters(String phoneNumber)
    • Method Detail

      • getPhoneNumber

         final String getPhoneNumber()

        the number the OTP code should be sent to via WhatsApp, in E.164 format (i.e. +1XXXXXXXXXX)