attorneydata

package
v0.1566.0-MLPAB2548con... Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package attorneydata provides types that describe the data entered by an attorney or trust corporation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provided

type Provided struct {
	PK dynamo.LpaKeyType
	SK dynamo.AttorneyKeyType
	// The identifier of the attorney or replacement attorney being edited
	UID actoruid.UID
	// The identifier of the LPA the attorney or replacement attorney is named in
	LpaID string
	// Tracking when AttorneyProvidedDetails is updated
	UpdatedAt time.Time
	// IsReplacement is true when the details relate to an attorney appointed as a
	// replacement
	IsReplacement bool
	// IsTrustCorporation is true when the details relate to a trust corporation
	IsTrustCorporation bool
	// Phone number of the attorney or replacement attorney (mobile or landline)
	Phone string
	// SignedAt is when the attorney or replacement attorney submitted their
	// signature
	SignedAt time.Time
	// WouldLikeSecondSignatory captures whether two signatories will be used for
	// a trust corporation
	WouldLikeSecondSignatory form.YesNo
	// AuthorisedSignatories captures the details of the person who signed on
	// behalf of a trust corporation, if one is acting as an attorney
	AuthorisedSignatories [2]TrustCorporationSignatory
	// Used to show attorney task list
	Tasks Tasks
	// ContactLanguagePreference is the language the attorney or replacement
	// attorney prefers to receive notifications in
	ContactLanguagePreference localize.Lang
	// Email is the email address returned from OneLogin when the attorney logged in
	Email string
}

Provided contains details about an attorney or replacement attorney, provided by the attorney or replacement attorney

func (Provided) Signed

func (d Provided) Signed() bool

Signed checks whether the attorney has confirmed and if that confirmation is still valid by checking that it was made for the donor's current signature.

type Tasks

type Tasks struct {
	ConfirmYourDetails task.State
	ReadTheLpa         task.State
	SignTheLpa         task.State
	SignTheLpaSecond   task.State
}

type TrustCorporationSignatory

type TrustCorporationSignatory struct {
	FirstNames        string
	LastName          string
	ProfessionalTitle string
	SignedAt          time.Time
}

TrustCorporationSignatory contains the details of a person who signed the LPA on behalf of a trust corporation

Jump to

Keyboard shortcuts

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