com.highdeal.pnr.hci
Class AccountOperation.AccountReference

java.lang.Object
  extended by com.highdeal.pnr.hci.AccountOperation.AccountReference
Enclosing class:
AccountOperation

public static class AccountOperation.AccountReference
extends java.lang.Object

This class represents a reference to an account impacted by a charging operation.

An account reference contains:


Constructor Summary
AccountOperation.AccountReference()
          Builds an uninitialized account reference.
AccountOperation.AccountReference(AccountOperation.AccountReferenceType type, java.lang.String id)
          Builds an account reference with a type and an identifier.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getId()
          Gets the identifier of the referenced account.
 AccountOperation.AccountReferenceType getType()
          Gets the type of the referenced account.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccountOperation.AccountReference

public AccountOperation.AccountReference()
Builds an uninitialized account reference.


AccountOperation.AccountReference

public AccountOperation.AccountReference(AccountOperation.AccountReferenceType type,
                                         java.lang.String id)
Builds an account reference with a type and an identifier.

Parameters:
type - The type of the referenced account
id - The identifier of the reference account
Method Detail

getType

public AccountOperation.AccountReferenceType getType()
Gets the type of the referenced account.

Returns:
The type of the referenced account

getId

public java.lang.String getId()
Gets the identifier of the referenced account.

Returns:
The identifier of the referenced account

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)