Party

world.party.Party
See theParty companion object
final case class Party

Whoever a document is addressed to - a person, an organisation, or a person at one - with their names, telephone numbers, addresses, email addresses, and registrations on one value. A registration is attached through the Scheme that issued it and read back the same way, so an invoice can print the authority's own label for it without the application carrying a parallel map of its own. Instances via Party.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def address(v: Address): Party
Extension method from Party
def email(v: Email): Party
Extension method from Party
def identifier(s: Scheme[_])(v: Id[s.type]): Party
Extension method from Party

Attaches a registration under the scheme that issued it, stored in that scheme's canonical form.

Attaches a registration under the scheme that issued it, stored in that scheme's canonical form.

Attributes

def identifier(s: Scheme[_]): Option[Id[s.type]]
Extension method from Party

The registration this party holds under a scheme, typed to it. Two schemes can print the same label, so the scheme itself is what selects.

The registration this party holds under a scheme, typed to it. Two schemes can print the same label, so the scheme itself is what selects.

Attributes

def name(v: Name): Party
Extension method from Party

The person to contact at an organisation - the attention line on an invoice.

The person to contact at an organisation - the attention line on an invoice.

Attributes

Extension method from Party

The organisation a person belongs to - the company line on their card.

The organisation a person belongs to - the company line on their card.

Attributes

def phone(v: Phone): Party
Extension method from Party

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product