# com.beasys.commerce.ebusiness.customer
CustomerDelegatePk Class

public class CustomerDelegatePk
extends `ContactPk`

Hierarchy
  `Object`
  `SmartKey`
  `ContactPk`
  `CustomerDelegatePk`

All Implemented Interfaces
  `Comparable`, `Serializable`

## Field Summary

Fields from com.beasys.commerce.axiom.contact`.`ContactPk``
`identifier`

## Constructor Summary

CustomerDelegatePk()
CustomerDelegatePk(`String` identifier)

## Method Summary

`public int` | `compareTo`(`Object` o) Objects that compare will return 0
`public int` | `hashCode`() override the hashCode() method
`public `String`` | `toString`() Return identifier

Methods from `com.beasys.commerce.foundation.`SmartKey``
``compareTo`, `equals`, `toString``

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods from interface `java.lang.`Comparable``
`compareTo`

## Constructor Detail

### CustomerDelegatePk

    public CustomerDelegatePk()

### CustomerDelegatePk

    public CustomerDelegatePk(String identifier)

## Method Detail

### compareTo(Object) Method

    public int compareTo(Object o)

Objects that compare will return 0

Overrides
  ContactPk.compareTo(Object)

#### Parameters

o
  the Object to be compared.

#### Returns

a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.

### hashCode() Method

    public int hashCode()

override the hashCode() method

Overrides
  ContactPk.hashCode()

### toString() Method

    public String toString()

Return identifier

Overrides
  ContactPk.toString()

#### Returns

A `String` representation of the SmartKey.