Class Source.CodeVerification

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Source.CodeVerification
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Source

public static class Source.CodeVerification extends StripeObject
  • Constructor Details

    • CodeVerification

      public CodeVerification()
  • Method Details

    • getAttemptsRemaining

      public Long getAttemptsRemaining()
      The number of attempts remaining to authenticate the source object with a verification code.
    • getStatus

      public String getStatus()
      The status of the code verification, either pending (awaiting verification, attempts_remaining should be greater than 0), succeeded (successful verification) or failed (failed verification, cannot be verified anymore as attempts_remaining should be 0).
    • setAttemptsRemaining

      public void setAttemptsRemaining(Long attemptsRemaining)
      The number of attempts remaining to authenticate the source object with a verification code.
    • setStatus

      public void setStatus(String status)
      The status of the code verification, either pending (awaiting verification, attempts_remaining should be greater than 0), succeeded (successful verification) or failed (failed verification, cannot be verified anymore as attempts_remaining should be 0).
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object