diff --git a/.gitignore b/.gitignore index 0f182a0..adf0571 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,9 @@ +#don't commit the properties file for tests +test.properties + *.class # Package Files # -*.jar *.war *.ear +*.swp diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..c2b1dd5 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,19 @@ +Copyright (c) 2012 TeleSign Corp. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md deleted file mode 100644 index 86c5ddb..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -java_telesign -============= - -Java TeleSign SDK \ No newline at end of file diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..a54f1d8 --- /dev/null +++ b/README.rst @@ -0,0 +1,117 @@ +======== +TeleSign +======== + +:Info: + For more information, visit the `TeleSign web site `_. + For the latest source code, visit the `TeleSign github repository `_. + +:Author: + Telesign Corp. + +--------------------------------- +TeleSign Web Services: Java SDK +--------------------------------- + +**TeleSign Web Services** conform to the `REST Web Service Design Model `_. Services are exposed as URI-addressable resources through the set of *RESTful* procedures in our **TeleSign REST API**. + +The **TeleSign Java SDK** is a Java library that provides an interface to `TeleSign Web Services `_. + +Authentication +-------------- + +**You will need a Customer ID and API Key in order to use TeleSign’s REST API**. If you are already a customer and need an API Key, you can generate one in the `Client Portal `_. If you are not a customer and would like to get an API Key, please contact `support@telesign.com `_ + +You supply your credentials to the API by passing them in during class initialization. + +>>> + String customer_id = "CUSTOMER_ID_GOES_HERE"; + String secret_key = "SECRECT_KEY_GOES_HERE"; + Verify verify = new Verify(customer_id, secret_key); + +The Java Classes +------------------ + +With just two classes, **telesign.api** abstracts much of the complexity of the TeleSign REST API. + ++------------------------------+--------------------------------------------------------------------------+ +| Java Class | Description | ++==============================+==========================================================================+ +| com.telesign.phoneid.PhoneId | The **PhoneId** class exposes three services that each provide | +| | information about a specified phone number. | +| | | +| | *standard* | +| | Retrieves the standard set of details about the specified phone | +| | number. This includes the type of phone (e.g., land line or mobile), | +| | and it's approximate geographic location. | +| | *score* | +| | Retrieves a score for the specified phone number. This ranks the | +| | phone number's "risk level" on a scale from 0 to 1000, so you can | +| | code your web application to handle particular use cases (e.g., to | +| | stop things like chargebacks, identity theft, fraud, and spam). | +| | *contact* | +| | In addition to the information retrieved by *standard*, this service | +| | provides the Name & Address associated with the specified phone | +| | number. | +| | *live* | +| | In addition to the information retrieved by *standard*, this | +| | service provides actionable data associated with the specified phone | +| | number. | +| | | ++------------------------------+--------------------------------------------------------------------------+ +| com.telesign.verify.Verify | The **Verify** class exposes two services for sending users a | +| | verification token (a three to five-digit number). You can use this | +| | mechanism to simply test whether you can reach users at the phone number | +| | they supplied, or you can have them use the token to authenticate | +| | themselves with your web application. In addition, this class also | +| | exposes a service that allows you to confirm the result of the | +| | authentication. | +| | | +| | You can use this verification factor in combination with *username* | +| | & *password* to provide *two-factor* authentication for higher | +| | security. | +| | | +| | *call* | +| | Calls the specified phone number, and using speech synthesis—speaks | +| | the verification code to the user. | +| | *sms* | +| | Send a text message containing the verification code to the | +| | specified phone number (supported for mobile phones only). | +| | *status* | +| | Retrieves the verification result. You make this call in your web | +| | application after users complete the authentication transaction | +| | (using either a *call* or *sms*). | +| | | ++------------------------------+--------------------------------------------------------------------------+ + +Java Code Example: To Verify a Call +------------------------------------- + +Here's a basic code example. + +>>> + String customer_id = "CUSTOMER_ID_GOES_HERE"; + String secret_key = "SECRECT_KEY_GOES_HERE"; + Verify verify = new Verify(customer_id, secret_key); + VerifyResponse ret = verify.call("13103409700"); + + {"reference_id":"013C8CC050DF040BE4D412D700002101","resource_uri":"/v1/verify/013C8CC050DF040BE4D412D700002101","sub_resource":"call","errors":[],"status":{"updated_on":"2013-01-30T18:37:59.444100Z","code":103,"description":"Call in progress"},"verify":{"code_state":"UNKNOWN","code_entered":""}} + +Documentation +------------- + +Detailed documentation for TeleSign™ REST APIs is available in the +`Client Portal `_ + +Testing +------- + +The easiest way to run the tests is to install `junit +`_ Tests are located in the *test/* directory. + +Support and Feedback +-------------------- + +For more information about the Phone Verify and PhoneID Standard services, please contact your TeleSign representative: + +Email: `support@telesign.com `_ diff --git a/doc/allclasses-frame.html b/doc/allclasses-frame.html new file mode 100644 index 0000000..2ecc6db --- /dev/null +++ b/doc/allclasses-frame.html @@ -0,0 +1,72 @@ + + + + + +All Classes + + + + +

All Classes

+
+ +
+ + diff --git a/doc/allclasses-noframe.html b/doc/allclasses-noframe.html new file mode 100644 index 0000000..72335a0 --- /dev/null +++ b/doc/allclasses-noframe.html @@ -0,0 +1,72 @@ + + + + + +All Classes + + + + +

All Classes

+
+ +
+ + diff --git a/doc/com/telesign/phoneid/PhoneId.html b/doc/com/telesign/phoneid/PhoneId.html new file mode 100644 index 0000000..19b12ba --- /dev/null +++ b/doc/com/telesign/phoneid/PhoneId.html @@ -0,0 +1,369 @@ + + + + + +PhoneId + + + + + + + + + + + +
+
com.telesign.phoneid
+

Class PhoneId

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.PhoneId
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    public class PhoneId
    +extends java.lang.Object
    +
    Copyright (c) TeleSign Corporation 2012. + License: MIT + Support email address "support@telesign.com" + Author: jweatherford
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      PhoneId(java.lang.String customer_id, + java.lang.String secret_key) +
      Implementation of the TeleSign PhoneId api
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      PhoneIdContactResponsecontact(java.lang.String phone_number, + java.lang.String ucid) +
      Make a phoneid contact request to TeleSign's public API.
      +
      PhoneIdLiveResponselive(java.lang.String phone_number, + java.lang.String ucid) +
      Make a phoneid live request to TeleSign's public API.
      +
      PhoneIdScoreResponsescore(java.lang.String phone_number, + java.lang.String ucid) +
      Make a phoneid score request to TeleSign's public API.
      +
      PhoneIdStandardResponsestandard(java.lang.String phone_number) +
      Make a phoneid standard request to Telesign's public API.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+ +
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/class-use/PhoneId.html b/doc/com/telesign/phoneid/class-use/PhoneId.html new file mode 100644 index 0000000..9fe2305 --- /dev/null +++ b/doc/com/telesign/phoneid/class-use/PhoneId.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class com.telesign.phoneid.PhoneId + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.PhoneId

+
+
No usage of com.telesign.phoneid.PhoneId
+ + + + + + diff --git a/doc/com/telesign/phoneid/package-frame.html b/doc/com/telesign/phoneid/package-frame.html new file mode 100644 index 0000000..4c45cbb --- /dev/null +++ b/doc/com/telesign/phoneid/package-frame.html @@ -0,0 +1,19 @@ + + + + + +com.telesign.phoneid + + + + +

com.telesign.phoneid

+
+

Classes

+ +
+ + diff --git a/doc/com/telesign/phoneid/package-summary.html b/doc/com/telesign/phoneid/package-summary.html new file mode 100644 index 0000000..a66d42f --- /dev/null +++ b/doc/com/telesign/phoneid/package-summary.html @@ -0,0 +1,135 @@ + + + + + +com.telesign.phoneid + + + + + + + +
+ + + + + +
+ + +
+

Package com.telesign.phoneid

+
+
+
    +
  • + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    PhoneId +
    Copyright (c) TeleSign Corporation 2012.
    +
    +
  • +
+
+ +
+ + + + + +
+ + + + diff --git a/doc/com/telesign/phoneid/package-tree.html b/doc/com/telesign/phoneid/package-tree.html new file mode 100644 index 0000000..d2b3502 --- /dev/null +++ b/doc/com/telesign/phoneid/package-tree.html @@ -0,0 +1,128 @@ + + + + + +com.telesign.phoneid Class Hierarchy + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package com.telesign.phoneid

+Package Hierarchies: + +
+
+

Class Hierarchy

+
    +
  • java.lang.Object + +
  • +
+
+ +
+ + + + + +
+ + + + diff --git a/doc/com/telesign/phoneid/package-use.html b/doc/com/telesign/phoneid/package-use.html new file mode 100644 index 0000000..57e653b --- /dev/null +++ b/doc/com/telesign/phoneid/package-use.html @@ -0,0 +1,115 @@ + + + + + +Uses of Package com.telesign.phoneid + + + + + + + + + + +
+

Uses of Package
com.telesign.phoneid

+
+
No usage of com.telesign.phoneid
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Contact.html b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Contact.html new file mode 100644 index 0000000..af9ba58 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Contact.html @@ -0,0 +1,385 @@ + + + + + +PhoneIdContactResponse.Contact + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdContactResponse.Contact

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdContactResponse.Contact
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdContactResponse
    +
    +
    +
    +
    public static class PhoneIdContactResponse.Contact
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + + + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        firstname

        +
        public java.lang.String firstname
        +
      • +
      + + + +
        +
      • +

        lastname

        +
        public java.lang.String lastname
        +
      • +
      + + + +
        +
      • +

        address1

        +
        public java.lang.String address1
        +
      • +
      + + + +
        +
      • +

        address2

        +
        public java.lang.String address2
        +
      • +
      + + + +
        +
      • +

        address3

        +
        public java.lang.String address3
        +
      • +
      + + + +
        +
      • +

        address4

        +
        public java.lang.String address4
        +
      • +
      + + + +
        +
      • +

        city

        +
        public java.lang.String city
        +
      • +
      + + + +
        +
      • +

        state_province

        +
        public java.lang.String state_province
        +
      • +
      + + + +
        +
      • +

        country

        +
        public java.lang.String country
        +
      • +
      + + + +
        +
      • +

        zip_postal_code

        +
        public java.lang.String zip_postal_code
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdContactResponse.Contact

        +
        public PhoneIdContactResponse.Contact()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Error.html b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Error.html new file mode 100644 index 0000000..94a1ef8 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Error.html @@ -0,0 +1,281 @@ + + + + + +PhoneIdContactResponse.Error + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdContactResponse.Error

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdContactResponse.Error
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdContactResponse
    +
    +
    +
    +
    public static class PhoneIdContactResponse.Error
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      intcode 
      java.lang.Stringdescription 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        code

        +
        public int code
        +
      • +
      + + + +
        +
      • +

        description

        +
        public java.lang.String description
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdContactResponse.Error

        +
        public PhoneIdContactResponse.Error()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Location.Coordinates.html b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Location.Coordinates.html new file mode 100644 index 0000000..da41754 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Location.Coordinates.html @@ -0,0 +1,281 @@ + + + + + +PhoneIdContactResponse.Location.Coordinates + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdContactResponse.Location.Coordinates

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdContactResponse.Location.Coordinates
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdContactResponse.Location
    +
    +
    +
    +
    public static class PhoneIdContactResponse.Location.Coordinates
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      doublelatitude 
      doublelongitude 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        latitude

        +
        public double latitude
        +
      • +
      + + + +
        +
      • +

        longitude

        +
        public double longitude
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdContactResponse.Location.Coordinates

        +
        public PhoneIdContactResponse.Location.Coordinates()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Location.Country.html b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Location.Country.html new file mode 100644 index 0000000..808bfca --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Location.Country.html @@ -0,0 +1,294 @@ + + + + + +PhoneIdContactResponse.Location.Country + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdContactResponse.Location.Country

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdContactResponse.Location.Country
    • +
    +
  • +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      java.lang.Stringiso2 
      java.lang.Stringiso3 
      java.lang.Stringname 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        iso2

        +
        public java.lang.String iso2
        +
      • +
      + + + +
        +
      • +

        iso3

        +
        public java.lang.String iso3
        +
      • +
      + + + +
        +
      • +

        name

        +
        public java.lang.String name
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdContactResponse.Location.Country

        +
        public PhoneIdContactResponse.Location.Country()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Location.TimeZone.html b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Location.TimeZone.html new file mode 100644 index 0000000..b554ee4 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Location.TimeZone.html @@ -0,0 +1,294 @@ + + + + + +PhoneIdContactResponse.Location.TimeZone + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdContactResponse.Location.TimeZone

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdContactResponse.Location.TimeZone
    • +
    +
  • +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      java.lang.Stringname 
      java.lang.Stringutc_offset_max 
      java.lang.Stringutc_offset_min 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        utc_offset_min

        +
        public java.lang.String utc_offset_min
        +
      • +
      + + + +
        +
      • +

        name

        +
        public java.lang.String name
        +
      • +
      + + + +
        +
      • +

        utc_offset_max

        +
        public java.lang.String utc_offset_max
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdContactResponse.Location.TimeZone

        +
        public PhoneIdContactResponse.Location.TimeZone()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Location.html b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Location.html new file mode 100644 index 0000000..f41c627 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Location.html @@ -0,0 +1,386 @@ + + + + + +PhoneIdContactResponse.Location + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdContactResponse.Location

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdContactResponse.Location
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdContactResponse
    +
    +
    +
    +
    public static class PhoneIdContactResponse.Location
    +extends java.lang.Object
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Numbering.CleansingNumber.Number.html b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Numbering.CleansingNumber.Number.html new file mode 100644 index 0000000..8736f7c --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Numbering.CleansingNumber.Number.html @@ -0,0 +1,320 @@ + + + + + +PhoneIdContactResponse.Numbering.CleansingNumber.Number + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdContactResponse.Numbering.CleansingNumber.Number

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdContactResponse.Numbering.CleansingNumber.Number
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        phone_number

        +
        public java.lang.String phone_number
        +
      • +
      + + + +
        +
      • +

        country_code

        +
        public java.lang.String country_code
        +
      • +
      + + + +
        +
      • +

        min_length

        +
        public int min_length
        +
      • +
      + + + +
        +
      • +

        max_length

        +
        public int max_length
        +
      • +
      + + + +
        +
      • +

        cleansed_code

        +
        public int cleansed_code
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdContactResponse.Numbering.CleansingNumber.Number

        +
        public PhoneIdContactResponse.Numbering.CleansingNumber.Number()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Numbering.CleansingNumber.html b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Numbering.CleansingNumber.html new file mode 100644 index 0000000..135c2d3 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Numbering.CleansingNumber.html @@ -0,0 +1,300 @@ + + + + + +PhoneIdContactResponse.Numbering.CleansingNumber + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdContactResponse.Numbering.CleansingNumber

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdContactResponse.Numbering.CleansingNumber
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdContactResponse.Numbering
    +
    +
    +
    +
    public static class PhoneIdContactResponse.Numbering.CleansingNumber
    +extends java.lang.Object
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Numbering.OriginalNumber.html b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Numbering.OriginalNumber.html new file mode 100644 index 0000000..02ab247 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Numbering.OriginalNumber.html @@ -0,0 +1,294 @@ + + + + + +PhoneIdContactResponse.Numbering.OriginalNumber + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdContactResponse.Numbering.OriginalNumber

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdContactResponse.Numbering.OriginalNumber
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdContactResponse.Numbering
    +
    +
    +
    +
    public static class PhoneIdContactResponse.Numbering.OriginalNumber
    +extends java.lang.Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        phone_number

        +
        public java.lang.String phone_number
        +
      • +
      + + + +
        +
      • +

        complete_phone_number

        +
        public java.lang.String complete_phone_number
        +
      • +
      + + + +
        +
      • +

        country_code

        +
        public java.lang.String country_code
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdContactResponse.Numbering.OriginalNumber

        +
        public PhoneIdContactResponse.Numbering.OriginalNumber()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Numbering.html b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Numbering.html new file mode 100644 index 0000000..7febdc5 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Numbering.html @@ -0,0 +1,304 @@ + + + + + +PhoneIdContactResponse.Numbering + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdContactResponse.Numbering

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdContactResponse.Numbering
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdContactResponse
    +
    +
    +
    +
    public static class PhoneIdContactResponse.Numbering
    +extends java.lang.Object
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdContactResponse.PhoneType.html b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.PhoneType.html new file mode 100644 index 0000000..3ec7b53 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.PhoneType.html @@ -0,0 +1,281 @@ + + + + + +PhoneIdContactResponse.PhoneType + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdContactResponse.PhoneType

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdContactResponse.PhoneType
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdContactResponse
    +
    +
    +
    +
    public static class PhoneIdContactResponse.PhoneType
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      intcode 
      java.lang.Stringdescription 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        code

        +
        public int code
        +
      • +
      + + + +
        +
      • +

        description

        +
        public java.lang.String description
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdContactResponse.PhoneType

        +
        public PhoneIdContactResponse.PhoneType()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Status.html b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Status.html new file mode 100644 index 0000000..75d7e38 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.Status.html @@ -0,0 +1,294 @@ + + + + + +PhoneIdContactResponse.Status + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdContactResponse.Status

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdContactResponse.Status
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdContactResponse
    +
    +
    +
    +
    public static class PhoneIdContactResponse.Status
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      intcode 
      java.lang.Stringdescription 
      java.lang.Stringupdated_on 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        updated_on

        +
        public java.lang.String updated_on
        +
      • +
      + + + +
        +
      • +

        code

        +
        public int code
        +
      • +
      + + + +
        +
      • +

        description

        +
        public java.lang.String description
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdContactResponse.Status

        +
        public PhoneIdContactResponse.Status()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdContactResponse.html b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.html new file mode 100644 index 0000000..447661b --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdContactResponse.html @@ -0,0 +1,459 @@ + + + + + +PhoneIdContactResponse + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdContactResponse

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdContactResponse
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    public class PhoneIdContactResponse
    +extends java.lang.Object
    +
    Google GSON mapped class to represent a TeleSign JSON response to a + PhoneId.contact() request + + Copyright (c) TeleSign Corporation 2012. + License: MIT + Support email address "support@telesign.com" + Author: jweatherford
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Error.html b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Error.html new file mode 100644 index 0000000..95a9b51 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Error.html @@ -0,0 +1,281 @@ + + + + + +PhoneIdLiveResponse.Error + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdLiveResponse.Error

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdLiveResponse.Error
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdLiveResponse
    +
    +
    +
    +
    public static class PhoneIdLiveResponse.Error
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      intcode 
      java.lang.Stringdescription 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        code

        +
        public int code
        +
      • +
      + + + +
        +
      • +

        description

        +
        public java.lang.String description
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdLiveResponse.Error

        +
        public PhoneIdLiveResponse.Error()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Live.html b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Live.html new file mode 100644 index 0000000..540274a --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Live.html @@ -0,0 +1,307 @@ + + + + + +PhoneIdLiveResponse.Live + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdLiveResponse.Live

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdLiveResponse.Live
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdLiveResponse
    +
    +
    +
    +
    public static class PhoneIdLiveResponse.Live
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + + + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        subscriber_status

        +
        public java.lang.String subscriber_status
        +
      • +
      + + + +
        +
      • +

        device_status

        +
        public java.lang.String device_status
        +
      • +
      + + + +
        +
      • +

        roaming

        +
        public java.lang.String roaming
        +
      • +
      + + + +
        +
      • +

        roaming_country

        +
        public java.lang.String roaming_country
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdLiveResponse.Live

        +
        public PhoneIdLiveResponse.Live()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Location.Coordinates.html b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Location.Coordinates.html new file mode 100644 index 0000000..4a7e1e7 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Location.Coordinates.html @@ -0,0 +1,281 @@ + + + + + +PhoneIdLiveResponse.Location.Coordinates + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdLiveResponse.Location.Coordinates

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdLiveResponse.Location.Coordinates
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdLiveResponse.Location
    +
    +
    +
    +
    public static class PhoneIdLiveResponse.Location.Coordinates
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      doublelatitude 
      doublelongitude 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        latitude

        +
        public double latitude
        +
      • +
      + + + +
        +
      • +

        longitude

        +
        public double longitude
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdLiveResponse.Location.Coordinates

        +
        public PhoneIdLiveResponse.Location.Coordinates()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Location.Country.html b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Location.Country.html new file mode 100644 index 0000000..da9f1fd --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Location.Country.html @@ -0,0 +1,294 @@ + + + + + +PhoneIdLiveResponse.Location.Country + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdLiveResponse.Location.Country

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdLiveResponse.Location.Country
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdLiveResponse.Location
    +
    +
    +
    +
    public static class PhoneIdLiveResponse.Location.Country
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      java.lang.Stringiso2 
      java.lang.Stringiso3 
      java.lang.Stringname 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        iso2

        +
        public java.lang.String iso2
        +
      • +
      + + + +
        +
      • +

        iso3

        +
        public java.lang.String iso3
        +
      • +
      + + + +
        +
      • +

        name

        +
        public java.lang.String name
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdLiveResponse.Location.Country

        +
        public PhoneIdLiveResponse.Location.Country()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Location.TimeZone.html b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Location.TimeZone.html new file mode 100644 index 0000000..112f437 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Location.TimeZone.html @@ -0,0 +1,294 @@ + + + + + +PhoneIdLiveResponse.Location.TimeZone + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdLiveResponse.Location.TimeZone

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdLiveResponse.Location.TimeZone
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdLiveResponse.Location
    +
    +
    +
    +
    public static class PhoneIdLiveResponse.Location.TimeZone
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      java.lang.Stringname 
      java.lang.Stringutc_offset_max 
      java.lang.Stringutc_offset_min 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        utc_offset_min

        +
        public java.lang.String utc_offset_min
        +
      • +
      + + + +
        +
      • +

        name

        +
        public java.lang.String name
        +
      • +
      + + + +
        +
      • +

        utc_offset_max

        +
        public java.lang.String utc_offset_max
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdLiveResponse.Location.TimeZone

        +
        public PhoneIdLiveResponse.Location.TimeZone()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Location.html b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Location.html new file mode 100644 index 0000000..6fee16a --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Location.html @@ -0,0 +1,386 @@ + + + + + +PhoneIdLiveResponse.Location + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdLiveResponse.Location

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdLiveResponse.Location
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdLiveResponse
    +
    +
    +
    +
    public static class PhoneIdLiveResponse.Location
    +extends java.lang.Object
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Numbering.CleansingNumber.Number.html b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Numbering.CleansingNumber.Number.html new file mode 100644 index 0000000..9c05c9d --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Numbering.CleansingNumber.Number.html @@ -0,0 +1,320 @@ + + + + + +PhoneIdLiveResponse.Numbering.CleansingNumber.Number + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdLiveResponse.Numbering.CleansingNumber.Number

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering.CleansingNumber.Number
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        phone_number

        +
        public java.lang.String phone_number
        +
      • +
      + + + +
        +
      • +

        country_code

        +
        public java.lang.String country_code
        +
      • +
      + + + +
        +
      • +

        min_length

        +
        public int min_length
        +
      • +
      + + + +
        +
      • +

        max_length

        +
        public int max_length
        +
      • +
      + + + +
        +
      • +

        cleansed_code

        +
        public int cleansed_code
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdLiveResponse.Numbering.CleansingNumber.Number

        +
        public PhoneIdLiveResponse.Numbering.CleansingNumber.Number()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Numbering.CleansingNumber.html b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Numbering.CleansingNumber.html new file mode 100644 index 0000000..2813401 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Numbering.CleansingNumber.html @@ -0,0 +1,300 @@ + + + + + +PhoneIdLiveResponse.Numbering.CleansingNumber + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdLiveResponse.Numbering.CleansingNumber

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering.CleansingNumber
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdLiveResponse.Numbering
    +
    +
    +
    +
    public static class PhoneIdLiveResponse.Numbering.CleansingNumber
    +extends java.lang.Object
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Numbering.OriginalNumber.html b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Numbering.OriginalNumber.html new file mode 100644 index 0000000..4ff6387 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Numbering.OriginalNumber.html @@ -0,0 +1,294 @@ + + + + + +PhoneIdLiveResponse.Numbering.OriginalNumber + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdLiveResponse.Numbering.OriginalNumber

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering.OriginalNumber
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdLiveResponse.Numbering
    +
    +
    +
    +
    public static class PhoneIdLiveResponse.Numbering.OriginalNumber
    +extends java.lang.Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        phone_number

        +
        public java.lang.String phone_number
        +
      • +
      + + + +
        +
      • +

        complete_phone_number

        +
        public java.lang.String complete_phone_number
        +
      • +
      + + + +
        +
      • +

        country_code

        +
        public java.lang.String country_code
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdLiveResponse.Numbering.OriginalNumber

        +
        public PhoneIdLiveResponse.Numbering.OriginalNumber()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Numbering.html b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Numbering.html new file mode 100644 index 0000000..8c14556 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Numbering.html @@ -0,0 +1,304 @@ + + + + + +PhoneIdLiveResponse.Numbering + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdLiveResponse.Numbering

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdLiveResponse
    +
    +
    +
    +
    public static class PhoneIdLiveResponse.Numbering
    +extends java.lang.Object
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.PhoneType.html b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.PhoneType.html new file mode 100644 index 0000000..993912e --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.PhoneType.html @@ -0,0 +1,281 @@ + + + + + +PhoneIdLiveResponse.PhoneType + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdLiveResponse.PhoneType

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdLiveResponse.PhoneType
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdLiveResponse
    +
    +
    +
    +
    public static class PhoneIdLiveResponse.PhoneType
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      intcode 
      java.lang.Stringdescription 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        code

        +
        public int code
        +
      • +
      + + + +
        +
      • +

        description

        +
        public java.lang.String description
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdLiveResponse.PhoneType

        +
        public PhoneIdLiveResponse.PhoneType()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Status.html b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Status.html new file mode 100644 index 0000000..d47d351 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.Status.html @@ -0,0 +1,294 @@ + + + + + +PhoneIdLiveResponse.Status + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdLiveResponse.Status

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdLiveResponse.Status
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdLiveResponse
    +
    +
    +
    +
    public static class PhoneIdLiveResponse.Status
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      intcode 
      java.lang.Stringdescription 
      java.lang.Stringupdated_on 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        updated_on

        +
        public java.lang.String updated_on
        +
      • +
      + + + +
        +
      • +

        code

        +
        public int code
        +
      • +
      + + + +
        +
      • +

        description

        +
        public java.lang.String description
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdLiveResponse.Status

        +
        public PhoneIdLiveResponse.Status()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.html b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.html new file mode 100644 index 0000000..6f81f5f --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdLiveResponse.html @@ -0,0 +1,459 @@ + + + + + +PhoneIdLiveResponse + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdLiveResponse

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdLiveResponse
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    public class PhoneIdLiveResponse
    +extends java.lang.Object
    +
    Google GSON mapped class to represent a TeleSign JSON response to a + PhoneId.live() request + + Copyright (c) TeleSign Corporation 2012. + License: MIT + Support email address "support@telesign.com" + Author: jweatherford
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.Error.html b/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.Error.html new file mode 100644 index 0000000..43f172f --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.Error.html @@ -0,0 +1,281 @@ + + + + + +PhoneIdScoreResponse.Error + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdScoreResponse.Error

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdScoreResponse.Error
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdScoreResponse
    +
    +
    +
    +
    public static class PhoneIdScoreResponse.Error
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      intcode 
      java.lang.Stringdescription 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        code

        +
        public int code
        +
      • +
      + + + +
        +
      • +

        description

        +
        public java.lang.String description
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdScoreResponse.Error

        +
        public PhoneIdScoreResponse.Error()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.Numbering.CleansingNumber.Number.html b/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.Numbering.CleansingNumber.Number.html new file mode 100644 index 0000000..969ee3d --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.Numbering.CleansingNumber.Number.html @@ -0,0 +1,320 @@ + + + + + +PhoneIdScoreResponse.Numbering.CleansingNumber.Number + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdScoreResponse.Numbering.CleansingNumber.Number

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering.CleansingNumber.Number
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        phone_number

        +
        public java.lang.String phone_number
        +
      • +
      + + + +
        +
      • +

        country_code

        +
        public java.lang.String country_code
        +
      • +
      + + + +
        +
      • +

        min_length

        +
        public int min_length
        +
      • +
      + + + +
        +
      • +

        max_length

        +
        public int max_length
        +
      • +
      + + + +
        +
      • +

        cleansed_code

        +
        public int cleansed_code
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdScoreResponse.Numbering.CleansingNumber.Number

        +
        public PhoneIdScoreResponse.Numbering.CleansingNumber.Number()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.Numbering.CleansingNumber.html b/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.Numbering.CleansingNumber.html new file mode 100644 index 0000000..a005156 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.Numbering.CleansingNumber.html @@ -0,0 +1,300 @@ + + + + + +PhoneIdScoreResponse.Numbering.CleansingNumber + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdScoreResponse.Numbering.CleansingNumber

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering.CleansingNumber
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdScoreResponse.Numbering
    +
    +
    +
    +
    public static class PhoneIdScoreResponse.Numbering.CleansingNumber
    +extends java.lang.Object
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.Numbering.OriginalNumber.html b/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.Numbering.OriginalNumber.html new file mode 100644 index 0000000..137efa7 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.Numbering.OriginalNumber.html @@ -0,0 +1,294 @@ + + + + + +PhoneIdScoreResponse.Numbering.OriginalNumber + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdScoreResponse.Numbering.OriginalNumber

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering.OriginalNumber
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdScoreResponse.Numbering
    +
    +
    +
    +
    public static class PhoneIdScoreResponse.Numbering.OriginalNumber
    +extends java.lang.Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        phone_number

        +
        public java.lang.String phone_number
        +
      • +
      + + + +
        +
      • +

        complete_phone_number

        +
        public java.lang.String complete_phone_number
        +
      • +
      + + + +
        +
      • +

        country_code

        +
        public java.lang.String country_code
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdScoreResponse.Numbering.OriginalNumber

        +
        public PhoneIdScoreResponse.Numbering.OriginalNumber()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.Numbering.html b/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.Numbering.html new file mode 100644 index 0000000..afd494e --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.Numbering.html @@ -0,0 +1,304 @@ + + + + + +PhoneIdScoreResponse.Numbering + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdScoreResponse.Numbering

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdScoreResponse
    +
    +
    +
    +
    public static class PhoneIdScoreResponse.Numbering
    +extends java.lang.Object
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.PhoneType.html b/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.PhoneType.html new file mode 100644 index 0000000..0895baf --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.PhoneType.html @@ -0,0 +1,281 @@ + + + + + +PhoneIdScoreResponse.PhoneType + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdScoreResponse.PhoneType

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdScoreResponse.PhoneType
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdScoreResponse
    +
    +
    +
    +
    public static class PhoneIdScoreResponse.PhoneType
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      intcode 
      java.lang.Stringdescription 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        code

        +
        public int code
        +
      • +
      + + + +
        +
      • +

        description

        +
        public java.lang.String description
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdScoreResponse.PhoneType

        +
        public PhoneIdScoreResponse.PhoneType()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.Risk.html b/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.Risk.html new file mode 100644 index 0000000..9959346 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.Risk.html @@ -0,0 +1,294 @@ + + + + + +PhoneIdScoreResponse.Risk + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdScoreResponse.Risk

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdScoreResponse.Risk
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdScoreResponse
    +
    +
    +
    +
    public static class PhoneIdScoreResponse.Risk
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      java.lang.Stringlevel 
      java.lang.Stringrecommendation 
      intscore 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        level

        +
        public java.lang.String level
        +
      • +
      + + + +
        +
      • +

        score

        +
        public int score
        +
      • +
      + + + +
        +
      • +

        recommendation

        +
        public java.lang.String recommendation
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdScoreResponse.Risk

        +
        public PhoneIdScoreResponse.Risk()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.Status.html b/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.Status.html new file mode 100644 index 0000000..207b122 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.Status.html @@ -0,0 +1,294 @@ + + + + + +PhoneIdScoreResponse.Status + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdScoreResponse.Status

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdScoreResponse.Status
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdScoreResponse
    +
    +
    +
    +
    public static class PhoneIdScoreResponse.Status
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      intcode 
      java.lang.Stringdescription 
      java.lang.Stringupdated_on 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        updated_on

        +
        public java.lang.String updated_on
        +
      • +
      + + + +
        +
      • +

        code

        +
        public int code
        +
      • +
      + + + +
        +
      • +

        description

        +
        public java.lang.String description
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdScoreResponse.Status

        +
        public PhoneIdScoreResponse.Status()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.html b/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.html new file mode 100644 index 0000000..9a542e9 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdScoreResponse.html @@ -0,0 +1,429 @@ + + + + + +PhoneIdScoreResponse + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdScoreResponse

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdScoreResponse
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    public class PhoneIdScoreResponse
    +extends java.lang.Object
    +
    Google GSON mapped class to represent a TeleSign JSON response to a + PhoneId.score() request + + Copyright (c) TeleSign Corporation 2012. + License: MIT + Support email address "support@telesign.com" + Author: jweatherford
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdScoreResponse

        +
        public PhoneIdScoreResponse()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Error.html b/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Error.html new file mode 100644 index 0000000..7008578 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Error.html @@ -0,0 +1,281 @@ + + + + + +PhoneIdStandardResponse.Error + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdStandardResponse.Error

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdStandardResponse.Error
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdStandardResponse
    +
    +
    +
    +
    public static class PhoneIdStandardResponse.Error
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      intcode 
      java.lang.Stringdescription 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        code

        +
        public int code
        +
      • +
      + + + +
        +
      • +

        description

        +
        public java.lang.String description
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdStandardResponse.Error

        +
        public PhoneIdStandardResponse.Error()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Location.Coordinates.html b/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Location.Coordinates.html new file mode 100644 index 0000000..e2abe21 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Location.Coordinates.html @@ -0,0 +1,281 @@ + + + + + +PhoneIdStandardResponse.Location.Coordinates + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdStandardResponse.Location.Coordinates

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdStandardResponse.Location.Coordinates
    • +
    +
  • +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      doublelatitude 
      doublelongitude 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        latitude

        +
        public double latitude
        +
      • +
      + + + +
        +
      • +

        longitude

        +
        public double longitude
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdStandardResponse.Location.Coordinates

        +
        public PhoneIdStandardResponse.Location.Coordinates()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Location.Country.html b/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Location.Country.html new file mode 100644 index 0000000..28f167c --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Location.Country.html @@ -0,0 +1,294 @@ + + + + + +PhoneIdStandardResponse.Location.Country + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdStandardResponse.Location.Country

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdStandardResponse.Location.Country
    • +
    +
  • +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      java.lang.Stringiso2 
      java.lang.Stringiso3 
      java.lang.Stringname 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        iso2

        +
        public java.lang.String iso2
        +
      • +
      + + + +
        +
      • +

        iso3

        +
        public java.lang.String iso3
        +
      • +
      + + + +
        +
      • +

        name

        +
        public java.lang.String name
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdStandardResponse.Location.Country

        +
        public PhoneIdStandardResponse.Location.Country()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Location.TimeZone.html b/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Location.TimeZone.html new file mode 100644 index 0000000..3fdb38a --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Location.TimeZone.html @@ -0,0 +1,294 @@ + + + + + +PhoneIdStandardResponse.Location.TimeZone + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdStandardResponse.Location.TimeZone

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdStandardResponse.Location.TimeZone
    • +
    +
  • +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      java.lang.Stringname 
      java.lang.Stringutc_offset_max 
      java.lang.Stringutc_offset_min 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        utc_offset_min

        +
        public java.lang.String utc_offset_min
        +
      • +
      + + + +
        +
      • +

        name

        +
        public java.lang.String name
        +
      • +
      + + + +
        +
      • +

        utc_offset_max

        +
        public java.lang.String utc_offset_max
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdStandardResponse.Location.TimeZone

        +
        public PhoneIdStandardResponse.Location.TimeZone()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Location.html b/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Location.html new file mode 100644 index 0000000..4b3f43d --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Location.html @@ -0,0 +1,386 @@ + + + + + +PhoneIdStandardResponse.Location + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdStandardResponse.Location

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdStandardResponse.Location
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdStandardResponse
    +
    +
    +
    +
    public static class PhoneIdStandardResponse.Location
    +extends java.lang.Object
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Numbering.CleansingNumber.Number.html b/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Numbering.CleansingNumber.Number.html new file mode 100644 index 0000000..80be61c --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Numbering.CleansingNumber.Number.html @@ -0,0 +1,320 @@ + + + + + +PhoneIdStandardResponse.Numbering.CleansingNumber.Number + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdStandardResponse.Numbering.CleansingNumber.Number

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering.CleansingNumber.Number
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        phone_number

        +
        public java.lang.String phone_number
        +
      • +
      + + + +
        +
      • +

        country_code

        +
        public java.lang.String country_code
        +
      • +
      + + + +
        +
      • +

        min_length

        +
        public int min_length
        +
      • +
      + + + +
        +
      • +

        max_length

        +
        public int max_length
        +
      • +
      + + + +
        +
      • +

        cleansed_code

        +
        public int cleansed_code
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdStandardResponse.Numbering.CleansingNumber.Number

        +
        public PhoneIdStandardResponse.Numbering.CleansingNumber.Number()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Numbering.CleansingNumber.html b/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Numbering.CleansingNumber.html new file mode 100644 index 0000000..0c097ae --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Numbering.CleansingNumber.html @@ -0,0 +1,300 @@ + + + + + +PhoneIdStandardResponse.Numbering.CleansingNumber + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdStandardResponse.Numbering.CleansingNumber

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering.CleansingNumber
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Numbering.OriginalNumber.html b/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Numbering.OriginalNumber.html new file mode 100644 index 0000000..467b8ce --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Numbering.OriginalNumber.html @@ -0,0 +1,294 @@ + + + + + +PhoneIdStandardResponse.Numbering.OriginalNumber + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdStandardResponse.Numbering.OriginalNumber

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering.OriginalNumber
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        phone_number

        +
        public java.lang.String phone_number
        +
      • +
      + + + +
        +
      • +

        complete_phone_number

        +
        public java.lang.String complete_phone_number
        +
      • +
      + + + +
        +
      • +

        country_code

        +
        public java.lang.String country_code
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdStandardResponse.Numbering.OriginalNumber

        +
        public PhoneIdStandardResponse.Numbering.OriginalNumber()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Numbering.html b/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Numbering.html new file mode 100644 index 0000000..6bedb74 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Numbering.html @@ -0,0 +1,304 @@ + + + + + +PhoneIdStandardResponse.Numbering + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdStandardResponse.Numbering

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdStandardResponse
    +
    +
    +
    +
    public static class PhoneIdStandardResponse.Numbering
    +extends java.lang.Object
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.PhoneType.html b/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.PhoneType.html new file mode 100644 index 0000000..419eecb --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.PhoneType.html @@ -0,0 +1,281 @@ + + + + + +PhoneIdStandardResponse.PhoneType + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdStandardResponse.PhoneType

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdStandardResponse.PhoneType
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdStandardResponse
    +
    +
    +
    +
    public static class PhoneIdStandardResponse.PhoneType
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      intcode 
      java.lang.Stringdescription 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        code

        +
        public int code
        +
      • +
      + + + +
        +
      • +

        description

        +
        public java.lang.String description
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdStandardResponse.PhoneType

        +
        public PhoneIdStandardResponse.PhoneType()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Status.html b/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Status.html new file mode 100644 index 0000000..8318b37 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.Status.html @@ -0,0 +1,294 @@ + + + + + +PhoneIdStandardResponse.Status + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdStandardResponse.Status

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdStandardResponse.Status
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    PhoneIdStandardResponse
    +
    +
    +
    +
    public static class PhoneIdStandardResponse.Status
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      intcode 
      java.lang.Stringdescription 
      java.lang.Stringupdated_on 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        updated_on

        +
        public java.lang.String updated_on
        +
      • +
      + + + +
        +
      • +

        code

        +
        public int code
        +
      • +
      + + + +
        +
      • +

        description

        +
        public java.lang.String description
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneIdStandardResponse.Status

        +
        public PhoneIdStandardResponse.Status()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.html b/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.html new file mode 100644 index 0000000..a302562 --- /dev/null +++ b/doc/com/telesign/phoneid/response/PhoneIdStandardResponse.html @@ -0,0 +1,442 @@ + + + + + +PhoneIdStandardResponse + + + + + + + + + + + +
+
com.telesign.phoneid.response
+

Class PhoneIdStandardResponse

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.phoneid.response.PhoneIdStandardResponse
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    public class PhoneIdStandardResponse
    +extends java.lang.Object
    +
    Google GSON mapped class to represent a TeleSign JSON response to a + PhoneId.standard() request + + Copyright (c) TeleSign Corporation 2012. + License: MIT + Support email address "support@telesign.com" + Author: jweatherford
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Contact.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Contact.html new file mode 100644 index 0000000..1047a69 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Contact.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdContactResponse.Contact + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdContactResponse.Contact

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Error.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Error.html new file mode 100644 index 0000000..f9b5c4a --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Error.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdContactResponse.Error + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdContactResponse.Error

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Location.Coordinates.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Location.Coordinates.html new file mode 100644 index 0000000..356eac2 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Location.Coordinates.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdContactResponse.Location.Coordinates + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdContactResponse.Location.Coordinates

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Location.Country.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Location.Country.html new file mode 100644 index 0000000..a45e66d --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Location.Country.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdContactResponse.Location.Country + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdContactResponse.Location.Country

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Location.TimeZone.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Location.TimeZone.html new file mode 100644 index 0000000..5cb5e68 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Location.TimeZone.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdContactResponse.Location.TimeZone + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdContactResponse.Location.TimeZone

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Location.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Location.html new file mode 100644 index 0000000..4962b7a --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Location.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdContactResponse.Location + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdContactResponse.Location

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Numbering.CleansingNumber.Number.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Numbering.CleansingNumber.Number.html new file mode 100644 index 0000000..8a3406d --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Numbering.CleansingNumber.Number.html @@ -0,0 +1,159 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdContactResponse.Numbering.CleansingNumber.Number + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdContactResponse.Numbering.CleansingNumber.Number

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Numbering.CleansingNumber.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Numbering.CleansingNumber.html new file mode 100644 index 0000000..8cc3af2 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Numbering.CleansingNumber.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdContactResponse.Numbering.CleansingNumber + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdContactResponse.Numbering.CleansingNumber

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Numbering.OriginalNumber.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Numbering.OriginalNumber.html new file mode 100644 index 0000000..9bd5642 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Numbering.OriginalNumber.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdContactResponse.Numbering.OriginalNumber + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdContactResponse.Numbering.OriginalNumber

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Numbering.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Numbering.html new file mode 100644 index 0000000..554c136 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Numbering.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdContactResponse.Numbering + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdContactResponse.Numbering

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.PhoneType.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.PhoneType.html new file mode 100644 index 0000000..1cc5f06 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.PhoneType.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdContactResponse.PhoneType + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdContactResponse.PhoneType

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Status.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Status.html new file mode 100644 index 0000000..b3d1ef7 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.Status.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdContactResponse.Status + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdContactResponse.Status

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.html new file mode 100644 index 0000000..add87db --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdContactResponse.html @@ -0,0 +1,158 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdContactResponse + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdContactResponse

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Error.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Error.html new file mode 100644 index 0000000..c1d0a9d --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Error.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdLiveResponse.Error + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdLiveResponse.Error

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Live.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Live.html new file mode 100644 index 0000000..5ea5a43 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Live.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdLiveResponse.Live + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdLiveResponse.Live

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Location.Coordinates.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Location.Coordinates.html new file mode 100644 index 0000000..77fbe9c --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Location.Coordinates.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdLiveResponse.Location.Coordinates + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdLiveResponse.Location.Coordinates

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Location.Country.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Location.Country.html new file mode 100644 index 0000000..479d522 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Location.Country.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdLiveResponse.Location.Country + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdLiveResponse.Location.Country

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Location.TimeZone.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Location.TimeZone.html new file mode 100644 index 0000000..d7fca86 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Location.TimeZone.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdLiveResponse.Location.TimeZone + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdLiveResponse.Location.TimeZone

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Location.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Location.html new file mode 100644 index 0000000..e33ade5 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Location.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdLiveResponse.Location + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdLiveResponse.Location

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Numbering.CleansingNumber.Number.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Numbering.CleansingNumber.Number.html new file mode 100644 index 0000000..a7d9daf --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Numbering.CleansingNumber.Number.html @@ -0,0 +1,159 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering.CleansingNumber.Number + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering.CleansingNumber.Number

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Numbering.CleansingNumber.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Numbering.CleansingNumber.html new file mode 100644 index 0000000..0fb74d0 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Numbering.CleansingNumber.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering.CleansingNumber + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering.CleansingNumber

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Numbering.OriginalNumber.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Numbering.OriginalNumber.html new file mode 100644 index 0000000..b640b83 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Numbering.OriginalNumber.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering.OriginalNumber + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering.OriginalNumber

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Numbering.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Numbering.html new file mode 100644 index 0000000..0e783a4 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Numbering.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.PhoneType.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.PhoneType.html new file mode 100644 index 0000000..546edf3 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.PhoneType.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdLiveResponse.PhoneType + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdLiveResponse.PhoneType

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Status.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Status.html new file mode 100644 index 0000000..5d7cdc3 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.Status.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdLiveResponse.Status + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdLiveResponse.Status

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.html new file mode 100644 index 0000000..4f30456 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdLiveResponse.html @@ -0,0 +1,158 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdLiveResponse + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdLiveResponse

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.Error.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.Error.html new file mode 100644 index 0000000..1167fb0 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.Error.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdScoreResponse.Error + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdScoreResponse.Error

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.Numbering.CleansingNumber.Number.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.Numbering.CleansingNumber.Number.html new file mode 100644 index 0000000..4c23af7 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.Numbering.CleansingNumber.Number.html @@ -0,0 +1,159 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering.CleansingNumber.Number + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering.CleansingNumber.Number

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.Numbering.CleansingNumber.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.Numbering.CleansingNumber.html new file mode 100644 index 0000000..d1cbcd3 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.Numbering.CleansingNumber.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering.CleansingNumber + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering.CleansingNumber

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.Numbering.OriginalNumber.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.Numbering.OriginalNumber.html new file mode 100644 index 0000000..b301b9b --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.Numbering.OriginalNumber.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering.OriginalNumber + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering.OriginalNumber

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.Numbering.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.Numbering.html new file mode 100644 index 0000000..dac1e0c --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.Numbering.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.PhoneType.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.PhoneType.html new file mode 100644 index 0000000..6084889 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.PhoneType.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdScoreResponse.PhoneType + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdScoreResponse.PhoneType

+
+
No usage of com.telesign.phoneid.response.PhoneIdScoreResponse.PhoneType
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.Risk.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.Risk.html new file mode 100644 index 0000000..c846bba --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.Risk.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdScoreResponse.Risk + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdScoreResponse.Risk

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.Status.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.Status.html new file mode 100644 index 0000000..793282d --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.Status.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdScoreResponse.Status + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdScoreResponse.Status

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.html new file mode 100644 index 0000000..2b76d9d --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdScoreResponse.html @@ -0,0 +1,158 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdScoreResponse + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdScoreResponse

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Error.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Error.html new file mode 100644 index 0000000..e6482e1 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Error.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdStandardResponse.Error + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdStandardResponse.Error

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Location.Coordinates.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Location.Coordinates.html new file mode 100644 index 0000000..28f1739 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Location.Coordinates.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdStandardResponse.Location.Coordinates + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdStandardResponse.Location.Coordinates

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Location.Country.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Location.Country.html new file mode 100644 index 0000000..8318e8a --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Location.Country.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdStandardResponse.Location.Country + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdStandardResponse.Location.Country

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Location.TimeZone.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Location.TimeZone.html new file mode 100644 index 0000000..e754123 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Location.TimeZone.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdStandardResponse.Location.TimeZone + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdStandardResponse.Location.TimeZone

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Location.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Location.html new file mode 100644 index 0000000..a3061f2 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Location.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdStandardResponse.Location + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdStandardResponse.Location

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Numbering.CleansingNumber.Number.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Numbering.CleansingNumber.Number.html new file mode 100644 index 0000000..21e5a7f --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Numbering.CleansingNumber.Number.html @@ -0,0 +1,159 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering.CleansingNumber.Number + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering.CleansingNumber.Number

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Numbering.CleansingNumber.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Numbering.CleansingNumber.html new file mode 100644 index 0000000..76bef57 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Numbering.CleansingNumber.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering.CleansingNumber + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering.CleansingNumber

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Numbering.OriginalNumber.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Numbering.OriginalNumber.html new file mode 100644 index 0000000..e077fbc --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Numbering.OriginalNumber.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering.OriginalNumber + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering.OriginalNumber

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Numbering.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Numbering.html new file mode 100644 index 0000000..23a27fb --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Numbering.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.PhoneType.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.PhoneType.html new file mode 100644 index 0000000..586833b --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.PhoneType.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdStandardResponse.PhoneType + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdStandardResponse.PhoneType

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Status.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Status.html new file mode 100644 index 0000000..6b9c155 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.Status.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdStandardResponse.Status + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdStandardResponse.Status

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.html b/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.html new file mode 100644 index 0000000..fde5133 --- /dev/null +++ b/doc/com/telesign/phoneid/response/class-use/PhoneIdStandardResponse.html @@ -0,0 +1,157 @@ + + + + + +Uses of Class com.telesign.phoneid.response.PhoneIdStandardResponse + + + + + + + + + + +
+

Uses of Class
com.telesign.phoneid.response.PhoneIdStandardResponse

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/phoneid/response/package-frame.html b/doc/com/telesign/phoneid/response/package-frame.html new file mode 100644 index 0000000..2e6d2c0 --- /dev/null +++ b/doc/com/telesign/phoneid/response/package-frame.html @@ -0,0 +1,65 @@ + + + + + +com.telesign.phoneid.response + + + + +

com.telesign.phoneid.response

+
+

Classes

+ +
+ + diff --git a/doc/com/telesign/phoneid/response/package-summary.html b/doc/com/telesign/phoneid/response/package-summary.html new file mode 100644 index 0000000..d35883a --- /dev/null +++ b/doc/com/telesign/phoneid/response/package-summary.html @@ -0,0 +1,337 @@ + + + + + +com.telesign.phoneid.response + + + + + + + +
+ + + + + +
+ + +
+

Package com.telesign.phoneid.response

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/doc/com/telesign/phoneid/response/package-tree.html b/doc/com/telesign/phoneid/response/package-tree.html new file mode 100644 index 0000000..251b2c8 --- /dev/null +++ b/doc/com/telesign/phoneid/response/package-tree.html @@ -0,0 +1,174 @@ + + + + + +com.telesign.phoneid.response Class Hierarchy + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package com.telesign.phoneid.response

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + +
+ + + + diff --git a/doc/com/telesign/phoneid/response/package-use.html b/doc/com/telesign/phoneid/response/package-use.html new file mode 100644 index 0000000..cb2c25c --- /dev/null +++ b/doc/com/telesign/phoneid/response/package-use.html @@ -0,0 +1,319 @@ + + + + + +Uses of Package com.telesign.phoneid.response + + + + + + + + + + +
+

Uses of Package
com.telesign.phoneid.response

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/util/AuthMethod.html b/doc/com/telesign/util/AuthMethod.html new file mode 100644 index 0000000..76429c9 --- /dev/null +++ b/doc/com/telesign/util/AuthMethod.html @@ -0,0 +1,347 @@ + + + + + +AuthMethod + + + + + + + + + + + +
+
com.telesign.util
+

Enum AuthMethod

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • java.lang.Enum<AuthMethod>
    • +
    • +
        +
      • com.telesign.util.AuthMethod
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<AuthMethod>
    +
    +
    +
    +
    public enum AuthMethod
    +extends java.lang.Enum<AuthMethod>
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + +
      Enum Constants 
      Enum Constant and Description
      SHA1 
      SHA256 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      java.lang.StringtsValue() 
      java.lang.Stringvalue() 
      static AuthMethodvalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static AuthMethod[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static AuthMethod[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (AuthMethod c : AuthMethod.values())
        +    System.out.println(c);
        +
        +
        Returns:
        an array containing the constants of this enum type, in +the order they are declared
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static AuthMethod valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        Parameters:
        name - the name of the enum constant to be returned.
        +
        Returns:
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
      • +
      + + + +
        +
      • +

        value

        +
        public java.lang.String value()
        +
      • +
      + + + +
        +
      • +

        tsValue

        +
        public java.lang.String tsValue()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/util/PhoneUtil.html b/doc/com/telesign/util/PhoneUtil.html new file mode 100644 index 0000000..2a75568 --- /dev/null +++ b/doc/com/telesign/util/PhoneUtil.html @@ -0,0 +1,265 @@ + + + + + +PhoneUtil + + + + + + + + + + + +
+
com.telesign.util
+

Class PhoneUtil

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.util.PhoneUtil
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    public class PhoneUtil
    +extends java.lang.Object
    +
    Copyright (c) TeleSign Corporation 2012. + License: MIT + Support email address "support@telesign.com" + Author: jweatherford
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      PhoneUtil() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static java.lang.StringformatTo11Digits(java.lang.String phoneNumber) +
      helper method to validate numbers to 11 digits
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneUtil

        +
        public PhoneUtil()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        formatTo11Digits

        +
        public static java.lang.String formatTo11Digits(java.lang.String phoneNumber)
        +
        helper method to validate numbers to 11 digits
        +
        Parameters:
        phoneNumber -
        +
        Returns:
        the phone number validated to 11 digits
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/util/TeleSignRequest.html b/doc/com/telesign/util/TeleSignRequest.html new file mode 100644 index 0000000..fadbaa1 --- /dev/null +++ b/doc/com/telesign/util/TeleSignRequest.html @@ -0,0 +1,467 @@ + + + + + +TeleSignRequest + + + + + + + + + + + +
+
com.telesign.util
+

Class TeleSignRequest

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.util.TeleSignRequest
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    public class TeleSignRequest
    +extends java.lang.Object
    +
    Copyright (c) TeleSign Corporation 2012. + License: MIT + Support email address "support@telesign.com" + Author: jweatherford
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      TeleSignRequest(java.lang.String base, + java.lang.String resource, + java.lang.String method, + java.lang.String customer_id, + java.lang.String secret_key) +
      The TeleSignRequest is the base for which all the TeleSign API requests.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voidaddHeader(java.lang.String key, + java.lang.String value) +
      Add a header to this TeleSign Request.
      +
      voidaddParam(java.lang.String key, + java.lang.String value) +
      Add a parameter to the query String.
      +
      java.lang.StringexecuteRequest() +
      Sign and make the TeleSign Request to the url that was set on this request.
      +
      java.util.Map<java.lang.String,java.lang.String>getAllHeaders() +
      Return a sorted list of all the headers.
      +
      java.util.Map<java.lang.String,java.lang.String>getAllParams() +
      Return all the Query parameters set on this request.
      +
      java.lang.StringgetPostBody() +
      Get the POST body for this request
      +
      java.util.Map<java.lang.String,java.lang.String>getTsHeaders() +
      Return the TeleSign specific Headers set for this request
      +
      voidsetNonce(java.lang.String nonce) +
      Set a nonce to use for this request.
      +
      voidsetPostBody(java.lang.String post_body) +
      Set the body of the request for POST requests
      +
      voidsetSigningMethod(AuthMethod auth) +
      Set the signing method of this request.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TeleSignRequest

        +
        public TeleSignRequest(java.lang.String base,
        +               java.lang.String resource,
        +               java.lang.String method,
        +               java.lang.String customer_id,
        +               java.lang.String secret_key)
        +
        The TeleSignRequest is the base for which all the TeleSign API requests. + This class handles both GET and POST requests and the different signing + methods for each. If specialized access or parameters are needed for the + API over the defaults given in the @see PhoneId class or @see Verify class + a custom request can be made using this class.
        +
        Parameters:
        base - the base url of the request. This does not include parameters or the method + of the call. Usually this is https://rest.telesign.com
        resource - the resource called off the base url. This is the extension off the base + of the url. Example "/v1/phoneid/standard/1234567890"
        method - the method of the request. one of GET or POST
        customer_id - the TeleSign provided customer_id
        secret_key - the TeleSign provided secret_key
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        addHeader

        +
        public void addHeader(java.lang.String key,
        +             java.lang.String value)
        +
        Add a header to this TeleSign Request. If the header starts with + X-TS- it is added to a special list of TeleSign headers. This + also checks for the presence of X-TS-Date to correctly set the + date for the request whether the Specialize TeleSign Date header + is set or if it should be generated at request time
        +
        Parameters:
        key - the name of the header
        value - the value to set for the heaader.
        +
      • +
      + + + +
        +
      • +

        addParam

        +
        public void addParam(java.lang.String key,
        +            java.lang.String value)
        +
        Add a parameter to the query String. Holds the parameters in a map + until it is time to sign them
        +
        Parameters:
        key - the name of the parameter
        value - the value of the parameter
        +
      • +
      + + + +
        +
      • +

        setPostBody

        +
        public void setPostBody(java.lang.String post_body)
        +
        Set the body of the request for POST requests
        +
        Parameters:
        post_body -
        +
      • +
      + + + +
        +
      • +

        getPostBody

        +
        public java.lang.String getPostBody()
        +
        Get the POST body for this request
        +
        Returns:
        the string value of the POST request
        +
      • +
      + + + +
        +
      • +

        getAllHeaders

        +
        public java.util.Map<java.lang.String,java.lang.String> getAllHeaders()
        +
        Return a sorted list of all the headers.
        +
        Returns:
        a sorted map of all the headers for this request
        +
      • +
      + + + +
        +
      • +

        getTsHeaders

        +
        public java.util.Map<java.lang.String,java.lang.String> getTsHeaders()
        +
        Return the TeleSign specific Headers set for this request
        +
        Returns:
        the map of the TeleSign specific headers. This map returns a sorted order
        +
      • +
      + + + +
        +
      • +

        getAllParams

        +
        public java.util.Map<java.lang.String,java.lang.String> getAllParams()
        +
        Return all the Query parameters set on this request.
        +
        Returns:
        a map containing all the query parameters set for this request
        +
      • +
      + + + +
        +
      • +

        executeRequest

        +
        public java.lang.String executeRequest()
        +                                throws java.io.IOException
        +
        Sign and make the TeleSign Request to the url that was set on this request. + The signature is then calculated based on the headers, post parameters and + resource as described below. + + Authorization = "TSA" + " " + Customer ID + ":" + Signature + + Signature = Base64( HMAC-SHA1( YourTeleSignAPIKey, UTF-8-Encoding-Of( StringToSign ) ) ) + + StringToSign = HTTP-method + "\n" + + Content-Type + "\n" + + Date + "\n" + + CanonicalizedTsHeaders + + CanonicalizedPOSTVariables + + CanonicalizedResource + + +

        + https://portal.telesign.com/docs/content/rest-auth.html

        +
        Returns:
        A string containing the JSON string response that was returned from the html request
        +
        Throws:
        +
        java.io.IOException
        +
      • +
      + + + +
        +
      • +

        setSigningMethod

        +
        public void setSigningMethod(AuthMethod auth)
        +
        Set the signing method of this request. Current values are enumerated + in the AuthMethod enum.
        +
        Parameters:
        auth -
        +
      • +
      + + + +
        +
      • +

        setNonce

        +
        public void setNonce(java.lang.String nonce)
        +
        Set a nonce to use for this request. If this is used, it needs + to be set before each request execution. This is a convenience method + this can also be set using the addHeader option
        +
        Parameters:
        nonce -
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/util/class-use/AuthMethod.html b/doc/com/telesign/util/class-use/AuthMethod.html new file mode 100644 index 0000000..4768f5b --- /dev/null +++ b/doc/com/telesign/util/class-use/AuthMethod.html @@ -0,0 +1,179 @@ + + + + + +Uses of Class com.telesign.util.AuthMethod + + + + + + + + + + +
+

Uses of Class
com.telesign.util.AuthMethod

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/util/class-use/PhoneUtil.html b/doc/com/telesign/util/class-use/PhoneUtil.html new file mode 100644 index 0000000..c338338 --- /dev/null +++ b/doc/com/telesign/util/class-use/PhoneUtil.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class com.telesign.util.PhoneUtil + + + + + + + + + + +
+

Uses of Class
com.telesign.util.PhoneUtil

+
+
No usage of com.telesign.util.PhoneUtil
+ + + + + + diff --git a/doc/com/telesign/util/class-use/TeleSignRequest.html b/doc/com/telesign/util/class-use/TeleSignRequest.html new file mode 100644 index 0000000..c17b128 --- /dev/null +++ b/doc/com/telesign/util/class-use/TeleSignRequest.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class com.telesign.util.TeleSignRequest + + + + + + + + + + +
+

Uses of Class
com.telesign.util.TeleSignRequest

+
+
No usage of com.telesign.util.TeleSignRequest
+ + + + + + diff --git a/doc/com/telesign/util/package-frame.html b/doc/com/telesign/util/package-frame.html new file mode 100644 index 0000000..0bb4e43 --- /dev/null +++ b/doc/com/telesign/util/package-frame.html @@ -0,0 +1,23 @@ + + + + + +com.telesign.util + + + + +

com.telesign.util

+
+

Classes

+ +

Enums

+ +
+ + diff --git a/doc/com/telesign/util/package-summary.html b/doc/com/telesign/util/package-summary.html new file mode 100644 index 0000000..60ffb68 --- /dev/null +++ b/doc/com/telesign/util/package-summary.html @@ -0,0 +1,150 @@ + + + + + +com.telesign.util + + + + + + + +
+ + + + + +
+ + +
+

Package com.telesign.util

+
+
+
    +
  • + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    TeleSignRequest +
    Copyright (c) TeleSign Corporation 2012.
    +
    +
  • +
  • + + + + + + + + + + + + +
    Enum Summary 
    EnumDescription
    AuthMethod 
    +
  • +
+
+ +
+ + + + + +
+ + + + diff --git a/doc/com/telesign/util/package-tree.html b/doc/com/telesign/util/package-tree.html new file mode 100644 index 0000000..d7b3b4a --- /dev/null +++ b/doc/com/telesign/util/package-tree.html @@ -0,0 +1,140 @@ + + + + + +com.telesign.util Class Hierarchy + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package com.telesign.util

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Enum Hierarchy

+
    +
  • java.lang.Object +
      +
    • java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable) + +
    • +
    +
  • +
+
+ +
+ + + + + +
+ + + + diff --git a/doc/com/telesign/util/package-use.html b/doc/com/telesign/util/package-use.html new file mode 100644 index 0000000..7ce6066 --- /dev/null +++ b/doc/com/telesign/util/package-use.html @@ -0,0 +1,148 @@ + + + + + +Uses of Package com.telesign.util + + + + + + + + + + +
+

Uses of Package
com.telesign.util

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/verify/Verify.html b/doc/com/telesign/verify/Verify.html new file mode 100644 index 0000000..df36d02 --- /dev/null +++ b/doc/com/telesign/verify/Verify.html @@ -0,0 +1,426 @@ + + + + + +Verify + + + + + + + + + + + +
+
com.telesign.verify
+

Class Verify

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.verify.Verify
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    public class Verify
    +extends java.lang.Object
    +
    Copyright (c) TeleSign Corporation 2012. + License: MIT + Support email address "support@telesign.com" + Author: jweatherford
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Verify(java.lang.String customer_id, + java.lang.String secret_key) +
      Implementation of the TeleSign Verify api
      +
      +
    • +
    + + +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Verify

        +
        public Verify(java.lang.String customer_id,
        +      java.lang.String secret_key)
        +
        Implementation of the TeleSign Verify api + +

        + https://portal.telesign.com/docs/content/verify.html + + + Simple constructor for setting the customer id and secret_key

        +
        Parameters:
        customer_id - the TeleSign customer id.
        secret_key - the TeleSign secret key
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        sms

        +
        public VerifyResponse sms(java.lang.String phone_number,
        +                 java.lang.String language)
        +
        Convenience method an overload of sms(String, String, String, String)
        +
        Parameters:
        phone_number - the phone number to send the sms message
        language - The String representation of the language to send the sms message
        +
        Returns:
        VerifyResponse The fully formed + response object repersentation of the JSON reply
        +
      • +
      + + + +
        +
      • +

        sms

        +
        public VerifyResponse sms(java.lang.String phone_number,
        +                 java.lang.String language,
        +                 java.lang.String verify_code,
        +                 java.lang.String template)
        +
        Make a Verify SMS request to TeleSign's API. This method allows + the language, verification code and template of the message to be set. + +

        + https://portal.telesign.com/docs/content/verify-sms.html

        +
        Parameters:
        phone_number - the phone number to send the sms message
        language - The String representation of the language to send the sms message
        verify_code - The code to send via sms. Set to null to let Telesign generate the code
        template - The template of the message that is being sent. Set to null for default, otherwise must include $$CODE$$ as a variable placeholder
        +
        Returns:
        VerifyResponse The fully formed + response object repersentation of the JSON reply
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        call

        +
        public VerifyResponse call(java.lang.String phone_number,
        +                  java.lang.String language,
        +                  java.lang.String verify_code,
        +                  java.lang.String verify_method,
        +                  int extension_type,
        +                  java.lang.String extension_template,
        +                  boolean redial)
        +
        Make a Verify API call to TeleSigns phone service. Calling this method + results in an automated phone call made to the given phone_number. The language + is specified as a string. Extensions and delays are programmable using the + extension_type and extension template. + +

        + https://portal.telesign.com/docs/content/verify-call.html

        +
        Parameters:
        phone_number - Required, the phone number of the person to dial
        language - optional can be null. The language code of the call
        verify_code - optional. if null, verify code will be generated by telesign
        verify_method - optional. Only available option is currently null (dictated code) or "keypress"
        extension_type - optional. If 0, no extension. if 1, DTMF extension. If 2, voice extension
        extension_template - optional. If null not used. Otherwise the extension to reach
        redial - optional. Default true
        +
        Returns:
        VerifyResponse The fully formed + response object repersentation of the JSON reply
        +
      • +
      + + + +
        +
      • +

        status

        +
        public VerifyResponse status(java.lang.String resource_id)
        +
        Return the results of the post referenced by the reference_id. After a verify + SMS or Call has been made, the status of that verification request can be retrieved + with this method.
        +
        Parameters:
        resource_id - the id returned from either requestsSMS or requestCall
        +
        Returns:
        VerifyResponse The fully formed + response object repersentation of the JSON reply
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/verify/class-use/Verify.html b/doc/com/telesign/verify/class-use/Verify.html new file mode 100644 index 0000000..d1ea4b6 --- /dev/null +++ b/doc/com/telesign/verify/class-use/Verify.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class com.telesign.verify.Verify + + + + + + + + + + +
+

Uses of Class
com.telesign.verify.Verify

+
+
No usage of com.telesign.verify.Verify
+ + + + + + diff --git a/doc/com/telesign/verify/package-frame.html b/doc/com/telesign/verify/package-frame.html new file mode 100644 index 0000000..99711a3 --- /dev/null +++ b/doc/com/telesign/verify/package-frame.html @@ -0,0 +1,19 @@ + + + + + +com.telesign.verify + + + + +

com.telesign.verify

+
+

Classes

+ +
+ + diff --git a/doc/com/telesign/verify/package-summary.html b/doc/com/telesign/verify/package-summary.html new file mode 100644 index 0000000..ca76100 --- /dev/null +++ b/doc/com/telesign/verify/package-summary.html @@ -0,0 +1,135 @@ + + + + + +com.telesign.verify + + + + + + + +
+ + + + + +
+ + +
+

Package com.telesign.verify

+
+
+
    +
  • + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    Verify +
    Copyright (c) TeleSign Corporation 2012.
    +
    +
  • +
+
+ +
+ + + + + +
+ + + + diff --git a/doc/com/telesign/verify/package-tree.html b/doc/com/telesign/verify/package-tree.html new file mode 100644 index 0000000..cbd58db --- /dev/null +++ b/doc/com/telesign/verify/package-tree.html @@ -0,0 +1,128 @@ + + + + + +com.telesign.verify Class Hierarchy + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package com.telesign.verify

+Package Hierarchies: + +
+
+

Class Hierarchy

+
    +
  • java.lang.Object +
      +
    • com.telesign.verify.Verify
    • +
    +
  • +
+
+ +
+ + + + + +
+ + + + diff --git a/doc/com/telesign/verify/package-use.html b/doc/com/telesign/verify/package-use.html new file mode 100644 index 0000000..058b63b --- /dev/null +++ b/doc/com/telesign/verify/package-use.html @@ -0,0 +1,115 @@ + + + + + +Uses of Package com.telesign.verify + + + + + + + + + + +
+

Uses of Package
com.telesign.verify

+
+
No usage of com.telesign.verify
+ + + + + + diff --git a/doc/com/telesign/verify/response/VerifyResponse.Error.html b/doc/com/telesign/verify/response/VerifyResponse.Error.html new file mode 100644 index 0000000..e6326d4 --- /dev/null +++ b/doc/com/telesign/verify/response/VerifyResponse.Error.html @@ -0,0 +1,281 @@ + + + + + +VerifyResponse.Error + + + + + + + + + + + +
+
com.telesign.verify.response
+

Class VerifyResponse.Error

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.verify.response.VerifyResponse.Error
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    VerifyResponse
    +
    +
    +
    +
    public static class VerifyResponse.Error
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      intcode 
      java.lang.Stringdescription 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        code

        +
        public int code
        +
      • +
      + + + +
        +
      • +

        description

        +
        public java.lang.String description
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        VerifyResponse.Error

        +
        public VerifyResponse.Error()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/verify/response/VerifyResponse.Status.html b/doc/com/telesign/verify/response/VerifyResponse.Status.html new file mode 100644 index 0000000..c2282d4 --- /dev/null +++ b/doc/com/telesign/verify/response/VerifyResponse.Status.html @@ -0,0 +1,294 @@ + + + + + +VerifyResponse.Status + + + + + + + + + + + +
+
com.telesign.verify.response
+

Class VerifyResponse.Status

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.verify.response.VerifyResponse.Status
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    VerifyResponse
    +
    +
    +
    +
    public static class VerifyResponse.Status
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      intcode 
      java.lang.Stringdescription 
      java.lang.Stringupdated_on 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        updated_on

        +
        public java.lang.String updated_on
        +
      • +
      + + + +
        +
      • +

        code

        +
        public int code
        +
      • +
      + + + +
        +
      • +

        description

        +
        public java.lang.String description
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        VerifyResponse.Status

        +
        public VerifyResponse.Status()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/verify/response/VerifyResponse.Verify.html b/doc/com/telesign/verify/response/VerifyResponse.Verify.html new file mode 100644 index 0000000..b5537f5 --- /dev/null +++ b/doc/com/telesign/verify/response/VerifyResponse.Verify.html @@ -0,0 +1,281 @@ + + + + + +VerifyResponse.Verify + + + + + + + + + + + +
+
com.telesign.verify.response
+

Class VerifyResponse.Verify

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.verify.response.VerifyResponse.Verify
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    VerifyResponse
    +
    +
    +
    +
    public static class VerifyResponse.Verify
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      java.lang.Stringcode_entered 
      java.lang.Stringcode_state 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        code_state

        +
        public java.lang.String code_state
        +
      • +
      + + + +
        +
      • +

        code_entered

        +
        public java.lang.String code_entered
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        VerifyResponse.Verify

        +
        public VerifyResponse.Verify()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/verify/response/VerifyResponse.html b/doc/com/telesign/verify/response/VerifyResponse.html new file mode 100644 index 0000000..4b678ec --- /dev/null +++ b/doc/com/telesign/verify/response/VerifyResponse.html @@ -0,0 +1,396 @@ + + + + + +VerifyResponse + + + + + + + + + + + +
+
com.telesign.verify.response
+

Class VerifyResponse

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.telesign.verify.response.VerifyResponse
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    public class VerifyResponse
    +extends java.lang.Object
    +
    Google GSON mapped class to represent a TeleSign JSON response to a + Verify.sms(), Verify.call() and Verify.status() requests + + + Copyright (c) TeleSign Corporation 2012. + License: MIT + Support email address "support@telesign.com" + Author: jweatherford
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        VerifyResponse

        +
        public VerifyResponse()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/doc/com/telesign/verify/response/class-use/VerifyResponse.Error.html b/doc/com/telesign/verify/response/class-use/VerifyResponse.Error.html new file mode 100644 index 0000000..e42776b --- /dev/null +++ b/doc/com/telesign/verify/response/class-use/VerifyResponse.Error.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.verify.response.VerifyResponse.Error + + + + + + + + + + +
+

Uses of Class
com.telesign.verify.response.VerifyResponse.Error

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/verify/response/class-use/VerifyResponse.Status.html b/doc/com/telesign/verify/response/class-use/VerifyResponse.Status.html new file mode 100644 index 0000000..ee40aee --- /dev/null +++ b/doc/com/telesign/verify/response/class-use/VerifyResponse.Status.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.verify.response.VerifyResponse.Status + + + + + + + + + + +
+

Uses of Class
com.telesign.verify.response.VerifyResponse.Status

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/verify/response/class-use/VerifyResponse.Verify.html b/doc/com/telesign/verify/response/class-use/VerifyResponse.Verify.html new file mode 100644 index 0000000..a2afc7e --- /dev/null +++ b/doc/com/telesign/verify/response/class-use/VerifyResponse.Verify.html @@ -0,0 +1,155 @@ + + + + + +Uses of Class com.telesign.verify.response.VerifyResponse.Verify + + + + + + + + + + +
+

Uses of Class
com.telesign.verify.response.VerifyResponse.Verify

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/verify/response/class-use/VerifyResponse.html b/doc/com/telesign/verify/response/class-use/VerifyResponse.html new file mode 100644 index 0000000..31afe67 --- /dev/null +++ b/doc/com/telesign/verify/response/class-use/VerifyResponse.html @@ -0,0 +1,204 @@ + + + + + +Uses of Class com.telesign.verify.response.VerifyResponse + + + + + + + + + + +
+

Uses of Class
com.telesign.verify.response.VerifyResponse

+
+
+ +
+ + + + + + diff --git a/doc/com/telesign/verify/response/package-frame.html b/doc/com/telesign/verify/response/package-frame.html new file mode 100644 index 0000000..f970364 --- /dev/null +++ b/doc/com/telesign/verify/response/package-frame.html @@ -0,0 +1,22 @@ + + + + + +com.telesign.verify.response + + + + +

com.telesign.verify.response

+ + + diff --git a/doc/com/telesign/verify/response/package-summary.html b/doc/com/telesign/verify/response/package-summary.html new file mode 100644 index 0000000..c1c3818 --- /dev/null +++ b/doc/com/telesign/verify/response/package-summary.html @@ -0,0 +1,151 @@ + + + + + +com.telesign.verify.response + + + + + + + +
+ + + + + +
+ + +
+

Package com.telesign.verify.response

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/doc/com/telesign/verify/response/package-tree.html b/doc/com/telesign/verify/response/package-tree.html new file mode 100644 index 0000000..b5ca829 --- /dev/null +++ b/doc/com/telesign/verify/response/package-tree.html @@ -0,0 +1,131 @@ + + + + + +com.telesign.verify.response Class Hierarchy + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package com.telesign.verify.response

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + +
+ + + + diff --git a/doc/com/telesign/verify/response/package-use.html b/doc/com/telesign/verify/response/package-use.html new file mode 100644 index 0000000..606b0dc --- /dev/null +++ b/doc/com/telesign/verify/response/package-use.html @@ -0,0 +1,179 @@ + + + + + +Uses of Package com.telesign.verify.response + + + + + + + + + + +
+

Uses of Package
com.telesign.verify.response

+
+
+ +
+ + + + + + diff --git a/doc/constant-values.html b/doc/constant-values.html new file mode 100644 index 0000000..4b2b679 --- /dev/null +++ b/doc/constant-values.html @@ -0,0 +1,115 @@ + + + + + +Constant Field Values + + + + + + + +
+ + + + + +
+ + +
+

Constant Field Values

+

Contents

+
+ +
+ + + + + +
+ + + + diff --git a/doc/deprecated-list.html b/doc/deprecated-list.html new file mode 100644 index 0000000..711443f --- /dev/null +++ b/doc/deprecated-list.html @@ -0,0 +1,115 @@ + + + + + +Deprecated List + + + + + + + +
+ + + + + +
+ + +
+

Deprecated API

+

Contents

+
+ +
+ + + + + +
+ + + + diff --git a/doc/help-doc.html b/doc/help-doc.html new file mode 100644 index 0000000..fb46f32 --- /dev/null +++ b/doc/help-doc.html @@ -0,0 +1,220 @@ + + + + + +API Help + + + + + + + +
+ + + + + +
+ + +
+

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+
    +
  • +

    Overview

    +

    The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

    +
  • +
  • +

    Package

    +

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    +
      +
    • Interfaces (italic)
    • +
    • Classes
    • +
    • Enums
    • +
    • Exceptions
    • +
    • Errors
    • +
    • Annotation Types
    • +
    +
  • +
  • +

    Class/Interface

    +

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    +
      +
    • Class inheritance diagram
    • +
    • Direct Subclasses
    • +
    • All Known Subinterfaces
    • +
    • All Known Implementing Classes
    • +
    • Class/interface declaration
    • +
    • Class/interface description
    • +
    +
      +
    • Nested Class Summary
    • +
    • Field Summary
    • +
    • Constructor Summary
    • +
    • Method Summary
    • +
    +
      +
    • Field Detail
    • +
    • Constructor Detail
    • +
    • Method Detail
    • +
    +

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    +
  • +
  • +

    Annotation Type

    +

    Each annotation type has its own separate page with the following sections:

    +
      +
    • Annotation Type declaration
    • +
    • Annotation Type description
    • +
    • Required Element Summary
    • +
    • Optional Element Summary
    • +
    • Element Detail
    • +
    +
  • +
  • +

    Enum

    +

    Each enum has its own separate page with the following sections:

    +
      +
    • Enum declaration
    • +
    • Enum description
    • +
    • Enum Constant Summary
    • +
    • Enum Constant Detail
    • +
    +
  • +
  • +

    Use

    +

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    +
  • +
  • +

    Tree (Class Hierarchy)

    +

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    +
      +
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • +
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • +
    +
  • +
  • +

    Deprecated API

    +

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    +
  • +
  • +

    Index

    +

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    +
  • +
  • +

    Prev/Next

    +

    These links take you to the next or previous class, interface, package, or related page.

    +
  • +
  • +

    Frames/No Frames

    +

    These links show and hide the HTML frames. All pages are available with or without frames.

    +
  • +
  • +

    All Classes

    +

    The All Classes link shows all classes and interfaces except non-static nested types.

    +
  • +
  • +

    Serialized Form

    +

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    +
  • +
  • +

    Constant Field Values

    +

    The Constant Field Values page lists the static final fields and their values.

    +
  • +
+This help file applies to API documentation generated using the standard doclet.
+ +
+ + + + + +
+ + + + diff --git a/doc/index-files/index-1.html b/doc/index-files/index-1.html new file mode 100644 index 0000000..21f9b60 --- /dev/null +++ b/doc/index-files/index-1.html @@ -0,0 +1,136 @@ + + + + + +A-Index + + + + + + + +
+ + + + + +
+ + +
A C D E F G I L M N O P R S T U V Z  + + +

A

+
+
addHeader(String, String) - Method in class com.telesign.util.TeleSignRequest
+
+
Add a header to this TeleSign Request.
+
+
addParam(String, String) - Method in class com.telesign.util.TeleSignRequest
+
+
Add a parameter to the query String.
+
+
address1 - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Contact
+
 
+
address2 - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Contact
+
 
+
address3 - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Contact
+
 
+
address4 - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Contact
+
 
+
AuthMethod - Enum in com.telesign.util
+
 
+
+A C D E F G I L M N O P R S T U V Z 
+ +
+ + + + + +
+ + + + diff --git a/doc/index-files/index-10.html b/doc/index-files/index-10.html new file mode 100644 index 0000000..7b2dc81 --- /dev/null +++ b/doc/index-files/index-10.html @@ -0,0 +1,138 @@ + + + + + +N-Index + + + + + + + +
+ + + + + +
+ + +
A C D E F G I L M N O P R S T U V Z  + + +

N

+
+
name - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Location.Country
+
 
+
name - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Location.TimeZone
+
 
+
name - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Location.Country
+
 
+
name - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Location.TimeZone
+
 
+
name - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Location.Country
+
 
+
name - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Location.TimeZone
+
 
+
numbering - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse
+
 
+
numbering - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse
+
 
+
numbering - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse
+
 
+
numbering - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse
+
 
+
+A C D E F G I L M N O P R S T U V Z 
+ +
+ + + + + +
+ + + + diff --git a/doc/index-files/index-11.html b/doc/index-files/index-11.html new file mode 100644 index 0000000..19b9cf0 --- /dev/null +++ b/doc/index-files/index-11.html @@ -0,0 +1,126 @@ + + + + + +O-Index + + + + + + + +
+ + + + + +
+ + +
A C D E F G I L M N O P R S T U V Z  + + +

O

+
+
original - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Numbering
+
 
+
original - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering
+
 
+
original - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering
+
 
+
original - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering
+
 
+
+A C D E F G I L M N O P R S T U V Z 
+ +
+ + + + + +
+ + + + diff --git a/doc/index-files/index-12.html b/doc/index-files/index-12.html new file mode 100644 index 0000000..b2abc9a --- /dev/null +++ b/doc/index-files/index-12.html @@ -0,0 +1,356 @@ + + + + + +P-Index + + + + + + + +
+ + + + + +
+ + +
A C D E F G I L M N O P R S T U V Z  + + +

P

+
+
phone_number - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Numbering.CleansingNumber.Number
+
 
+
phone_number - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Numbering.OriginalNumber
+
 
+
phone_number - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering.CleansingNumber.Number
+
 
+
phone_number - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering.OriginalNumber
+
 
+
phone_number - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering.CleansingNumber.Number
+
 
+
phone_number - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering.OriginalNumber
+
 
+
phone_number - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering.CleansingNumber.Number
+
 
+
phone_number - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering.OriginalNumber
+
 
+
phone_type - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse
+
 
+
phone_type - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse
+
 
+
phone_type - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse
+
 
+
PhoneId - Class in com.telesign.phoneid
+
+
Copyright (c) TeleSign Corporation 2012.
+
+
PhoneId(String, String) - Constructor for class com.telesign.phoneid.PhoneId
+
+
Implementation of the TeleSign PhoneId api
+
+
PhoneIdContactResponse - Class in com.telesign.phoneid.response
+
+
Google GSON mapped class to represent a TeleSign JSON response to a + PhoneId.contact() request + + Copyright (c) TeleSign Corporation 2012.
+
+
PhoneIdContactResponse() - Constructor for class com.telesign.phoneid.response.PhoneIdContactResponse
+
 
+
PhoneIdContactResponse.Contact - Class in com.telesign.phoneid.response
+
 
+
PhoneIdContactResponse.Contact() - Constructor for class com.telesign.phoneid.response.PhoneIdContactResponse.Contact
+
 
+
PhoneIdContactResponse.Error - Class in com.telesign.phoneid.response
+
 
+
PhoneIdContactResponse.Error() - Constructor for class com.telesign.phoneid.response.PhoneIdContactResponse.Error
+
 
+
PhoneIdContactResponse.Location - Class in com.telesign.phoneid.response
+
 
+
PhoneIdContactResponse.Location() - Constructor for class com.telesign.phoneid.response.PhoneIdContactResponse.Location
+
 
+
PhoneIdContactResponse.Location.Coordinates - Class in com.telesign.phoneid.response
+
 
+
PhoneIdContactResponse.Location.Coordinates() - Constructor for class com.telesign.phoneid.response.PhoneIdContactResponse.Location.Coordinates
+
 
+
PhoneIdContactResponse.Location.Country - Class in com.telesign.phoneid.response
+
 
+
PhoneIdContactResponse.Location.Country() - Constructor for class com.telesign.phoneid.response.PhoneIdContactResponse.Location.Country
+
 
+
PhoneIdContactResponse.Location.TimeZone - Class in com.telesign.phoneid.response
+
 
+
PhoneIdContactResponse.Location.TimeZone() - Constructor for class com.telesign.phoneid.response.PhoneIdContactResponse.Location.TimeZone
+
 
+
PhoneIdContactResponse.Numbering - Class in com.telesign.phoneid.response
+
 
+
PhoneIdContactResponse.Numbering() - Constructor for class com.telesign.phoneid.response.PhoneIdContactResponse.Numbering
+
 
+
PhoneIdContactResponse.Numbering.CleansingNumber - Class in com.telesign.phoneid.response
+
 
+
PhoneIdContactResponse.Numbering.CleansingNumber() - Constructor for class com.telesign.phoneid.response.PhoneIdContactResponse.Numbering.CleansingNumber
+
 
+
PhoneIdContactResponse.Numbering.CleansingNumber.Number - Class in com.telesign.phoneid.response
+
 
+
PhoneIdContactResponse.Numbering.CleansingNumber.Number() - Constructor for class com.telesign.phoneid.response.PhoneIdContactResponse.Numbering.CleansingNumber.Number
+
 
+
PhoneIdContactResponse.Numbering.OriginalNumber - Class in com.telesign.phoneid.response
+
 
+
PhoneIdContactResponse.Numbering.OriginalNumber() - Constructor for class com.telesign.phoneid.response.PhoneIdContactResponse.Numbering.OriginalNumber
+
 
+
PhoneIdContactResponse.PhoneType - Class in com.telesign.phoneid.response
+
 
+
PhoneIdContactResponse.PhoneType() - Constructor for class com.telesign.phoneid.response.PhoneIdContactResponse.PhoneType
+
 
+
PhoneIdContactResponse.Status - Class in com.telesign.phoneid.response
+
 
+
PhoneIdContactResponse.Status() - Constructor for class com.telesign.phoneid.response.PhoneIdContactResponse.Status
+
 
+
PhoneIdLiveResponse - Class in com.telesign.phoneid.response
+
+
Google GSON mapped class to represent a TeleSign JSON response to a + PhoneId.live() request + + Copyright (c) TeleSign Corporation 2012.
+
+
PhoneIdLiveResponse() - Constructor for class com.telesign.phoneid.response.PhoneIdLiveResponse
+
 
+
PhoneIdLiveResponse.Error - Class in com.telesign.phoneid.response
+
 
+
PhoneIdLiveResponse.Error() - Constructor for class com.telesign.phoneid.response.PhoneIdLiveResponse.Error
+
 
+
PhoneIdLiveResponse.Live - Class in com.telesign.phoneid.response
+
 
+
PhoneIdLiveResponse.Live() - Constructor for class com.telesign.phoneid.response.PhoneIdLiveResponse.Live
+
 
+
PhoneIdLiveResponse.Location - Class in com.telesign.phoneid.response
+
 
+
PhoneIdLiveResponse.Location() - Constructor for class com.telesign.phoneid.response.PhoneIdLiveResponse.Location
+
 
+
PhoneIdLiveResponse.Location.Coordinates - Class in com.telesign.phoneid.response
+
 
+
PhoneIdLiveResponse.Location.Coordinates() - Constructor for class com.telesign.phoneid.response.PhoneIdLiveResponse.Location.Coordinates
+
 
+
PhoneIdLiveResponse.Location.Country - Class in com.telesign.phoneid.response
+
 
+
PhoneIdLiveResponse.Location.Country() - Constructor for class com.telesign.phoneid.response.PhoneIdLiveResponse.Location.Country
+
 
+
PhoneIdLiveResponse.Location.TimeZone - Class in com.telesign.phoneid.response
+
 
+
PhoneIdLiveResponse.Location.TimeZone() - Constructor for class com.telesign.phoneid.response.PhoneIdLiveResponse.Location.TimeZone
+
 
+
PhoneIdLiveResponse.Numbering - Class in com.telesign.phoneid.response
+
 
+
PhoneIdLiveResponse.Numbering() - Constructor for class com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering
+
 
+
PhoneIdLiveResponse.Numbering.CleansingNumber - Class in com.telesign.phoneid.response
+
 
+
PhoneIdLiveResponse.Numbering.CleansingNumber() - Constructor for class com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering.CleansingNumber
+
 
+
PhoneIdLiveResponse.Numbering.CleansingNumber.Number - Class in com.telesign.phoneid.response
+
 
+
PhoneIdLiveResponse.Numbering.CleansingNumber.Number() - Constructor for class com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering.CleansingNumber.Number
+
 
+
PhoneIdLiveResponse.Numbering.OriginalNumber - Class in com.telesign.phoneid.response
+
 
+
PhoneIdLiveResponse.Numbering.OriginalNumber() - Constructor for class com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering.OriginalNumber
+
 
+
PhoneIdLiveResponse.PhoneType - Class in com.telesign.phoneid.response
+
 
+
PhoneIdLiveResponse.PhoneType() - Constructor for class com.telesign.phoneid.response.PhoneIdLiveResponse.PhoneType
+
 
+
PhoneIdLiveResponse.Status - Class in com.telesign.phoneid.response
+
 
+
PhoneIdLiveResponse.Status() - Constructor for class com.telesign.phoneid.response.PhoneIdLiveResponse.Status
+
 
+
PhoneIdScoreResponse - Class in com.telesign.phoneid.response
+
+
Google GSON mapped class to represent a TeleSign JSON response to a + PhoneId.score() request + + Copyright (c) TeleSign Corporation 2012.
+
+
PhoneIdScoreResponse() - Constructor for class com.telesign.phoneid.response.PhoneIdScoreResponse
+
 
+
PhoneIdScoreResponse.Error - Class in com.telesign.phoneid.response
+
 
+
PhoneIdScoreResponse.Error() - Constructor for class com.telesign.phoneid.response.PhoneIdScoreResponse.Error
+
 
+
PhoneIdScoreResponse.Numbering - Class in com.telesign.phoneid.response
+
 
+
PhoneIdScoreResponse.Numbering() - Constructor for class com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering
+
 
+
PhoneIdScoreResponse.Numbering.CleansingNumber - Class in com.telesign.phoneid.response
+
 
+
PhoneIdScoreResponse.Numbering.CleansingNumber() - Constructor for class com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering.CleansingNumber
+
 
+
PhoneIdScoreResponse.Numbering.CleansingNumber.Number - Class in com.telesign.phoneid.response
+
 
+
PhoneIdScoreResponse.Numbering.CleansingNumber.Number() - Constructor for class com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering.CleansingNumber.Number
+
 
+
PhoneIdScoreResponse.Numbering.OriginalNumber - Class in com.telesign.phoneid.response
+
 
+
PhoneIdScoreResponse.Numbering.OriginalNumber() - Constructor for class com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering.OriginalNumber
+
 
+
PhoneIdScoreResponse.PhoneType - Class in com.telesign.phoneid.response
+
 
+
PhoneIdScoreResponse.PhoneType() - Constructor for class com.telesign.phoneid.response.PhoneIdScoreResponse.PhoneType
+
 
+
PhoneIdScoreResponse.Risk - Class in com.telesign.phoneid.response
+
 
+
PhoneIdScoreResponse.Risk() - Constructor for class com.telesign.phoneid.response.PhoneIdScoreResponse.Risk
+
 
+
PhoneIdScoreResponse.Status - Class in com.telesign.phoneid.response
+
 
+
PhoneIdScoreResponse.Status() - Constructor for class com.telesign.phoneid.response.PhoneIdScoreResponse.Status
+
 
+
PhoneIdStandardResponse - Class in com.telesign.phoneid.response
+
+
Google GSON mapped class to represent a TeleSign JSON response to a + PhoneId.standard() request + + Copyright (c) TeleSign Corporation 2012.
+
+
PhoneIdStandardResponse() - Constructor for class com.telesign.phoneid.response.PhoneIdStandardResponse
+
 
+
PhoneIdStandardResponse.Error - Class in com.telesign.phoneid.response
+
 
+
PhoneIdStandardResponse.Error() - Constructor for class com.telesign.phoneid.response.PhoneIdStandardResponse.Error
+
 
+
PhoneIdStandardResponse.Location - Class in com.telesign.phoneid.response
+
 
+
PhoneIdStandardResponse.Location() - Constructor for class com.telesign.phoneid.response.PhoneIdStandardResponse.Location
+
 
+
PhoneIdStandardResponse.Location.Coordinates - Class in com.telesign.phoneid.response
+
 
+
PhoneIdStandardResponse.Location.Coordinates() - Constructor for class com.telesign.phoneid.response.PhoneIdStandardResponse.Location.Coordinates
+
 
+
PhoneIdStandardResponse.Location.Country - Class in com.telesign.phoneid.response
+
 
+
PhoneIdStandardResponse.Location.Country() - Constructor for class com.telesign.phoneid.response.PhoneIdStandardResponse.Location.Country
+
 
+
PhoneIdStandardResponse.Location.TimeZone - Class in com.telesign.phoneid.response
+
 
+
PhoneIdStandardResponse.Location.TimeZone() - Constructor for class com.telesign.phoneid.response.PhoneIdStandardResponse.Location.TimeZone
+
 
+
PhoneIdStandardResponse.Numbering - Class in com.telesign.phoneid.response
+
 
+
PhoneIdStandardResponse.Numbering() - Constructor for class com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering
+
 
+
PhoneIdStandardResponse.Numbering.CleansingNumber - Class in com.telesign.phoneid.response
+
 
+
PhoneIdStandardResponse.Numbering.CleansingNumber() - Constructor for class com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering.CleansingNumber
+
 
+
PhoneIdStandardResponse.Numbering.CleansingNumber.Number - Class in com.telesign.phoneid.response
+
 
+
PhoneIdStandardResponse.Numbering.CleansingNumber.Number() - Constructor for class com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering.CleansingNumber.Number
+
 
+
PhoneIdStandardResponse.Numbering.OriginalNumber - Class in com.telesign.phoneid.response
+
 
+
PhoneIdStandardResponse.Numbering.OriginalNumber() - Constructor for class com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering.OriginalNumber
+
 
+
PhoneIdStandardResponse.PhoneType - Class in com.telesign.phoneid.response
+
 
+
PhoneIdStandardResponse.PhoneType() - Constructor for class com.telesign.phoneid.response.PhoneIdStandardResponse.PhoneType
+
 
+
PhoneIdStandardResponse.Status - Class in com.telesign.phoneid.response
+
 
+
PhoneIdStandardResponse.Status() - Constructor for class com.telesign.phoneid.response.PhoneIdStandardResponse.Status
+
 
+
+A C D E F G I L M N O P R S T U V Z 
+ +
+ + + + + +
+ + + + diff --git a/doc/index-files/index-13.html b/doc/index-files/index-13.html new file mode 100644 index 0000000..71116b7 --- /dev/null +++ b/doc/index-files/index-13.html @@ -0,0 +1,146 @@ + + + + + +R-Index + + + + + + + +
+ + + + + +
+ + +
A C D E F G I L M N O P R S T U V Z  + + +

R

+
+
recommendation - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse.Risk
+
 
+
reference_id - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse
+
 
+
reference_id - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse
+
 
+
reference_id - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse
+
 
+
reference_id - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse
+
 
+
reference_id - Variable in class com.telesign.verify.response.VerifyResponse
+
 
+
resource_uri - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse
+
 
+
resource_uri - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse
+
 
+
resource_uri - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse
+
 
+
resource_uri - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse
+
 
+
resource_uri - Variable in class com.telesign.verify.response.VerifyResponse
+
 
+
risk - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse
+
 
+
roaming - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Live
+
 
+
roaming_country - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Live
+
 
+
+A C D E F G I L M N O P R S T U V Z 
+ +
+ + + + + +
+ + + + diff --git a/doc/index-files/index-14.html b/doc/index-files/index-14.html new file mode 100644 index 0000000..73a6ef6 --- /dev/null +++ b/doc/index-files/index-14.html @@ -0,0 +1,202 @@ + + + + + +S-Index + + + + + + + +
+ + + + + +
+ + +
A C D E F G I L M N O P R S T U V Z  + + +

S

+
+
score(String, String) - Method in class com.telesign.phoneid.PhoneId
+
+
Make a phoneid score request to TeleSign's public API.
+
+
score - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse.Risk
+
 
+
setNonce(String) - Method in class com.telesign.util.TeleSignRequest
+
+
Set a nonce to use for this request.
+
+
setPostBody(String) - Method in class com.telesign.util.TeleSignRequest
+
+
Set the body of the request for POST requests
+
+
setSigningMethod(AuthMethod) - Method in class com.telesign.util.TeleSignRequest
+
+
Set the signing method of this request.
+
+
signature_string - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse
+
 
+
signature_string - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse
+
 
+
signature_string - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse
+
 
+
signature_string - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse
+
 
+
sms - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Numbering.CleansingNumber
+
 
+
sms - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering.CleansingNumber
+
 
+
sms - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering.CleansingNumber
+
 
+
sms - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering.CleansingNumber
+
 
+
sms(String) - Method in class com.telesign.verify.Verify
+
+
Convenience method an overload of Verify.sms(String, String, String, String)
+
+
sms(String, String) - Method in class com.telesign.verify.Verify
+
+
Convenience method an overload of Verify.sms(String, String, String, String)
+
+
sms(String, String, String, String) - Method in class com.telesign.verify.Verify
+
+
Make a Verify SMS request to TeleSign's API.
+
+
standard(String) - Method in class com.telesign.phoneid.PhoneId
+
+
Make a phoneid standard request to Telesign's public API.
+
+
state - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Location
+
 
+
state - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Location
+
 
+
state - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Location
+
 
+
state_province - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Contact
+
 
+
status - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse
+
 
+
status - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse
+
 
+
status - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse
+
 
+
status - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse
+
 
+
status - Variable in class com.telesign.verify.response.VerifyResponse
+
 
+
status(String) - Method in class com.telesign.verify.Verify
+
+
Return the results of the post referenced by the reference_id.
+
+
sub_resource - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse
+
 
+
sub_resource - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse
+
 
+
sub_resource - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse
+
 
+
sub_resource - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse
+
 
+
sub_resource - Variable in class com.telesign.verify.response.VerifyResponse
+
 
+
subscriber_status - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Live
+
 
+
+A C D E F G I L M N O P R S T U V Z 
+ +
+ + + + + +
+ + + + diff --git a/doc/index-files/index-15.html b/doc/index-files/index-15.html new file mode 100644 index 0000000..c8fb566 --- /dev/null +++ b/doc/index-files/index-15.html @@ -0,0 +1,144 @@ + + + + + +T-Index + + + + + + + +
+ + + + + +
+ + +
A C D E F G I L M N O P R S T U V Z  + + +

T

+
+
TeleSignRequest - Class in com.telesign.util
+
+
Copyright (c) TeleSign Corporation 2012.
+
+
TeleSignRequest(String, String, String, String, String) - Constructor for class com.telesign.util.TeleSignRequest
+
+
The TeleSignRequest is the base for which all the TeleSign API requests.
+
+
time_zone - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Location
+
 
+
time_zone - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Location
+
 
+
time_zone - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Location
+
 
+
toString() - Method in class com.telesign.phoneid.response.PhoneIdContactResponse
+
 
+
toString() - Method in class com.telesign.phoneid.response.PhoneIdLiveResponse
+
 
+
toString() - Method in class com.telesign.phoneid.response.PhoneIdScoreResponse
+
 
+
toString() - Method in class com.telesign.phoneid.response.PhoneIdStandardResponse
+
 
+
toString() - Method in class com.telesign.verify.response.VerifyResponse
+
 
+
tsValue() - Method in enum com.telesign.util.AuthMethod
+
 
+
+A C D E F G I L M N O P R S T U V Z 
+ +
+ + + + + +
+ + + + diff --git a/doc/index-files/index-16.html b/doc/index-files/index-16.html new file mode 100644 index 0000000..04441b5 --- /dev/null +++ b/doc/index-files/index-16.html @@ -0,0 +1,140 @@ + + + + + +U-Index + + + + + + + +
+ + + + + +
+ + +
A C D E F G I L M N O P R S T U V Z  + + +

U

+
+
updated_on - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Status
+
 
+
updated_on - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Status
+
 
+
updated_on - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse.Status
+
 
+
updated_on - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Status
+
 
+
updated_on - Variable in class com.telesign.verify.response.VerifyResponse.Status
+
 
+
utc_offset_max - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Location.TimeZone
+
 
+
utc_offset_max - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Location.TimeZone
+
 
+
utc_offset_max - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Location.TimeZone
+
 
+
utc_offset_min - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Location.TimeZone
+
 
+
utc_offset_min - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Location.TimeZone
+
 
+
utc_offset_min - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Location.TimeZone
+
 
+
+A C D E F G I L M N O P R S T U V Z 
+ +
+ + + + + +
+ + + + diff --git a/doc/index-files/index-17.html b/doc/index-files/index-17.html new file mode 100644 index 0000000..c043bf7 --- /dev/null +++ b/doc/index-files/index-17.html @@ -0,0 +1,161 @@ + + + + + +V-Index + + + + + + + +
+ + + + + +
+ + +
A C D E F G I L M N O P R S T U V Z  + + +

V

+
+
value() - Method in enum com.telesign.util.AuthMethod
+
 
+
valueOf(String) - Static method in enum com.telesign.util.AuthMethod
+
+
Returns the enum constant of this type with the specified name.
+
+
values() - Static method in enum com.telesign.util.AuthMethod
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
verify - Variable in class com.telesign.verify.response.VerifyResponse
+
 
+
Verify - Class in com.telesign.verify
+
+
Copyright (c) TeleSign Corporation 2012.
+
+
Verify(String, String) - Constructor for class com.telesign.verify.Verify
+
+
Implementation of the TeleSign Verify api
+
+
VerifyResponse - Class in com.telesign.verify.response
+
+
Google GSON mapped class to represent a TeleSign JSON response to a + Verify.sms(), Verify.call() and Verify.status() requests + + + Copyright (c) TeleSign Corporation 2012.
+
+
VerifyResponse() - Constructor for class com.telesign.verify.response.VerifyResponse
+
 
+
VerifyResponse.Error - Class in com.telesign.verify.response
+
 
+
VerifyResponse.Error() - Constructor for class com.telesign.verify.response.VerifyResponse.Error
+
 
+
VerifyResponse.Status - Class in com.telesign.verify.response
+
 
+
VerifyResponse.Status() - Constructor for class com.telesign.verify.response.VerifyResponse.Status
+
 
+
VerifyResponse.Verify - Class in com.telesign.verify.response
+
 
+
VerifyResponse.Verify() - Constructor for class com.telesign.verify.response.VerifyResponse.Verify
+
 
+
+A C D E F G I L M N O P R S T U V Z 
+ +
+ + + + + +
+ + + + diff --git a/doc/index-files/index-18.html b/doc/index-files/index-18.html new file mode 100644 index 0000000..589ac3a --- /dev/null +++ b/doc/index-files/index-18.html @@ -0,0 +1,126 @@ + + + + + +Z-Index + + + + + + + +
+ + + + + +
+ + +
A C D E F G I L M N O P R S T U V Z  + + +

Z

+
+
zip - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Location
+
 
+
zip - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Location
+
 
+
zip - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Location
+
 
+
zip_postal_code - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Contact
+
 
+
+A C D E F G I L M N O P R S T U V Z 
+ +
+ + + + + +
+ + + + diff --git a/doc/index-files/index-2.html b/doc/index-files/index-2.html new file mode 100644 index 0000000..049479c --- /dev/null +++ b/doc/index-files/index-2.html @@ -0,0 +1,254 @@ + + + + + +C-Index + + + + + + + +
+ + + + + +
+ + +
A C D E F G I L M N O P R S T U V Z  + + +

C

+
+
call - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Numbering.CleansingNumber
+
 
+
call - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering.CleansingNumber
+
 
+
call - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering.CleansingNumber
+
 
+
call - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering.CleansingNumber
+
 
+
call(String) - Method in class com.telesign.verify.Verify
+
+ +
+
call(String, String) - Method in class com.telesign.verify.Verify
+
+ +
+
call(String, String, String, String, int, String, boolean) - Method in class com.telesign.verify.Verify
+
+
Make a Verify API call to TeleSigns phone service.
+
+
city - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Contact
+
 
+
city - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Location
+
 
+
city - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Location
+
 
+
city - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Location
+
 
+
cleansed_code - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Numbering.CleansingNumber.Number
+
 
+
cleansed_code - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering.CleansingNumber.Number
+
 
+
cleansed_code - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering.CleansingNumber.Number
+
 
+
cleansed_code - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering.CleansingNumber.Number
+
 
+
cleansing - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Numbering
+
 
+
cleansing - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering
+
 
+
cleansing - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering
+
 
+
cleansing - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering
+
 
+
code - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Error
+
 
+
code - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.PhoneType
+
 
+
code - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Status
+
 
+
code - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Error
+
 
+
code - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.PhoneType
+
 
+
code - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Status
+
 
+
code - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse.Error
+
 
+
code - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse.PhoneType
+
 
+
code - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse.Status
+
 
+
code - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Error
+
 
+
code - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.PhoneType
+
 
+
code - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Status
+
 
+
code - Variable in class com.telesign.verify.response.VerifyResponse.Error
+
 
+
code - Variable in class com.telesign.verify.response.VerifyResponse.Status
+
 
+
code_entered - Variable in class com.telesign.verify.response.VerifyResponse.Verify
+
 
+
code_state - Variable in class com.telesign.verify.response.VerifyResponse.Verify
+
 
+
com.telesign.phoneid - package com.telesign.phoneid
+
 
+
com.telesign.phoneid.response - package com.telesign.phoneid.response
+
 
+
com.telesign.util - package com.telesign.util
+
 
+
com.telesign.verify - package com.telesign.verify
+
 
+
com.telesign.verify.response - package com.telesign.verify.response
+
 
+
complete_phone_number - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Numbering.OriginalNumber
+
 
+
complete_phone_number - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering.OriginalNumber
+
 
+
complete_phone_number - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering.OriginalNumber
+
 
+
complete_phone_number - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering.OriginalNumber
+
 
+
contact(String, String) - Method in class com.telesign.phoneid.PhoneId
+
+
Make a phoneid contact request to TeleSign's public API.
+
+
contact - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse
+
 
+
coordinates - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Location
+
 
+
coordinates - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Location
+
 
+
coordinates - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Location
+
 
+
country - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Contact
+
 
+
country - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Location
+
 
+
country - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Location
+
 
+
country - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Location
+
 
+
country_code - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Numbering.CleansingNumber.Number
+
 
+
country_code - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Numbering.OriginalNumber
+
 
+
country_code - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering.CleansingNumber.Number
+
 
+
country_code - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering.OriginalNumber
+
 
+
country_code - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering.CleansingNumber.Number
+
 
+
country_code - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering.OriginalNumber
+
 
+
country_code - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering.CleansingNumber.Number
+
 
+
country_code - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering.OriginalNumber
+
 
+
county - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Location
+
 
+
county - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Location
+
 
+
county - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Location
+
 
+
+A C D E F G I L M N O P R S T U V Z 
+ +
+ + + + + +
+ + + + diff --git a/doc/index-files/index-3.html b/doc/index-files/index-3.html new file mode 100644 index 0000000..0209442 --- /dev/null +++ b/doc/index-files/index-3.html @@ -0,0 +1,148 @@ + + + + + +D-Index + + + + + + + +
+ + + + + +
+ + +
A C D E F G I L M N O P R S T U V Z  + + +

D

+
+
description - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Error
+
 
+
description - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.PhoneType
+
 
+
description - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Status
+
 
+
description - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Error
+
 
+
description - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.PhoneType
+
 
+
description - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Status
+
 
+
description - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse.Error
+
 
+
description - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse.PhoneType
+
 
+
description - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse.Status
+
 
+
description - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Error
+
 
+
description - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.PhoneType
+
 
+
description - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Status
+
 
+
description - Variable in class com.telesign.verify.response.VerifyResponse.Error
+
 
+
description - Variable in class com.telesign.verify.response.VerifyResponse.Status
+
 
+
device_status - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Live
+
 
+
+A C D E F G I L M N O P R S T U V Z 
+ +
+ + + + + +
+ + + + diff --git a/doc/index-files/index-4.html b/doc/index-files/index-4.html new file mode 100644 index 0000000..f4f1b8a --- /dev/null +++ b/doc/index-files/index-4.html @@ -0,0 +1,132 @@ + + + + + +E-Index + + + + + + + +
+ + + + + +
+ + +
A C D E F G I L M N O P R S T U V Z  + + +

E

+
+
errors - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse
+
 
+
errors - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse
+
 
+
errors - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse
+
 
+
errors - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse
+
 
+
errors - Variable in class com.telesign.verify.response.VerifyResponse
+
 
+
executeRequest() - Method in class com.telesign.util.TeleSignRequest
+
+
Sign and make the TeleSign Request to the url that was set on this request.
+
+
+A C D E F G I L M N O P R S T U V Z 
+ +
+ + + + + +
+ + + + diff --git a/doc/index-files/index-5.html b/doc/index-files/index-5.html new file mode 100644 index 0000000..8b38f83 --- /dev/null +++ b/doc/index-files/index-5.html @@ -0,0 +1,120 @@ + + + + + +F-Index + + + + + + + +
+ + + + + +
+ + +
A C D E F G I L M N O P R S T U V Z  + + +

F

+
+
firstname - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Contact
+
 
+
+A C D E F G I L M N O P R S T U V Z 
+ +
+ + + + + +
+ + + + diff --git a/doc/index-files/index-6.html b/doc/index-files/index-6.html new file mode 100644 index 0000000..af51446 --- /dev/null +++ b/doc/index-files/index-6.html @@ -0,0 +1,134 @@ + + + + + +G-Index + + + + + + + +
+ + + + + +
+ + +
A C D E F G I L M N O P R S T U V Z  + + +

G

+
+
getAllHeaders() - Method in class com.telesign.util.TeleSignRequest
+
+
Return a sorted list of all the headers.
+
+
getAllParams() - Method in class com.telesign.util.TeleSignRequest
+
+
Return all the Query parameters set on this request.
+
+
getPostBody() - Method in class com.telesign.util.TeleSignRequest
+
+
Get the POST body for this request
+
+
getTsHeaders() - Method in class com.telesign.util.TeleSignRequest
+
+
Return the TeleSign specific Headers set for this request
+
+
+A C D E F G I L M N O P R S T U V Z 
+ +
+ + + + + +
+ + + + diff --git a/doc/index-files/index-7.html b/doc/index-files/index-7.html new file mode 100644 index 0000000..10d330a --- /dev/null +++ b/doc/index-files/index-7.html @@ -0,0 +1,130 @@ + + + + + +I-Index + + + + + + + +
+ + + + + +
+ + +
A C D E F G I L M N O P R S T U V Z  + + +

I

+
+
iso2 - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Location.Country
+
 
+
iso2 - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Location.Country
+
 
+
iso2 - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Location.Country
+
 
+
iso3 - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Location.Country
+
 
+
iso3 - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Location.Country
+
 
+
iso3 - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Location.Country
+
 
+
+A C D E F G I L M N O P R S T U V Z 
+ +
+ + + + + +
+ + + + diff --git a/doc/index-files/index-8.html b/doc/index-files/index-8.html new file mode 100644 index 0000000..289a8a0 --- /dev/null +++ b/doc/index-files/index-8.html @@ -0,0 +1,146 @@ + + + + + +L-Index + + + + + + + +
+ + + + + +
+ + +
A C D E F G I L M N O P R S T U V Z  + + +

L

+
+
lastname - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Contact
+
 
+
latitude - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Location.Coordinates
+
 
+
latitude - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Location.Coordinates
+
 
+
latitude - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Location.Coordinates
+
 
+
level - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse.Risk
+
 
+
live(String, String) - Method in class com.telesign.phoneid.PhoneId
+
+
Make a phoneid live request to TeleSign's public API.
+
+
live - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse
+
 
+
location - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse
+
 
+
location - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse
+
 
+
location - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse
+
 
+
longitude - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Location.Coordinates
+
 
+
longitude - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Location.Coordinates
+
 
+
longitude - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Location.Coordinates
+
 
+
+A C D E F G I L M N O P R S T U V Z 
+ +
+ + + + + +
+ + + + diff --git a/doc/index-files/index-9.html b/doc/index-files/index-9.html new file mode 100644 index 0000000..49385c5 --- /dev/null +++ b/doc/index-files/index-9.html @@ -0,0 +1,140 @@ + + + + + +M-Index + + + + + + + +
+ + + + + +
+ + +
A C D E F G I L M N O P R S T U V Z  + + +

M

+
+
max_length - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Numbering.CleansingNumber.Number
+
 
+
max_length - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering.CleansingNumber.Number
+
 
+
max_length - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering.CleansingNumber.Number
+
 
+
max_length - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering.CleansingNumber.Number
+
 
+
metro_code - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Location
+
 
+
metro_code - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Location
+
 
+
metro_code - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Location
+
 
+
min_length - Variable in class com.telesign.phoneid.response.PhoneIdContactResponse.Numbering.CleansingNumber.Number
+
 
+
min_length - Variable in class com.telesign.phoneid.response.PhoneIdLiveResponse.Numbering.CleansingNumber.Number
+
 
+
min_length - Variable in class com.telesign.phoneid.response.PhoneIdScoreResponse.Numbering.CleansingNumber.Number
+
 
+
min_length - Variable in class com.telesign.phoneid.response.PhoneIdStandardResponse.Numbering.CleansingNumber.Number
+
 
+
+A C D E F G I L M N O P R S T U V Z 
+ +
+ + + + + +
+ + + + diff --git a/doc/index.html b/doc/index.html new file mode 100644 index 0000000..2961ef3 --- /dev/null +++ b/doc/index.html @@ -0,0 +1,33 @@ + + + + + +Generated Documentation (Untitled) + + + + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + + diff --git a/doc/overview-frame.html b/doc/overview-frame.html new file mode 100644 index 0000000..9007763 --- /dev/null +++ b/doc/overview-frame.html @@ -0,0 +1,24 @@ + + + + + +Overview List + + + + + + +

 

+ + diff --git a/doc/overview-summary.html b/doc/overview-summary.html new file mode 100644 index 0000000..9ab34ff --- /dev/null +++ b/doc/overview-summary.html @@ -0,0 +1,142 @@ + + + + + +Overview + + + + + + + +
+ + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Packages 
PackageDescription
com.telesign.phoneid 
com.telesign.phoneid.response 
com.telesign.util 
com.telesign.verify 
com.telesign.verify.response 
+
+ +
+ + + + + +
+ + + + diff --git a/doc/overview-tree.html b/doc/overview-tree.html new file mode 100644 index 0000000..d279ced --- /dev/null +++ b/doc/overview-tree.html @@ -0,0 +1,197 @@ + + + + + +Class Hierarchy + + + + + + + +
+ + + + + +
+ + + +
+

Class Hierarchy

+ +

Enum Hierarchy

+
    +
  • java.lang.Object +
      +
    • java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable) + +
    • +
    +
  • +
+
+ +
+ + + + + +
+ + + + diff --git a/doc/package-list b/doc/package-list new file mode 100644 index 0000000..7e09183 --- /dev/null +++ b/doc/package-list @@ -0,0 +1,5 @@ +com.telesign.phoneid +com.telesign.phoneid.response +com.telesign.util +com.telesign.verify +com.telesign.verify.response diff --git a/doc/resources/background.gif b/doc/resources/background.gif new file mode 100644 index 0000000..f471940 Binary files /dev/null and b/doc/resources/background.gif differ diff --git a/doc/resources/tab.gif b/doc/resources/tab.gif new file mode 100644 index 0000000..1a73a83 Binary files /dev/null and b/doc/resources/tab.gif differ diff --git a/doc/resources/titlebar.gif b/doc/resources/titlebar.gif new file mode 100644 index 0000000..17443b3 Binary files /dev/null and b/doc/resources/titlebar.gif differ diff --git a/doc/resources/titlebar_end.gif b/doc/resources/titlebar_end.gif new file mode 100644 index 0000000..3ad78d4 Binary files /dev/null and b/doc/resources/titlebar_end.gif differ diff --git a/doc/stylesheet.css b/doc/stylesheet.css new file mode 100644 index 0000000..0aeaa97 --- /dev/null +++ b/doc/stylesheet.css @@ -0,0 +1,474 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ +body { + background-color:#ffffff; + color:#353833; + font-family:Arial, Helvetica, sans-serif; + font-size:76%; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4c6b87; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4c6b87; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-size:1.3em; +} +h1 { + font-size:1.8em; +} +h2 { + font-size:1.5em; +} +h3 { + font-size:1.4em; +} +h4 { + font-size:1.3em; +} +h5 { + font-size:1.2em; +} +h6 { + font-size:1.1em; +} +ul { + list-style-type:disc; +} +code, tt { + font-size:1.2em; +} +dt code { + font-size:1.2em; +} +table tr td dt code { + font-size:1.2em; + vertical-align:top; +} +sup { + font-size:.6em; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:.8em; + z-index:200; + margin-top:-7px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + background-image:url(resources/titlebar.gif); + background-position:left top; + background-repeat:no-repeat; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:1em; + margin:0; +} +.topNav { + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; +} +.bottomNav { + margin-top:10px; + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; +} +.subNav { + background-color:#dee3e9; + border-bottom:1px solid #9eadc0; + float:left; + width:100%; + overflow:hidden; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding:3px 6px; +} +ul.subNavList li{ + list-style:none; + float:left; + font-size:90%; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; +} +.navBarCell1Rev { + background-image:url(resources/tab.gif); + background-color:#a88834; + color:#FFFFFF; + margin: auto 5px; + border:1px solid #c9aa44; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader h1 { + font-size:1.3em; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 25px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:1.2em; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + margin:0 0 6px -8px; + padding:2px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + margin:0 0 6px -8px; + padding:2px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:1.0em; +} +.indexContainer h2 { + font-size:1.1em; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:1.1em; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:10px 0 10px 20px; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:25px; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #9eadc0; + background-color:#f9f9f9; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:1px solid #9eadc0; + border-top:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; + border-bottom:1px solid #9eadc0; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.contentContainer table, .classUseContainer table, .constantValuesContainer table { + border-bottom:1px solid #9eadc0; + width:100%; +} +.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table { + width:100%; +} +.contentContainer .description table, .contentContainer .details table { + border-bottom:none; +} +.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{ + vertical-align:top; + padding-right:20px; +} +.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast, +.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast, +.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne, +.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne { + padding-right:3px; +} +.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#FFFFFF; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + margin:0px; +} +caption a:link, caption a:hover, caption a:active, caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span { + white-space:nowrap; + padding-top:8px; + padding-left:8px; + display:block; + float:left; + background-image:url(resources/titlebar.gif); + height:18px; +} +.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd { + width:10px; + background-image:url(resources/titlebar_end.gif); + background-repeat:no-repeat; + background-position:top right; + position:relative; + float:left; +} +ul.blockList ul.blockList li.blockList table { + margin:0 0 12px 0px; + width:100%; +} +.tableSubHeadingColor { + background-color: #EEEEFF; +} +.altColor { + background-color:#eeeeef; +} +.rowColor { + background-color:#ffffff; +} +.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td { + text-align:left; + padding:3px 3px 3px 7px; +} +th.colFirst, th.colLast, th.colOne, .constantValuesContainer th { + background:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + text-align:left; + padding:3px 3px 3px 7px; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +td.colFirst, th.colFirst { + border-left:1px solid #9eadc0; + white-space:nowrap; +} +td.colLast, th.colLast { + border-right:1px solid #9eadc0; +} +td.colOne, th.colOne { + border-right:1px solid #9eadc0; + border-left:1px solid #9eadc0; +} +table.overviewSummary { + padding:0px; + margin-left:0px; +} +table.overviewSummary td.colFirst, table.overviewSummary th.colFirst, +table.overviewSummary td.colOne, table.overviewSummary th.colOne { + width:25%; + vertical-align:middle; +} +table.packageSummary td.colFirst, table.overviewSummary th.colFirst { + width:25%; + vertical-align:middle; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:.9em; +} +.block { + display:block; + margin:3px 0 0 0; +} +.strong { + font-weight:bold; +} diff --git a/libs/commons-codec-1.4.jar b/libs/commons-codec-1.4.jar new file mode 100644 index 0000000..458d432 Binary files /dev/null and b/libs/commons-codec-1.4.jar differ diff --git a/libs/commons-codec-1.7.jar b/libs/commons-codec-1.7.jar new file mode 100644 index 0000000..efa7f72 Binary files /dev/null and b/libs/commons-codec-1.7.jar differ diff --git a/libs/gson-2.2.1.jar b/libs/gson-2.2.1.jar new file mode 100644 index 0000000..93ac6d7 Binary files /dev/null and b/libs/gson-2.2.1.jar differ diff --git a/src/com/telesign/phoneid/PhoneId.java b/src/com/telesign/phoneid/PhoneId.java new file mode 100644 index 0000000..4d17291 --- /dev/null +++ b/src/com/telesign/phoneid/PhoneId.java @@ -0,0 +1,164 @@ +package com.telesign.phoneid; + +import java.io.IOException; + +import com.google.gson.Gson; +import com.telesign.phoneid.response.PhoneIdContactResponse; +import com.telesign.phoneid.response.PhoneIdLiveResponse; +import com.telesign.phoneid.response.PhoneIdScoreResponse; +import com.telesign.phoneid.response.PhoneIdStandardResponse; +import com.telesign.util.TeleSignRequest; + + + +/** + * Copyright (c) TeleSign Corporation 2012. + * License: MIT + * Support email address "support@telesign.com" + * Author: jweatherford + */ +public class PhoneId { + + /** + * Implementation of the TeleSign PhoneId api + * + *

+ * https://portal.telesign.com/docs/content/phoneid.html + * + * Simple constructor for setting the customer id and secret_key + * @param customer_id the TeleSign customer id. + * @param secret_key the TeleSign secret key + */ + public PhoneId(String customer_id, String secret_key) { + this.customer_id = customer_id; + this.secret_key = secret_key; + } + + /** + * Make a phoneid standard request to Telesign's public API. Requires the + * phone number. The method creates a @see TeleSignRequest for the standard + * api, signs it using the standard SHA1 hash, and performs a GET request. + * + *

+ * https://portal.telesign.com/docs/content/phoneid-live.html + * + * @param phone_number a US phone number to make the standard request against. + * @return {@link com.telesign.phoneid.response.PhoneIdStandardResponse PhoneIdStandardResponse} The fully formed response object. If an error occured, the + * error array of the response will be set + */ + public PhoneIdStandardResponse standard(String phone_number) { + String result = null; + try { + TeleSignRequest tr = new TeleSignRequest("https://rest.telesign.com", "/v1/phoneid/standard/" + phone_number, "GET", customer_id, secret_key); + result = tr.executeRequest(); + } catch (IOException e) { + System.err.println("IOException while executing phoneid API: " + e.getMessage()); + } + + Gson gson = new Gson(); + PhoneIdStandardResponse response = gson.fromJson(result, PhoneIdStandardResponse.class); + + return response; + } + + /** + * Make a phoneid score request to TeleSign's public API. Requires the + * phone number and a string representing the use case code. The method + * creates a {@link com.telesign.util.TeleSignRequest TeleSignRequest} for the score api, signs it using + * the standard SHA1 hash, and performs a GET request. + * + *

+ * https://portal.telesign.com/docs/content/phoneid-live.html + *

+ * + * https://portal.telesign.com/docs/content/phoneid-live.html + *

+ * + * https://portal.telesign.com/docs/content/phoneid-live.html + *

+ * (); + headers = new TreeMap(); + params = new HashMap(); + } + + + /** + * Add a header to this TeleSign Request. If the header starts with + * X-TS- it is added to a special list of TeleSign headers. This + * also checks for the presence of X-TS-Date to correctly set the + * date for the request whether the Specialize TeleSign Date header + * is set or if it should be generated at request time + * + * @param key the name of the header + * @param value the value to set for the heaader. + */ + public void addHeader(String key, String value) { + if((key.length() > 4) && (key.toLowerCase().substring(0, 5).equals("x-ts-"))) { + + //mark the date if it is found to not use normal date params + if(key.toLowerCase().equals("x-ts-date")) { + ts_date = true; + } + + ts_headers.put(key, value); + } + headers.put(key, value); + } + + /** + * Add a parameter to the query String. Holds the parameters in a map + * until it is time to sign them + * + * @param key the name of the parameter + * @param value the value of the parameter + */ + public void addParam(String key, String value) { + params.put(key, value); + } + + + /** + * Set the body of the request for POST requests + * + * @param post_body + */ + public void setPostBody(String post_body) { + body = post_body; + } + + /** + * Get the POST body for this request + * + * @return the string value of the POST request + */ + public String getPostBody() { + return body; + } + + /** + * Return a sorted list of all the headers. + * + * @return a sorted map of all the headers for this request + */ + public Map getAllHeaders() { + TreeMap tmp = new TreeMap(); + tmp.putAll(headers); + tmp.putAll(ts_headers); + return tmp; + } + + /** + * Return the TeleSign specific Headers set for this request + * + * @return the map of the TeleSign specific headers. This map returns a sorted order + */ + public Map getTsHeaders() { + return ts_headers; + } + + /** + * Return all the Query parameters set on this request. + * + * @return a map containing all the query parameters set for this request + */ + public Map getAllParams() { + return params; + } + + /** + * Sign and make the TeleSign Request to the url that was set on this request. + * The signature is then calculated based on the headers, post parameters and + * resource as described below. + * + * Authorization = "TSA" + " " + Customer ID + ":" + Signature + * + * Signature = Base64( HMAC-SHA1( YourTeleSignAPIKey, UTF-8-Encoding-Of( StringToSign ) ) ) + * + * StringToSign = HTTP-method + "\n" + + * Content-Type + "\n" + + * Date + "\n" + + * CanonicalizedTsHeaders + + * CanonicalizedPOSTVariables + + * CanonicalizedResource + * + * + *

+ * https://portal.telesign.com/docs/content/rest-auth.html + * + * @return A string containing the JSON string response that was returned from the html request + * @throws IOException + */ + public String executeRequest() throws IOException { + String signingString = getSigningString(customer_id); + String signature; + String url_output = ""; + + /* construct the full url */ + StringBuffer full_url = new StringBuffer(base).append(resource); + if(params.size() > 0) { + full_url.append("?"); + int i =0; + for(String key : params.keySet()) { + if(++i != 0) { //don't add the ampersand on the first iteration + full_url.append("&"); + } + + full_url.append(URLEncoder.encode(key, "UTF-8")).append("=").append(URLEncoder.encode(params.get(key), "UTF-8")); + } + } + + url = new URL(full_url.toString()); + connection = (HttpURLConnection) url.openConnection(); + connection.setConnectTimeout(30000); + + + try { + signature = encode(signingString, secret_key); + } catch (SignatureException e) { + System.err.println("Error signing request " + e.getMessage()); + return null; + } + + String auth_header = "TSA " + customer_id + ":" + signature; + + connection.setRequestProperty("Authorization", auth_header); + + if(post) { + connection.setRequestProperty("Content-Length", Integer.toString(body.length())); + } + + for(String key : ts_headers.keySet()) { + connection.setRequestProperty(key, ts_headers.get(key)); + } + + for(String key : headers.keySet()) { + connection.setRequestProperty(key, headers.get(key)); + } + + if(post) { + connection.setDoOutput(true); + DataOutputStream wr = new DataOutputStream ( + connection.getOutputStream ()); + wr.writeBytes(body); + wr.flush(); + wr.close(); + } + + int response = connection.getResponseCode(); + + BufferedReader in; + try { + InputStream isr = (response == 200) ? connection.getInputStream() : connection.getErrorStream(); + in = new BufferedReader(new InputStreamReader(isr)); + String urlReturn; + + while ((urlReturn = in.readLine()) != null) { + url_output += urlReturn; + } + in.close(); + } catch (IOException e) { + System.err.println("IOException while reading from input stream " + e.getMessage()); + } + + + return url_output; + } + + /** + * Set the signing method of this request. Current values are enumerated + * in the AuthMethod enum. + * + * @param auth + */ + public void setSigningMethod(AuthMethod auth) { + addHeader("x-ts-auth-method", auth.tsValue()); + this.auth = auth; + } + + /** + * Set a nonce to use for this request. If this is used, it needs + * to be set before each request execution. This is a convenience method + * this can also be set using the addHeader option + * + * @param nonce + */ + public void setNonce(String nonce) { + addHeader("x-ts-nonce", nonce); + } + + /** + * Only run when the request is executed + * + * @param customer_id + * @return the string to sign for the request + */ + private String getSigningString(String customer_id) { + String stringToSign = post ? "POST\n": "GET\n"; + String content_type = post ? "application/x-www-form-urlencoded\n" : "\n"; + + /* set the content type */ + stringToSign += content_type; + + /* Handle the Date */ + if(ts_date) { + stringToSign += "\n"; + } else { + + Date now = new Date(); + //Tue, 10 Jan 2012 19:36:42 +0000 + SimpleDateFormat rfc2616 = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss ZZZZ"); + String date = rfc2616.format(now); + addHeader("Date", date); + stringToSign += date + "\n"; + } + + //canonize the ts_headers + Set orderedKeys = ts_headers.keySet(); + for(String key : orderedKeys) { + stringToSign += key.toLowerCase() + ":" + ts_headers.get(key) + "\n"; + } + + if(post) { + stringToSign += body + "\n"; + } + + stringToSign += resource; + + return stringToSign; + } + + /** + * Perform a hmac sha1 hash of the passed string using the passed salt + * @param data The information to hash + * @param key the salt of the hash + * @return a hashed and base64 encoded representation of the data and the salt + * @throws java.security.SignatureException + */ + private String encode(String data, String key) throws java.security.SignatureException { + String result; + + byte[] decoded_key = Base64.decodeBase64(key); + + try { + // get an hmac_sha key from the raw key bytes + SecretKeySpec signingKey = new SecretKeySpec(decoded_key, auth.value()); + + // get an hmac_sha Mac instance and initialize with the signing key + Mac mac = Mac.getInstance(auth.value()); + mac.init(signingKey); + + // compute the hmac on input data bytes + byte[] rawHmac = mac.doFinal(data.getBytes()); + + // base64-encode the hmac + result = new String(Base64.encodeBase64(rawHmac)); + + } catch (Exception e) { + throw new SignatureException("Failed to generate HMAC : " + e.getMessage()); + } + + return result; + } + + private TreeMap ts_headers; + private TreeMap headers; + + private HashMap params; + + private URL url; + private HttpURLConnection connection; + private boolean post; + private String body = ""; + + private AuthMethod auth = AuthMethod.SHA1; + + private final String base; + private final String resource; + private final String customer_id; + private final String secret_key; + + private boolean ts_date = false; +} diff --git a/src/com/telesign/verify/Verify.java b/src/com/telesign/verify/Verify.java new file mode 100644 index 0000000..ca74955 --- /dev/null +++ b/src/com/telesign/verify/Verify.java @@ -0,0 +1,219 @@ +package com.telesign.verify; + +import java.io.IOException; +import java.net.URLEncoder; + +import com.google.gson.Gson; +import com.telesign.util.TeleSignRequest; +import com.telesign.verify.response.VerifyResponse; + + +/** + * Copyright (c) TeleSign Corporation 2012. + * License: MIT + * Support email address "support@telesign.com" + * Author: jweatherford + */ +public class Verify { + + /** + * Implementation of the TeleSign Verify api + * + *

+ * https://portal.telesign.com/docs/content/verify.html + * + * + * Simple constructor for setting the customer id and secret_key + * @param customer_id the TeleSign customer id. + * @param secret_key the TeleSign secret key + */ + public Verify(String customer_id, String secret_key) { + this.customer_id = customer_id; + this.secret_key = secret_key; + } + + /** + * Convenience method an overload of {@link com.telesign.verify.Verify#sms(String, String, String, String)} + * + * @param phone_number the phone number to send the sms message + * @return {@link com.telesign.verify.response.VerifyResponse VerifyResponse} The fully formed + * response object repersentation of the JSON reply + */ + public VerifyResponse sms(String phone_number) { + return sms(phone_number, null, null, null); + } + + /** + * Convenience method an overload of {@link com.telesign.verify.Verify#sms(String, String, String, String)} + * + * @param phone_number the phone number to send the sms message + * @param language The String representation of the language to send the sms message + * @return {@link com.telesign.verify.response.VerifyResponse VerifyResponse} The fully formed + * response object repersentation of the JSON reply + */ + public VerifyResponse sms(String phone_number, String language) { + return sms(phone_number, language, null, null); + } + + /** + * Make a Verify SMS request to TeleSign's API. This method allows + * the language, verification code and template of the message to be set. + * + *

+ * https://portal.telesign.com/docs/content/verify-sms.html + * + * @param phone_number the phone number to send the sms message + * @param language The String representation of the language to send the sms message + * @param verify_code The code to send via sms. Set to null to let Telesign generate the code + * @param template The template of the message that is being sent. Set to null for default, otherwise must include $$CODE$$ as a variable placeholder + * @return {@link com.telesign.verify.response.VerifyResponse VerifyResponse} The fully formed + * response object repersentation of the JSON reply + */ + public VerifyResponse sms(String phone_number, String language, String verify_code, String template) { + String result = null; + try { + TeleSignRequest tr = new TeleSignRequest("https://rest.telesign.com", "/v1/verify/sms", "POST", customer_id, secret_key); + + String body = "phone_number=" + URLEncoder.encode(phone_number, "UTF-8");; + + if(language != null) { + body += "&language=" + URLEncoder.encode(language, "UTF-8");; + } + + if(verify_code != null) { + body += "&verify_code=" + URLEncoder.encode(verify_code, "UTF-8");; + } + + if(template != null) { + body += "&template=" + URLEncoder.encode(template, "UTF-8");; + } + + tr.setPostBody(body); + + result = tr.executeRequest(); + } catch (IOException e) { + System.err.println("IOException while executing phoneid API: " + e.getMessage()); + } + + Gson gson = new Gson(); + VerifyResponse response = gson.fromJson(result, VerifyResponse.class); + + return response; + + } + + /** + * Convenience method for {@link com.telesign.verify.Verify#call(String, String, String, String, int, String, boolean)} + * + * @param phone_number Required, the phone number of the person to dial + * @return {@link com.telesign.verify.response.VerifyResponse VerifyResponse} The fully formed + * response object repersentation of the JSON reply + */ + public VerifyResponse call(String phone_number) { + return call(phone_number, null, null, null, 0, null, true); + } + + /** + * Convenience method for {@link com.telesign.verify.Verify#call(String, String, String, String, int, String, boolean)} + * + * @param phone_number Required, th phone number of the person to dial + * @param language optional can be null. The language code of the call + * @return {@link com.telesign.verify.response.VerifyResponse VerifyResponse} The fully formed + * response object repersentation of the JSON reply + */ + public VerifyResponse call(String phone_number, String language) { + return call(phone_number, language, null, null, 0, null, true); + } + + /** + * Make a Verify API call to TeleSigns phone service. Calling this method + * results in an automated phone call made to the given phone_number. The language + * is specified as a string. Extensions and delays are programmable using the + * extension_type and extension template. + * + *

+ * https://portal.telesign.com/docs/content/verify-call.html + * + * @param phone_number Required, the phone number of the person to dial + * @param language optional can be null. The language code of the call + * @param verify_code optional. if null, verify code will be generated by telesign + * @param verify_method optional. Only available option is currently null (dictated code) or "keypress" + * @param extension_type optional. If 0, no extension. if 1, DTMF extension. If 2, voice extension + * @param extension_template optional. If null not used. Otherwise the extension to reach + * @param redial optional. Default true + * @return {@link com.telesign.verify.response.VerifyResponse VerifyResponse} The fully formed + * response object repersentation of the JSON reply + * + * + */ + public VerifyResponse call(String phone_number , String language, String verify_code, String verify_method, int extension_type, String extension_template, boolean redial) { + + String result = null; + try { + TeleSignRequest tr = new TeleSignRequest("https://rest.telesign.com", "/v1/verify/call", "POST", customer_id, secret_key); + + String body = "phone_number=" + URLEncoder.encode(phone_number, "UTF-8");; + + if(language != null) { + body += "&language=" + URLEncoder.encode(language, "UTF-8");; + } + + if(verify_code != null) { + body += "&verify_code=" + URLEncoder.encode(verify_code, "UTF-8");; + } + + if(verify_method != null && verify_method.equalsIgnoreCase("keypress")) { + body += "&verify_method=" + URLEncoder.encode(verify_method, "UTF-8");; + } + if(extension_type > 0 && extension_type < 3) { + body += "&extension_type=" + URLEncoder.encode(Integer.toString(extension_type), "UTF-8");; + } + if(extension_template != null) { + body += "&extension_template=" + URLEncoder.encode(extension_template, "UTF-8");; + } + if(!redial) { //only set this if it is false + body += "&redial=" + URLEncoder.encode(Boolean.toString(redial), "UTF-8");; + } + + + tr.setPostBody(body); + + result = tr.executeRequest(); + } catch (IOException e) { + System.err.println("IOException while executing phoneid API: " + e.getMessage()); + } + + Gson gson = new Gson(); + VerifyResponse response = gson.fromJson(result, VerifyResponse.class); + + return response; + } + + /** + * Return the results of the post referenced by the reference_id. After a verify + * SMS or Call has been made, the status of that verification request can be retrieved + * with this method. + * + * @param resource_id the id returned from either requestsSMS or requestCall + * @return {@link com.telesign.verify.response.VerifyResponse VerifyResponse} The fully formed + * response object repersentation of the JSON reply + */ + public VerifyResponse status(String resource_id) { + String result = null; + try { + TeleSignRequest tr = new TeleSignRequest("https://rest.telesign.com", "/v1/verify/" + resource_id, "GET", customer_id, secret_key); + result = tr.executeRequest(); + } catch (IOException e) { + System.err.println("IOException while executing phoneid API: " + e.getMessage()); + } + + Gson gson = new Gson(); + VerifyResponse response = gson.fromJson(result, VerifyResponse.class); + + return response; + } + + + private final String customer_id; + private final String secret_key; +} diff --git a/src/com/telesign/verify/response/VerifyResponse.java b/src/com/telesign/verify/response/VerifyResponse.java new file mode 100644 index 0000000..b90a42f --- /dev/null +++ b/src/com/telesign/verify/response/VerifyResponse.java @@ -0,0 +1,44 @@ +package com.telesign.verify.response; + +import com.google.gson.Gson; + +/** + * Google GSON mapped class to represent a TeleSign JSON response to a + * Verify.sms(), Verify.call() and Verify.status() requests + * + * + * Copyright (c) TeleSign Corporation 2012. + * License: MIT + * Support email address "support@telesign.com" + * Author: jweatherford + */ +public class VerifyResponse { + public String reference_id; + public String resource_uri; + public String sub_resource; + public Error[] errors; + public Status status; + public Verify verify; + + public static class Error { + public int code; + public String description; + } + + public static class Status { + public String updated_on; + public int code; + public String description; + } + + public static class Verify { + public String code_state; + public String code_entered; + } + + @Override + public String toString() { + Gson gson = new Gson(); + return gson.toJson(this); + } +} diff --git a/test/com/telesign/PhoneIdTest.java b/test/com/telesign/PhoneIdTest.java new file mode 100644 index 0000000..169c059 --- /dev/null +++ b/test/com/telesign/PhoneIdTest.java @@ -0,0 +1,188 @@ +package com.telesign; + +import static org.junit.Assert.*; + +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.util.Properties; + +import org.junit.BeforeClass; +import org.junit.Test; + +import com.telesign.phoneid.PhoneId; +import com.telesign.phoneid.response.PhoneIdContactResponse; +import com.telesign.phoneid.response.PhoneIdLiveResponse; +import com.telesign.phoneid.response.PhoneIdScoreResponse; +import com.telesign.phoneid.response.PhoneIdStandardResponse; + +/** + * Copyright (c) TeleSign Corporation 2012. + * License: MIT + * Support email address "support@telesign.com" + * Author: jweatherford + */ +public class PhoneIdTest { + public static String CUSTOMER_ID; + public static String SECRET_KEY; + public static String PHONE_NUMBER; + + + @BeforeClass + public static void setUp() throws IOException { + Properties props = new Properties(); + try { + props.load(new FileInputStream("test.properties")); + } catch (FileNotFoundException fne) { + fail("Please create a \"test.properties\" file at the root project directory " + + "and include your telesign customerid, secretkey and your phone number. " + + "If you need assistance, please contact telesign support at support@telesign.com"); + } + + CUSTOMER_ID = props.getProperty("test.customerid"); + SECRET_KEY = props.getProperty("test.secretkey"); + PHONE_NUMBER = props.getProperty("test.phonenumber"); + + boolean pass = true; + + if(CUSTOMER_ID == null || CUSTOMER_ID.isEmpty()) { + System.out.println("CUSTOMER_ID is not set. Please set the \"test.customerid\" property in the properties file"); + pass = false; + } + + if(SECRET_KEY == null || SECRET_KEY.isEmpty()) { + System.out.println("SECRET_KEY is not set. Please set the \"test.secretkey\" property in the properties file"); + pass = false; + } + if(PHONE_NUMBER == null || PHONE_NUMBER.isEmpty()) { + System.out.println("PHONE_NUMBER is not set. Please set the \"test.phonenumber\" property in the properties file"); + pass = false; + } + + if(!pass) { + fail("Configuration file not setup correctly!"); + } + } + + + + + @Test + public void phoneIdError() { + PhoneId pid = new PhoneId("Junk" , "Fake"); + PhoneIdStandardResponse ret = pid.standard("13102224444"); + assertNotNull(ret); + assertTrue(ret.errors[0].code == -30000); + + PhoneIdScoreResponse ret2 = pid.score("13102224444", "BACS"); + assertNotNull(ret2); + assertTrue(ret2.errors[0].code == -30000); + + PhoneIdContactResponse ret3 = pid.contact("13102224444", "BACS"); + assertNotNull(ret3); + assertTrue(ret3.errors[0].code == -30000); + + PhoneIdLiveResponse ret4 = pid.live("13102224444", "BACS"); + assertNotNull(ret4); + assertTrue(ret4.errors[0].code == -30000); + } + + @Test + public void phoneIdStandard() { + if(CUSTOMER_ID.isEmpty() || SECRET_KEY.isEmpty()) { + fail("CUSTOMER_ID and SECRET_KEY must be set to pass this test"); + } + + PhoneId pid = new PhoneId(CUSTOMER_ID, SECRET_KEY); + PhoneIdStandardResponse ret = pid.standard("13102224444"); + assertNotNull(ret); + assertTrue(ret.errors.length == 0); + assertTrue(ret.status.code == 300); + + } + + @Test + public void phoneIdScore() { + if(CUSTOMER_ID.isEmpty() || SECRET_KEY.isEmpty()) { + fail("CUSTOMER_ID and SECRET_KEY must be set to pass this test"); + } + + PhoneId pid = new PhoneId(CUSTOMER_ID, SECRET_KEY); + PhoneIdScoreResponse ret = pid.score("13105551234", "BACS"); + assertNotNull(ret); + assertTrue(ret.errors.length == 0); + assertTrue(ret.status.code == 300); + assertTrue(ret.risk.level.length() > 0); + + } + + @Test + public void phoneIdContact() { + if(CUSTOMER_ID.isEmpty() || SECRET_KEY.isEmpty()) { + fail("CUSTOMER_ID and SECRET_KEY must be set to pass this test"); + } + + PhoneId pid = new PhoneId(CUSTOMER_ID, SECRET_KEY); + PhoneIdContactResponse ret = pid.contact("13105551234", "BACS"); + assertNotNull(ret); + + assertTrue(ret.status.code == 301); //for this fake number we expect a partially completed request + } + + @Test + public void phoneIdLiveDummy() { + if(CUSTOMER_ID.isEmpty() || SECRET_KEY.isEmpty()) { + fail("CUSTOMER_ID and SECRET_KEY must be set to pass this test"); + } + + PhoneId pid = new PhoneId(CUSTOMER_ID, SECRET_KEY); + PhoneIdLiveResponse ret = pid.live("13105551234", "BACS"); + assertNotNull(ret); + + assertTrue(ret.status.code == 301); //for this fake number we expect a partially completed request + } + + @Test + public void phoneIdLiveReal() { + + if(PHONE_NUMBER.isEmpty()) { + fail("For this test we require a valid phone number to test against"); + } + + PhoneId pid = new PhoneId(CUSTOMER_ID, SECRET_KEY); + PhoneIdLiveResponse ret2 = pid.live(PHONE_NUMBER , "BACS"); + + assertTrue(ret2.status.code == 300); + assertNotNull(ret2.live); + assertTrue(!ret2.live.subscriber_status.isEmpty()); + } + + @Test + public void responseToString() { + + PhoneId pid = new PhoneId(CUSTOMER_ID, SECRET_KEY); + PhoneIdStandardResponse ret1 = pid.standard(PHONE_NUMBER); + PhoneIdContactResponse ret2 = pid.contact(PHONE_NUMBER , "BACS"); + PhoneIdScoreResponse ret3 = pid.score(PHONE_NUMBER , "BACS"); + PhoneIdLiveResponse ret4 = pid.live(PHONE_NUMBER , "BACS"); + + //all the successful responses should contain a json formatted reference_id at the start + String json1 = ret1.toString(); + System.out.println(json1); + assertTrue(json1.contains("{\"reference_id\":")); + String json2 = ret2.toString(); + System.out.println(json2); + assertTrue(json2.contains("{\"reference_id\":")); + String json3 = ret3.toString(); + System.out.println(json3); + assertTrue(json3.contains("{\"reference_id\":")); + String json4 = ret4.toString(); + System.out.println(json4); + assertTrue(json4.contains("{\"reference_id\":")); + + } + + + + +} diff --git a/test/com/telesign/TeleSignRequestTest.java b/test/com/telesign/TeleSignRequestTest.java new file mode 100644 index 0000000..c54e49c --- /dev/null +++ b/test/com/telesign/TeleSignRequestTest.java @@ -0,0 +1,160 @@ +package com.telesign; + +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; + +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.util.Properties; + +import org.junit.BeforeClass; +import org.junit.Test; + +import com.google.gson.Gson; +import com.telesign.phoneid.response.PhoneIdStandardResponse; +import com.telesign.util.AuthMethod; +import com.telesign.util.TeleSignRequest; + +/** + * Copyright (c) TeleSign Corporation 2012. + * License: MIT + * Support email address "support@telesign.com" + * Author: jweatherford + */ +public class TeleSignRequestTest { + public static String CUSTOMER_ID; + public static String SECRET_KEY; + public static String PHONE_NUMBER; + + + @BeforeClass + public static void setUp() throws IOException { + Properties props = new Properties(); + try { + props.load(new FileInputStream("test.properties")); + } catch (FileNotFoundException fne) { + fail("Please create a \"test.properties\" file at the root project directory " + + "and include your telesign customerid, secretkey and your phone number. " + + "If you need assistance, please contact telesign support at support@telesign.com"); + } + + CUSTOMER_ID = props.getProperty("test.customerid"); + SECRET_KEY = props.getProperty("test.secretkey"); + PHONE_NUMBER = props.getProperty("test.phonenumber"); + + boolean pass = true; + + if(CUSTOMER_ID == null || CUSTOMER_ID.isEmpty()) { + System.out.println("CUSTOMER_ID is not set. Please set the \"test.customerid\" property in the properties file"); + pass = false; + } + + if(SECRET_KEY == null || SECRET_KEY.isEmpty()) { + System.out.println("SECRET_KEY is not set. Please set the \"test.secretkey\" property in the properties file"); + pass = false; + } + if(PHONE_NUMBER == null || PHONE_NUMBER.isEmpty()) { + System.out.println("PHONE_NUMBER is not set. Please set the \"test.phonenumber\" property in the properties file"); + pass = false; + } + + if(!pass) { + fail("Configuration file not setup correctly!"); + } + } + + @Test + public void requestCreation() { + TeleSignRequest tr = new TeleSignRequest("https://rest.telesign.com", "/v1/phoneid/standard/15551234567", "GET", "customer_id", "secret_key"); + assertNotNull(tr); + + } + + @Test(expected=IOException.class) + public void malformedUrl() throws IOException { + TeleSignRequest tr = new TeleSignRequest(":junk/rest.telesign.com", "/v1/phoneid/standard/15551234567", "GET", "customer_id", ""); + assertNotNull(tr); + tr.executeRequest(); + } + + @Test + public void addParameterTest() { + TeleSignRequest tr = new TeleSignRequest("https://rest.telesign.com", "/v1/phoneid/standard/15551234567", "GET", "customer_id", "secret_key"); + assertNull(tr.getAllParams().get("code")); + tr.addParam("code", "001"); + assertTrue(tr.getAllParams().get("code").equals("001")); + } + + @Test + public void addHeaderTest() { + TeleSignRequest tr = new TeleSignRequest("https://rest.telesign.com", "/v1/phoneid/standard/15551234567", "GET", "customer_id", "secret_key"); + + assertNull(tr.getAllHeaders().get("Authorization")); + tr.addHeader("Authorization", "fake"); + assertTrue(tr.getAllHeaders().get("Authorization").equals("fake")); + + assertNull(tr.getTsHeaders().get("X-TS-Date")); + assertNull(tr.getAllHeaders().get("X-TS-Date")); + + tr.addHeader("X-TS-Date", "2012-03-13"); + + assertTrue(tr.getTsHeaders().get("X-TS-Date").equals("2012-03-13")); + assertTrue(tr.getAllHeaders().get("X-TS-Date").equals("2012-03-13")); + + try { + String json = tr.executeRequest(); + assertNotNull(json); + } catch (IOException e) { + fail("IOException through " + e.getMessage()); + } + } + + @Test + public void shaMethodTest() throws IOException { + String result = null; + TeleSignRequest tr = new TeleSignRequest("https://rest.telesign.com", "/v1/phoneid/standard/" + PHONE_NUMBER, "GET", CUSTOMER_ID, SECRET_KEY); + tr.setSigningMethod(AuthMethod.SHA256); + + assertNotNull(tr); + + result = tr.executeRequest(); + + assertNotNull(result); + + Gson gson = new Gson(); + PhoneIdStandardResponse response = gson.fromJson(result, PhoneIdStandardResponse.class); + + assertTrue(response.errors.length == 0); + } + + @Test + public void nonceTest() throws IOException { + String nonce = "myUniqueNonce" + System.currentTimeMillis(); + String result = null; + TeleSignRequest tr = new TeleSignRequest("https://rest.telesign.com", "/v1/phoneid/standard/" + PHONE_NUMBER, "GET", CUSTOMER_ID, SECRET_KEY); + tr.setNonce(nonce); + + assertNotNull(tr); + + result = tr.executeRequest(); + + assertNotNull(result); + + Gson gson = new Gson(); + PhoneIdStandardResponse response = gson.fromJson(result, PhoneIdStandardResponse.class); + + assertTrue(response.errors.length == 0); + + result = tr.executeRequest(); + + assertNotNull(result); + + response = gson.fromJson(result, PhoneIdStandardResponse.class); + + assertTrue(response.errors[0].code == -30012); + } + +} diff --git a/test/com/telesign/VerifyTest.java b/test/com/telesign/VerifyTest.java new file mode 100644 index 0000000..1b7d5e3 --- /dev/null +++ b/test/com/telesign/VerifyTest.java @@ -0,0 +1,186 @@ +package com.telesign; + +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; + +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.util.Properties; + +import org.junit.BeforeClass; +import org.junit.Test; + +import com.telesign.verify.Verify; +import com.telesign.verify.response.VerifyResponse; + +/** + * Copyright (c) TeleSign Corporation 2012. + * License: MIT + * Support email address "support@telesign.com" + * Author: jweatherford + */ +public class VerifyTest { + + public static String CUSTOMER_ID; + public static String SECRET_KEY; + public static String PHONE_NUMBER; + + + @BeforeClass + public static void setUp() throws IOException { + Properties props = new Properties(); + try { + props.load(new FileInputStream("test.properties")); + } catch (FileNotFoundException fne) { + fail("Please create a \"test.properties\" file at the root project directory " + + "and include your telesign customerid, secretkey and your phone number. " + + "If you need assistance, please contact telesign support at support@telesign.com"); + } + + CUSTOMER_ID = props.getProperty("test.customerid"); + SECRET_KEY = props.getProperty("test.secretkey"); + PHONE_NUMBER = props.getProperty("test.phonenumber"); + + boolean pass = true; + + if(CUSTOMER_ID == null || CUSTOMER_ID.isEmpty()) { + System.out.println("CUSTOMER_ID is not set. Please set the \"test.customerid\" property in the properties file"); + pass = false; + } + + if(SECRET_KEY == null || SECRET_KEY.isEmpty()) { + System.out.println("SECRET_KEY is not set. Please set the \"test.secretkey\" property in the properties file"); + pass = false; + } + if(PHONE_NUMBER == null || PHONE_NUMBER.isEmpty()) { + System.out.println("PHONE_NUMBER is not set. Please set the \"test.phonenumber\" property in the properties file"); + pass = false; + } + + if(!pass) { + fail("Configuration file not setup correctly!"); + } + } + + + @Test + public void verifyError() { + Verify ver = new Verify("Junk" , "Fake"); + VerifyResponse ret = ver.call("13102224444"); + assertNotNull(ret); + assertTrue(ret.errors[0].code == -30000); + } + + @Test + public void verifyRequestCall() { + if(CUSTOMER_ID.isEmpty() || SECRET_KEY.isEmpty() || PHONE_NUMBER.isEmpty()) { + fail("CUSTOMER_ID, SECRET_KEY and PHONE_NUMBER must be set to pass this test"); + } + + Verify ver = new Verify(CUSTOMER_ID, SECRET_KEY); + VerifyResponse ret = ver.call(PHONE_NUMBER); + assertNotNull(ret); + assertTrue(ret.errors.length == 0); + } + + @Test + public void verifyRequestCallWithLanguage() { + if(CUSTOMER_ID.isEmpty() || SECRET_KEY.isEmpty() || PHONE_NUMBER.isEmpty()) { + fail("CUSTOMER_ID, SECRET_KEY and PHONE_NUMBER must be set to pass this test"); + } + + Verify ver = new Verify(CUSTOMER_ID, SECRET_KEY); + VerifyResponse ret = ver.call(PHONE_NUMBER, "en-US"); + assertNotNull(ret); + assertTrue(ret.errors.length == 0); + } + + @Test + public void verifyRequestCallWithAllParams() { + if(CUSTOMER_ID.isEmpty() || SECRET_KEY.isEmpty() || PHONE_NUMBER.isEmpty()) { + fail("CUSTOMER_ID, SECRET_KEY and PHONE_NUMBER must be set to pass this test"); + } + + Verify ver = new Verify(CUSTOMER_ID, SECRET_KEY); + VerifyResponse ret = ver.call(PHONE_NUMBER, "en-US", "12345", "keypress", 1, "1234", true); + assertNotNull(ret); + assertTrue(ret.errors.length == 0); + } + + @Test + public void verifyRequestSMS() { + if(CUSTOMER_ID.isEmpty() || SECRET_KEY.isEmpty() || PHONE_NUMBER.isEmpty()) { + fail("CUSTOMER_ID, SECRET_KEY and PHONE_NUMBER must be set to pass this test"); + } + + Verify ver = new Verify(CUSTOMER_ID, SECRET_KEY); + VerifyResponse ret = ver.sms(PHONE_NUMBER); + assertNotNull(ret); + assertTrue(ret.errors.length == 0); + + } + + @Test + public void verifyRequestSMSWithLanguage() { + if(CUSTOMER_ID.isEmpty() || SECRET_KEY.isEmpty() || PHONE_NUMBER.isEmpty()) { + fail("CUSTOMER_ID, SECRET_KEY and PHONE_NUMBER must be set to pass this test"); + } + + Verify ver = new Verify(CUSTOMER_ID, SECRET_KEY); + VerifyResponse ret = ver.sms(PHONE_NUMBER, "en-US"); + assertNotNull(ret); + assertTrue(ret.errors.length == 0); + + } + @Test + public void verifyRequestSMSAllParams() { + if(CUSTOMER_ID.isEmpty() || SECRET_KEY.isEmpty() || PHONE_NUMBER.isEmpty()) { + fail("CUSTOMER_ID, SECRET_KEY and PHONE_NUMBER must be set to pass this test"); + } + + Verify ver = new Verify(CUSTOMER_ID, SECRET_KEY); + VerifyResponse ret = ver.sms(PHONE_NUMBER, "en-US", "12345", "Thanks! Custom code template pass! Code: $$CODE$$"); + assertNotNull(ret); + assertTrue(ret.errors.length == 0); + + } + + @Test + public void verifyRequestCallwithResult() { + if(CUSTOMER_ID.isEmpty() || SECRET_KEY.isEmpty() || PHONE_NUMBER.isEmpty()) { + fail("CUSTOMER_ID, SECRET_KEY and PHONE_NUMBER must be set to pass this test"); + } + + Verify ver = new Verify(CUSTOMER_ID, SECRET_KEY); + VerifyResponse ret = ver.call(PHONE_NUMBER); + assertNotNull(ret); + assertTrue(ret.errors.length == 0); + + String reference_id = ret.reference_id; + + VerifyResponse ret2 = ver.status(reference_id); + assertNotNull(ret2); + assertTrue(ret2.errors.length == 0); + + } + + @Test + public void verifyRequestSMSwithResult() { + if(CUSTOMER_ID.isEmpty() || SECRET_KEY.isEmpty() || PHONE_NUMBER.isEmpty()) { + fail("CUSTOMER_ID, SECRET_KEY and PHONE_NUMBER must be set to pass this test"); + } + + Verify ver = new Verify(CUSTOMER_ID, SECRET_KEY); + VerifyResponse ret = ver.sms(PHONE_NUMBER); + assertNotNull(ret); + assertTrue(ret.errors.length == 0); + + String reference_id = ret.reference_id; + + VerifyResponse ret2 = ver.status(reference_id); + assertNotNull(ret2); + assertTrue(ret2.errors.length == 0); + } +} diff --git a/test/com/telesign/response/ResponseTest.java b/test/com/telesign/response/ResponseTest.java new file mode 100644 index 0000000..ee8c05c --- /dev/null +++ b/test/com/telesign/response/ResponseTest.java @@ -0,0 +1,84 @@ +package com.telesign.response; + +import static org.junit.Assert.*; + +import org.junit.Test; + +import com.google.gson.Gson; +import com.telesign.phoneid.response.PhoneIdContactResponse; +import com.telesign.phoneid.response.PhoneIdLiveResponse; +import com.telesign.phoneid.response.PhoneIdScoreResponse; +import com.telesign.phoneid.response.PhoneIdStandardResponse; + +/** + * Copyright (c) TeleSign Corporation 2012. + * License: MIT + * Support email address "support@telesign.com" + * Author: jweatherford + */ +public class ResponseTest { + + @Test + public void GsonEnabled() { + + Gson gson = new Gson(); + assertTrue(gson != null); + } + + @Test + public void ValidResponse() { + String valid_json = "{\r\n \"reference_id\": \"F0123456789ABCDEF0123456789ABCDE\",\r\n \"resource_uri\": null,\r\n \"sub_resource\": \"standard\",\r\n \"errors\": [],\r\n \"phone_type\": {\r\n \"code\": \"1\",\r\n \"description\": \"FIXED_LINE\"\r\n },\r\n \"status\": {\r\n \"updated_on\": \"2012-10-03T14:51:28.709526Z\",\r\n \"code\": 300,\r\n \"description\": \"Transaction successfully completed\"\r\n },\r\n \"numbering\": {\r\n \"original\": {\r\n \"phone_number\": \"5555551234\",\r\n \"complete_phone_number\": \"15555551234\",\r\n \"country_code\": \"1\"\r\n },\r\n \"cleansing\": {\r\n \"sms\": {\r\n \"phone_number\": \"5555551234\",\r\n \"min_length\": 10,\r\n \"cleansed_code\": 100,\r\n \"max_length\": 10,\r\n \"country_code\": \"1\"\r\n },\r\n \"call\": {\r\n \"phone_number\": \"5555551234\",\r\n \"min_length\": 10,\r\n \"cleansed_code\": 100,\r\n \"max_length\": 10,\r\n \"country_code\": \"1\"\r\n }\r\n }\r\n },\r\n \"location\": {\r\n \"county\": \"Los Angeles County\",\r\n \"city\": \"Los Angeles\",\r\n \"state\": \"CA\",\r\n \"zip\": \"90066\",\r\n \"country\": {\r\n \"iso3\": \"\",\r\n \"iso2\": \"US\",\r\n \"name\": \"United States\"\r\n },\r\n \"time_zone\": {\r\n \"utc_offset_min\": \"-8\",\r\n \"name\": \"America/Los_Angeles\",\r\n \"utc_offset_max\": \"-8\"\r\n },\r\n \"coordinates\": {\r\n \"latitude\": 33.99791,\r\n \"longitude\": -118.42302\r\n },\r\n \"metro_code\": \"4480\"\r\n }\r\n}"; + + Gson gson = new Gson(); + PhoneIdStandardResponse valid_response = gson.fromJson(valid_json, PhoneIdStandardResponse.class); + + assertTrue(valid_response.location.city.equals("Los Angeles")); + + } + + @Test + public void InvalidResponse() { + String invalid_auth_json = "{\r\n \"status\": {\r\n \"updated_on\": \"2012-10-03T14:51:28.709526Z\",\r\n \"code\": 501,\r\n \"description\": \"Not authorized\"\r\n },\r\n \"signature_string\": \"GET\\n\\nTue, 01 May 2012 10:09:16 -0700\\n\r\n x-ts-nonce:dff0f33c-7b52-4b6a-a556-23e32ca11fe1\\n\r\n /v1/phoneid/standard/15555551234\",\r\n \"errors\": [ {\r\n \"code\": -30006,\r\n \"description\": \"Invalid Signature.\"\r\n }]\r\n}"; + + Gson gson = new Gson(); + PhoneIdStandardResponse invalid_response = gson.fromJson(invalid_auth_json, PhoneIdStandardResponse.class); + + assertTrue(invalid_response.errors[0].description.equals("Invalid Signature.")); + + } + + @Test + public void StanardResponseTest() { + String valid_json = "{\"reference_id\":\"013CA90BA4E5030BE4D449F000000C80\",\"sub_resource\":\"standard\",\"errors\":[],\"phone_type\":{\"code\":2,\"description\":\"MOBILE\"},\"status\":{\"updated_on\":\"2013-02-05T06:29:38.311333Z\",\"code\":300,\"description\":\"Transaction successfully completed\"},\"numbering\":{\"original\":{\"phone_number\":\"8582259543\",\"complete_phone_number\":\"18582259543\",\"country_code\":\"1\"},\"cleansing\":{\"sms\":{\"phone_number\":\"8582259543\",\"country_code\":\"1\",\"min_length\":10,\"max_length\":10,\"cleansed_code\":100},\"call\":{\"phone_number\":\"8582259543\",\"country_code\":\"1\",\"min_length\":10,\"max_length\":10,\"cleansed_code\":100}}},\"location\":{\"county\":\"San Diego\",\"city\":\"San Diego\",\"state\":\"CA\",\"zip\":\"92126\",\"country\":{\"iso2\":\"US\",\"iso3\":\"USA\",\"name\":\"United States\"},\"time_zone\":{\"utc_offset_min\":\"-8\",\"name\":\"America/Los_Angeles\",\"utc_offset_max\":\"-8\"},\"coordinates\":{\"latitude\":32.91585,\"longitude\":-117.13308},\"metro_code\":\"7320\"}}"; + Gson gson = new Gson(); + PhoneIdStandardResponse valid_response = gson.fromJson(valid_json, PhoneIdStandardResponse.class); + assertTrue(valid_response.reference_id.equals("013CA90BA4E5030BE4D449F000000C80")); + assertTrue(valid_response.toString().equals(valid_json)); + + } + @Test + public void ContactResponseTest() { + String valid_json = "{\"reference_id\":\"013CA90BA5DF030BE4D449F000000C81\",\"sub_resource\":\"contact\",\"errors\":[{\"code\":-60001,\"description\":\"PhoneID Contact Data Not Found\"}],\"phone_type\":{\"code\":2,\"description\":\"MOBILE\"},\"status\":{\"updated_on\":\"2013-02-05T06:29:41.604126Z\",\"code\":301,\"description\":\"Transaction partially completed\"},\"numbering\":{\"original\":{\"phone_number\":\"8582259543\",\"complete_phone_number\":\"18582259543\",\"country_code\":\"1\"},\"cleansing\":{\"sms\":{\"phone_number\":\"8582259543\",\"country_code\":\"1\",\"min_length\":10,\"max_length\":10,\"cleansed_code\":100},\"call\":{\"phone_number\":\"8582259543\",\"country_code\":\"1\",\"min_length\":10,\"max_length\":10,\"cleansed_code\":100}}},\"location\":{\"county\":\"San Diego\",\"city\":\"San Diego\",\"state\":\"CA\",\"zip\":\"92126\",\"country\":{\"iso2\":\"US\",\"iso3\":\"USA\",\"name\":\"United States\"},\"time_zone\":{\"utc_offset_min\":\"-8\",\"name\":\"America/Los_Angeles\",\"utc_offset_max\":\"-8\"},\"coordinates\":{\"latitude\":32.91585,\"longitude\":-117.13308},\"metro_code\":\"7320\"}}"; + Gson gson = new Gson(); + PhoneIdContactResponse valid_response = gson.fromJson(valid_json, PhoneIdContactResponse.class); + assertTrue(valid_response.reference_id.equals("013CA90BA5DF030BE4D449F000000C81")); + assertTrue(valid_response.toString().equals(valid_json)); + } + @Test + public void ScoreResponseTest() { + String valid_json = "{\"reference_id\":\"013CA90BB661030BE4D449F000000C82\",\"sub_resource\":\"score\",\"errors\":[],\"status\":{\"updated_on\":\"2013-02-05T06:29:42.801614Z\",\"code\":300,\"description\":\"Transaction successfully completed\"},\"numbering\":{\"original\":{\"phone_number\":\"8582259543\",\"complete_phone_number\":\"18582259543\",\"country_code\":\"1\"},\"cleansing\":{\"sms\":{\"phone_number\":\"8582259543\",\"country_code\":\"1\",\"min_length\":10,\"max_length\":10,\"cleansed_code\":100},\"call\":{\"phone_number\":\"8582259543\",\"country_code\":\"1\",\"min_length\":10,\"max_length\":10,\"cleansed_code\":100}}},\"risk\":{\"level\":\"medium-low\",\"score\":300,\"recommendation\":\"allow\"}}"; + Gson gson = new Gson(); + PhoneIdScoreResponse valid_response = gson.fromJson(valid_json, PhoneIdScoreResponse.class); + assertTrue(valid_response.reference_id.equals("013CA90BB661030BE4D449F000000C82")); + assertTrue(valid_response.toString().equals(valid_json)); + } + @Test + public void LiveResponseTest() { + String valid_json = "{\"reference_id\":\"013CA90BB7CF030BE4D449F000000C83\",\"sub_resource\":\"live\",\"errors\":[],\"phone_type\":{\"code\":2,\"description\":\"MOBILE\"},\"status\":{\"updated_on\":\"2013-02-05T06:29:43.932432Z\",\"code\":300,\"description\":\"Transaction successfully completed\"},\"numbering\":{\"original\":{\"phone_number\":\"8582259543\",\"complete_phone_number\":\"18582259543\",\"country_code\":\"1\"},\"cleansing\":{\"sms\":{\"phone_number\":\"8582259543\",\"country_code\":\"1\",\"min_length\":10,\"max_length\":10,\"cleansed_code\":100},\"call\":{\"phone_number\":\"8582259543\",\"country_code\":\"1\",\"min_length\":10,\"max_length\":10,\"cleansed_code\":100}}},\"location\":{\"county\":\"San Diego\",\"city\":\"San Diego\",\"state\":\"CA\",\"zip\":\"92126\",\"country\":{\"iso2\":\"US\",\"iso3\":\"USA\",\"name\":\"United States\"},\"time_zone\":{\"utc_offset_min\":\"-8\",\"name\":\"America/Los_Angeles\",\"utc_offset_max\":\"-8\"},\"coordinates\":{\"latitude\":32.91585,\"longitude\":-117.13308},\"metro_code\":\"7320\"},\"live\":{\"subscriber_status\":\"ACTIVE\",\"device_status\":\"UNAVAILABLE\",\"roaming\":\"UNAVAILABLE\"}}"; + Gson gson = new Gson(); + PhoneIdLiveResponse valid_response = gson.fromJson(valid_json, PhoneIdLiveResponse.class); + assertTrue(valid_response.reference_id.equals("013CA90BB7CF030BE4D449F000000C83")); + assertTrue(valid_response.toString().equals(valid_json)); + } + +}