public static class AccountOperation.AccountReference
extends java.lang.Object
An account reference contains:
type of the account impacted: prepaid (managed in the SAP CC system, external (postpaid aacount managed in a third-party accounting system)| Constructor and Description |
|---|
AccountReference()
Builds an uninitialized account reference.
|
AccountReference(AccountOperation.AccountReferenceType type,
java.lang.String id)
Builds an account reference with a
type and an identifier. |
| Modifier and Type | Method and Description |
|---|---|
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() |
public AccountReference()
public AccountReference(AccountOperation.AccountReferenceType type, java.lang.String id)
type and an identifier.type - The type of the referenced accountid - The identifier of the reference accountpublic AccountOperation.AccountReferenceType getType()
type of the referenced account.type of the referenced accountpublic java.lang.String getId()
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object