Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamoClient ¶
type DynamoClient interface { One(ctx context.Context, pk dynamo.PK, sk dynamo.SK, v interface{}) error OneByPK(ctx context.Context, pk dynamo.PK, v interface{}) error OneByPartialSK(ctx context.Context, pk dynamo.PK, partialSK dynamo.SK, v interface{}) error AllByPartialSK(ctx context.Context, pk dynamo.PK, partialSK dynamo.SK, v interface{}) error LatestForActor(ctx context.Context, sk dynamo.SK, v interface{}) error AllBySK(ctx context.Context, sk dynamo.SK, v interface{}) error AllByKeys(ctx context.Context, keys []dynamo.Keys) ([]map[string]dynamodbtypes.AttributeValue, error) AllKeysByPK(ctx context.Context, pk dynamo.PK) ([]dynamo.Keys, error) Put(ctx context.Context, v interface{}) error Create(ctx context.Context, v interface{}) error DeleteKeys(ctx context.Context, keys []dynamo.Keys) error DeleteOne(ctx context.Context, pk dynamo.PK, sk dynamo.SK) error Update(ctx context.Context, pk dynamo.PK, sk dynamo.SK, values map[string]dynamodbtypes.AttributeValue, expression string) error BatchPut(ctx context.Context, items []interface{}) error OneBySK(ctx context.Context, sk dynamo.SK, v interface{}) error OneByUID(ctx context.Context, uid string, v interface{}) error WriteTransaction(ctx context.Context, transaction *dynamo.Transaction) error }
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 // Mobile number of the attorney or replacement attorney Mobile 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
Click to show internal directories.
Click to hide internal directories.