party

package
v0.0.0-...-78e7222 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2019 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidType

func IsValidType(partyType Type) bool

Types

type Detail

type Detail struct {
	PartyType Type          `json:"partyType"`
	PartyId   id.Identifier `json:"partyId"`
}

type Details

type Details struct {
	Detail
	ParentDetail
}

type ParentDetail

type ParentDetail struct {
	ParentPartyType Type          `json:"parentPartyType"`
	ParentId        id.Identifier `json:"parentId"`
}

type Party

type Party interface {
	Details() Details
}

Party is a type which returns party details

type Type

type Type string
const Client Type = "Client"
const Company Type = "Company"
const Individual Type = "Individual"
const System Type = "System"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL