com.sap.cloud.account

## Interface Account

-     public interface Account

  `Account` interface provides information about particular account.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,String>` | `getAttributes()`
    `Map<String,String>` | `getAttributes(String attributeName)` Use `getAttributes()` to get all account attributes and this method to get information only about attributes with attributeName.
    `String` | `getCustomerId()`
    `String` | `getId()`
    `String` | `getName()`

- - ### Method Detail

    - #### getId

          String getId()

      Returns:
        the unique account id.

    - #### getName

          String getName()

      Returns:
        the account name. The returned value could be null.

    - #### getCustomerId

          String getCustomerId()

      Returns:
        the unique customer id which represents the Customer organization that owns the account; a customer might have multiple accounts and all of them are united under a unique customer id. The returned value could be null.

    - #### getAttributes

          Map<String,String> getAttributes()

      Returns:
        all account attributes.

    - #### getAttributes

          Map<String,String> getAttributes(String attributeName)

      Use `getAttributes()` to get all account attributes and this method to get information only about attributes with attributeName.
      Parameters:
        `attributeName` -
      Returns:
        map with key `attributeName` and values of the account attribute specified by `attributeName`.

Copyright © 2020 SAP. All Rights Reserved.