Interface VerificationCodeSendingStrategy

All Known Implementing Classes:
ChineseVerificationCodeSendingStrategy

@Deprecated(since="1905", forRemoval=true) public interface VerificationCodeSendingStrategy
Deprecated, for removal: This API element is subject to removal in a future version.
Since 1905. Use VerificationCodeStrategy instead.
A strategy that sending a verification code to customer's mobile.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    send(String mobileNumber, String code)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Send code to a mobile.
  • Method Details

    • send

      void send(String mobileNumber, String code)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Send code to a mobile.
      Parameters:
      mobileNumber - The target mobile number.
      code - Verification code.