Documentation ¶
Overview ¶
Package actor provides types that are useful for actors on an LPA.
Index ¶
- Variables
- type LpaLink
- type NoVoucherDecision
- func (i NoVoucherDecision) Empty() bool
- func (i NoVoucherDecision) IsApplyToCOP() bool
- func (i NoVoucherDecision) IsProveOwnID() bool
- func (i NoVoucherDecision) IsSelectNewVoucher() bool
- func (i NoVoucherDecision) IsWithdrawLPA() bool
- func (i NoVoucherDecision) MarshalText() ([]byte, error)
- func (i NoVoucherDecision) String() string
- func (i *NoVoucherDecision) UnmarshalText(text []byte) error
- type NoVoucherDecisionOptions
- type SameNameWarning
- type Type
- type Types
Constants ¶
This section is empty.
Variables ¶
View Source
var ActorTypes = Types{ None: TypeNone, Donor: TypeDonor, Attorney: TypeAttorney, ReplacementAttorney: TypeReplacementAttorney, TrustCorporation: TypeTrustCorporation, ReplacementTrustCorporation: TypeReplacementTrustCorporation, CertificateProvider: TypeCertificateProvider, PersonToNotify: TypePersonToNotify, AuthorisedSignatory: TypeAuthorisedSignatory, IndependentWitness: TypeIndependentWitness, Voucher: TypeVoucher, }
View Source
var NoVoucherDecisionValues = NoVoucherDecisionOptions{ ProveOwnID: ProveOwnID, SelectNewVoucher: SelectNewVoucher, WithdrawLPA: WithdrawLPA, ApplyToCOP: ApplyToCOP, }
Functions ¶
This section is empty.
Types ¶
type LpaLink ¶ added in v0.1339.0
type LpaLink struct { // PK is the same as the PK for the LPA PK dynamo.LpaKeyType // SK is the subKey for the current user SK dynamo.SubKeyType // DonorKey is the donorKey for the donor DonorKey dynamo.LpaOwnerKeyType // ActorType is the type for the current user ActorType Type // UpdatedAt is set to allow this data to be queried from SKUpdatedAtIndex UpdatedAt time.Time }
An LpaLink is used to join an actor to an LPA.
type NoVoucherDecision ¶ added in v0.1266.0
type NoVoucherDecision uint8
const ( ProveOwnID NoVoucherDecision = iota + 1 // prove-own-id SelectNewVoucher // select-new-voucher WithdrawLPA // withdraw-lpa ApplyToCOP // apply-to-cop )
func ParseNoVoucherDecision ¶ added in v0.1266.0
func ParseNoVoucherDecision(s string) (NoVoucherDecision, error)
func (NoVoucherDecision) Empty ¶ added in v0.1266.0
func (i NoVoucherDecision) Empty() bool
func (NoVoucherDecision) IsApplyToCOP ¶ added in v0.1266.0
func (i NoVoucherDecision) IsApplyToCOP() bool
func (NoVoucherDecision) IsProveOwnID ¶ added in v0.1266.0
func (i NoVoucherDecision) IsProveOwnID() bool
func (NoVoucherDecision) IsSelectNewVoucher ¶ added in v0.1266.0
func (i NoVoucherDecision) IsSelectNewVoucher() bool
func (NoVoucherDecision) IsWithdrawLPA ¶ added in v0.1266.0
func (i NoVoucherDecision) IsWithdrawLPA() bool
func (NoVoucherDecision) MarshalText ¶ added in v0.1266.0
func (i NoVoucherDecision) MarshalText() ([]byte, error)
func (NoVoucherDecision) String ¶ added in v0.1266.0
func (i NoVoucherDecision) String() string
func (*NoVoucherDecision) UnmarshalText ¶ added in v0.1266.0
func (i *NoVoucherDecision) UnmarshalText(text []byte) error
type NoVoucherDecisionOptions ¶ added in v0.1266.0
type NoVoucherDecisionOptions struct { ProveOwnID NoVoucherDecision SelectNewVoucher NoVoucherDecision WithdrawLPA NoVoucherDecision ApplyToCOP NoVoucherDecision }
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
Source Files ¶
Click to show internal directories.
Click to hide internal directories.