public static class AccountOperation.AccountReference extends 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,
String id)
Builds an account reference with a
type and an identifier. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getId()
Gets the identifier of the referenced account.
|
AccountOperation.AccountReferenceType |
getType()
Gets the
type of the referenced account. |
int |
hashCode() |
String |
toString() |
public AccountReference()
public AccountReference(AccountOperation.AccountReferenceType type, 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 String getId()