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
Version int
// 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
// PhoneSet is set to true when Phone is first set, then we can determine if
// the attorney has chosen to remove the number a paper donor provided.
PhoneSet bool
// 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
// CompanyNumber is the companies house number of the trust corporation
CompanyNumber string
}
Provided contains details about an attorney or replacement attorney, provided by the attorney or replacement attorney
Click to show internal directories.
Click to hide internal directories.