Documentation ¶
Overview ¶
Package actor provides types that are useful for actors on an LPA.
Index ¶
- Variables
- type SameNameWarning
- type Type
- func (i Type) IsAttorney() bool
- func (i Type) IsAuthorisedSignatory() bool
- func (i Type) IsCertificateProvider() bool
- func (i Type) IsDonor() bool
- func (i Type) IsIndependentWitness() bool
- func (i Type) IsNone() bool
- func (i Type) IsPersonToNotify() bool
- func (i Type) IsReplacementAttorney() bool
- func (i Type) IsReplacementTrustCorporation() bool
- func (i Type) IsTrustCorporation() bool
- func (i Type) IsVoucher() bool
- func (i Type) MarshalText() ([]byte, error)
- func (i Type) String() string
- func (i *Type) UnmarshalText(text []byte) error
- type TypeOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var TypeValues = TypeOptions{ None: TypeNone, Donor: TypeDonor, Attorney: TypeAttorney, ReplacementAttorney: TypeReplacementAttorney, CertificateProvider: TypeCertificateProvider, PersonToNotify: TypePersonToNotify, AuthorisedSignatory: TypeAuthorisedSignatory, IndependentWitness: TypeIndependentWitness, TrustCorporation: TypeTrustCorporation, ReplacementTrustCorporation: TypeReplacementTrustCorporation, Voucher: TypeVoucher, }
Functions ¶
This section is empty.
Types ¶
type SameNameWarning ¶
type SameNameWarning struct {
// contains filtered or unexported fields
}
func NewSameNameWarning ¶
func NewSameNameWarning(actor, matches Type, firstNames, lastName string) *SameNameWarning
func (*SameNameWarning) String ¶
func (w *SameNameWarning) String() string
type Type ¶
type Type uint8
const ( TypeNone Type = iota TypeDonor // donor TypeAttorney // attorney TypeReplacementAttorney // replacementAttorney TypeCertificateProvider // certificateProvider TypePersonToNotify // personToNotify TypeAuthorisedSignatory // signatory TypeIndependentWitness // independentWitness TypeTrustCorporation // trustCorporation TypeReplacementTrustCorporation // replacementTrustCorporation TypeVoucher // voucher )
func (Type) IsAttorney ¶ added in v0.1368.0
func (Type) IsAuthorisedSignatory ¶ added in v0.1368.0
func (Type) IsCertificateProvider ¶ added in v0.1368.0
func (Type) IsIndependentWitness ¶ added in v0.1368.0
func (Type) IsPersonToNotify ¶ added in v0.1368.0
func (Type) IsReplacementAttorney ¶ added in v0.1368.0
func (Type) IsReplacementTrustCorporation ¶ added in v0.1368.0
func (Type) IsTrustCorporation ¶ added in v0.1368.0
func (Type) MarshalText ¶ added in v0.1368.0
func (*Type) UnmarshalText ¶ added in v0.1368.0
Click to show internal directories.
Click to hide internal directories.