Class AddressSummary

    • Method Detail

      • city

        public final String city()

        Specifies the end Customer's city associated with the Opportunity.

        Returns:
        Specifies the end Customer's city associated with the Opportunity.
      • countryCode

        public final CountryCode countryCode()

        Specifies the end Customer's country associated with the Opportunity.

        If the service returns an enum value that is not available in the current SDK version, countryCode will return CountryCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from countryCodeAsString().

        Returns:
        Specifies the end Customer's country associated with the Opportunity.
        See Also:
        CountryCode
      • countryCodeAsString

        public final String countryCodeAsString()

        Specifies the end Customer's country associated with the Opportunity.

        If the service returns an enum value that is not available in the current SDK version, countryCode will return CountryCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from countryCodeAsString().

        Returns:
        Specifies the end Customer's country associated with the Opportunity.
        See Also:
        CountryCode
      • postalCode

        public final String postalCode()

        Specifies the end Customer's postal code associated with the Opportunity.

        Returns:
        Specifies the end Customer's postal code associated with the Opportunity.
      • stateOrRegion

        public final String stateOrRegion()

        Specifies the end Customer's state or region associated with the Opportunity.

        Valid values: Alabama | Alaska | American Samoa | Arizona | Arkansas | California | Colorado | Connecticut | Delaware | Dist. of Columbia | Federated States of Micronesia | Florida | Georgia | Guam | Hawaii | Idaho | Illinois | Indiana | Iowa | Kansas | Kentucky | Louisiana | Maine | Marshall Islands | Maryland | Massachusetts | Michigan | Minnesota | Mississippi | Missouri | Montana | Nebraska | Nevada | New Hampshire | New Jersey | New Mexico | New York | North Carolina | North Dakota | Northern Mariana Islands | Ohio | Oklahoma | Oregon | Palau | Pennsylvania | Puerto Rico | Rhode Island | South Carolina | South Dakota | Tennessee | Texas | Utah | Vermont | Virginia | Virgin Islands | Washington | West Virginia | Wisconsin | Wyoming | APO/AE | AFO/FPO | FPO, AP

        Returns:
        Specifies the end Customer's state or region associated with the Opportunity .

        Valid values: Alabama | Alaska | American Samoa | Arizona | Arkansas | California | Colorado | Connecticut | Delaware | Dist. of Columbia | Federated States of Micronesia | Florida | Georgia | Guam | Hawaii | Idaho | Illinois | Indiana | Iowa | Kansas | Kentucky | Louisiana | Maine | Marshall Islands | Maryland | Massachusetts | Michigan | Minnesota | Mississippi | Missouri | Montana | Nebraska | Nevada | New Hampshire | New Jersey | New Mexico | New York | North Carolina | North Dakota | Northern Mariana Islands | Ohio | Oklahoma | Oregon | Palau | Pennsylvania | Puerto Rico | Rhode Island | South Carolina | South Dakota | Tennessee | Texas | Utah | Vermont | Virginia | Virgin Islands | Washington | West Virginia | Wisconsin | Wyoming | APO/AE | AFO/FPO | FPO, AP

      • 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)