Class ContactInfo

java.lang.Object
com.eqixiac.equinix.customerportal.model.json.creators.ContactInfo

public class ContactInfo extends Object
A contact on a smart hands order. Ordering and notification contacts are always registered Equinix customer-portal users referenced by userName; when a userName is supplied all other attributes apart from contactType are ignored. Technical contacts are specified inline with name and phone details.
  • Method Details

    • registered

      public static ContactInfo registered(SmartHandsContactType contactType, String userName)
      Builds a registered-user contact (ORDERING or NOTIFICATION), referenced by user name.
      Parameters:
      contactType - the contact type
      userName - the registered customer-portal user name
      Returns:
      the contact
    • technical

      public static ContactInfo technical(String name, String workPhone, PhonePreferenceToCall workPhonePrefToCall)
      Builds a technical contact specified inline with name and work phone details.
      Parameters:
      name - full name of the contact
      workPhone - primary phone of the contact
      workPhonePrefToCall - preferred time window to call
      Returns:
      the contact
    • email

      public ContactInfo email(String email)
    • workPhoneCountryCode

      public ContactInfo workPhoneCountryCode(String workPhoneCountryCode)
    • mobilePhone

      public ContactInfo mobilePhone(String mobilePhoneCountryCode, String mobilePhone, PhonePreferenceToCall mobilePhonePrefToCall)
    • workPhoneTimeZone

      public ContactInfo workPhoneTimeZone(String workPhoneTimeZone)
    • mobilePhoneTimeZone

      public ContactInfo mobilePhoneTimeZone(String mobilePhoneTimeZone)