Class: Twilio::REST::Verify::V2::ServiceContext::VerificationCheckInstance
- Inherits:
 - 
      InstanceResource
      
        
- Object
 - InstanceResource
 - Twilio::REST::Verify::V2::ServiceContext::VerificationCheckInstance
 
 
- Defined in:
 - lib/twilio-ruby/rest/verify/v2/service/verification_check.rb
 
Instance Method Summary collapse
- 
  
    
      #account_sid  ⇒ String 
    
    
  
  
  
  
  
  
  
  
  
    
The SID of the Account that created the resource.
 - 
  
    
      #amount  ⇒ String 
    
    
  
  
  
  
  
  
  
  
  
    
The amount of the associated PSD2 compliant transaction.
 - 
  
    
      #channel  ⇒ verification_check.Channel 
    
    
  
  
  
  
  
  
  
  
  
    
The verification method to use.
 - 
  
    
      #date_created  ⇒ Time 
    
    
  
  
  
  
  
  
  
  
  
    
The ISO 8601 date and time in GMT when the Verification Check resource was created.
 - 
  
    
      #date_updated  ⇒ Time 
    
    
  
  
  
  
  
  
  
  
  
    
The ISO 8601 date and time in GMT when the Verification Check resource was last updated.
 - 
  
    
      #initialize(version, payload, service_sid: nil)  ⇒ VerificationCheckInstance 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
Initialize the VerificationCheckInstance.
 - 
  
    
      #inspect  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Provide a detailed, user friendly representation.
 - 
  
    
      #payee  ⇒ String 
    
    
  
  
  
  
  
  
  
  
  
    
The payee of the associated PSD2 compliant transaction.
 - 
  
    
      #service_sid  ⇒ String 
    
    
  
  
  
  
  
  
  
  
  
    
The SID of the Service that the resource is associated with.
 - 
  
    
      #sid  ⇒ String 
    
    
  
  
  
  
  
  
  
  
  
    
The unique string that identifies the resource.
 - 
  
    
      #status  ⇒ String 
    
    
  
  
  
  
  
  
  
  
  
    
The status of the verification resource.
 - 
  
    
      #to  ⇒ String 
    
    
  
  
  
  
  
  
  
  
  
    
The phone number or email being verified.
 - 
  
    
      #to_s  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Provide a user friendly representation.
 - 
  
    
      #valid  ⇒ Boolean 
    
    
  
  
  
  
  
  
  
  
  
    
Whether the verification was successful.
 
Constructor Details
#initialize(version, payload, service_sid: nil) ⇒ VerificationCheckInstance
Initialize the VerificationCheckInstance
      104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121  | 
    
      # File 'lib/twilio-ruby/rest/verify/v2/service/verification_check.rb', line 104 def initialize(version, payload, service_sid: nil) super(version) # Marshaled Properties @properties = { 'sid' => payload['sid'], 'service_sid' => payload['service_sid'], 'account_sid' => payload['account_sid'], 'to' => payload['to'], 'channel' => payload['channel'], 'status' => payload['status'], 'valid' => payload['valid'], 'amount' => payload['amount'], 'payee' => payload['payee'], 'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']), 'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']), } end  | 
  
Instance Method Details
#account_sid ⇒ String
Returns The SID of the Account that created the resource.
      137 138 139  | 
    
      # File 'lib/twilio-ruby/rest/verify/v2/service/verification_check.rb', line 137 def account_sid @properties['account_sid'] end  | 
  
#amount ⇒ String
Returns The amount of the associated PSD2 compliant transaction.
      167 168 169  | 
    
      # File 'lib/twilio-ruby/rest/verify/v2/service/verification_check.rb', line 167 def amount @properties['amount'] end  | 
  
#channel ⇒ verification_check.Channel
Returns The verification method to use.
      149 150 151  | 
    
      # File 'lib/twilio-ruby/rest/verify/v2/service/verification_check.rb', line 149 def channel @properties['channel'] end  | 
  
#date_created ⇒ Time
Returns The ISO 8601 date and time in GMT when the Verification Check resource was created.
      179 180 181  | 
    
      # File 'lib/twilio-ruby/rest/verify/v2/service/verification_check.rb', line 179 def date_created @properties['date_created'] end  | 
  
#date_updated ⇒ Time
Returns The ISO 8601 date and time in GMT when the Verification Check resource was last updated.
      185 186 187  | 
    
      # File 'lib/twilio-ruby/rest/verify/v2/service/verification_check.rb', line 185 def date_updated @properties['date_updated'] end  | 
  
#inspect ⇒ Object
Provide a detailed, user friendly representation
      197 198 199  | 
    
      # File 'lib/twilio-ruby/rest/verify/v2/service/verification_check.rb', line 197 def inspect "<Twilio.Verify.V2.VerificationCheckInstance>" end  | 
  
#payee ⇒ String
Returns The payee of the associated PSD2 compliant transaction.
      173 174 175  | 
    
      # File 'lib/twilio-ruby/rest/verify/v2/service/verification_check.rb', line 173 def payee @properties['payee'] end  | 
  
#service_sid ⇒ String
Returns The SID of the Service that the resource is associated with.
      131 132 133  | 
    
      # File 'lib/twilio-ruby/rest/verify/v2/service/verification_check.rb', line 131 def service_sid @properties['service_sid'] end  | 
  
#sid ⇒ String
Returns The unique string that identifies the resource.
      125 126 127  | 
    
      # File 'lib/twilio-ruby/rest/verify/v2/service/verification_check.rb', line 125 def sid @properties['sid'] end  | 
  
#status ⇒ String
Returns The status of the verification resource.
      155 156 157  | 
    
      # File 'lib/twilio-ruby/rest/verify/v2/service/verification_check.rb', line 155 def status @properties['status'] end  | 
  
#to ⇒ String
Returns The phone number or email being verified.
      143 144 145  | 
    
      # File 'lib/twilio-ruby/rest/verify/v2/service/verification_check.rb', line 143 def to @properties['to'] end  | 
  
#to_s ⇒ Object
Provide a user friendly representation
      191 192 193  | 
    
      # File 'lib/twilio-ruby/rest/verify/v2/service/verification_check.rb', line 191 def to_s "<Twilio.Verify.V2.VerificationCheckInstance>" end  | 
  
#valid ⇒ Boolean
Returns Whether the verification was successful.
      161 162 163  | 
    
      # File 'lib/twilio-ruby/rest/verify/v2/service/verification_check.rb', line 161 def valid @properties['valid'] end  |