Package ru.bgcrm.plugin.bgbilling.proto.model.entity

# Class EntityAttrEmail

java.lang.Object
ru.bgcrm.plugin.bgbilling.proto.model.entity.EntityAttr
ru.bgcrm.plugin.bgbilling.proto.model.entity.EntityAttrEmail

public class EntityAttrEmail extends EntityAttr

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `EntityAttrEmail.EmailContact`
  Контакт для EntityAttrEmail.

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `EntityAttrEmail()`
  ``
  `EntityAttrEmail(int entityId, int entitySpecAttrId)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `EntityAttrEmail`
  `addContact(String name, String address)`
  Добавление контакта в список
  `List<EntityAttrEmail.EmailContact>`
  `getContactList()`
  Получение списка контактов (email и имя).

  ### Methods inherited from class ru.bgcrm.plugin.bgbilling.proto.model.entity.EntityAttr

  `getEntityId, getEntitySpecAttrId, setEntityId, setEntitySpecAttrId`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### EntityAttrEmail

    protected EntityAttrEmail()

  - ### EntityAttrEmail

    public EntityAttrEmail(int entityId, int entitySpecAttrId)

- ## Method Details

  - ### addContact

    public EntityAttrEmail addContact(String name, String address)
    Добавление контакта в список
    Parameters:
      `name` - имя контакта.
      `address` - email-адрес.
    Returns:

  - ### getContactList

    public List<EntityAttrEmail.EmailContact> getContactList()
    Получение списка контактов (email и имя).
    Returns: