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

# Class EntityAttrEmail.EmailContact

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

Enclosing class:
  `EntityAttrEmail`

public static class EntityAttrEmail.EmailContact extends Object
Контакт для EntityAttrEmail. Содержит email - `address` и имя - `name`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `EmailContact()`
  `EmailContact(String name, String address)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getAddress()`
  Получение email.
  `String`
  `getName()`
  Получение имени контакта.
  `void`
  `setAddress(String address)`
  Установка email.
  `void`
  `setName(String name)`
  Установка имени контакта.
  `String`
  `toString()`

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

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

- ## Constructor Details

  - ### EmailContact

    public EmailContact()

  - ### EmailContact

    public EmailContact(String name, String address)

- ## Method Details

  - ### getName

    public String getName()
    Получение имени контакта.
    Returns:

  - ### setName

    public void setName(String name)
    Установка имени контакта.
    Parameters:
      `name` -

  - ### getAddress

    public String getAddress()
    Получение email.
    Returns:

  - ### setAddress

    public void setAddress(String address)
    Установка email.
    Parameters:
      `address` -

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`