Class Contact

    • Method Detail

      • businessTitle

        public final String businessTitle()

        The partner contact's title (job title or role) associated with the Opportunity. BusinessTitle supports either PartnerAccountManager or OpportunityOwner.

        Returns:
        The partner contact's title (job title or role) associated with the Opportunity. BusinessTitle supports either PartnerAccountManager or OpportunityOwner.
      • email

        public final String email()

        The contact's email address associated with the Opportunity.

        Returns:
        The contact's email address associated with the Opportunity.
      • firstName

        public final String firstName()

        The contact's first name associated with the Opportunity.

        Returns:
        The contact's first name associated with the Opportunity.
      • lastName

        public final String lastName()

        The contact's last name associated with the Opportunity.

        Returns:
        The contact's last name associated with the Opportunity.
      • phone

        public final String phone()

        The contact's phone number associated with the Opportunity.

        Returns:
        The contact's phone number associated with the Opportunity.
      • serializableBuilderClass

        public static Class<? extends Contact.Builder> serializableBuilderClass()
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)