voucherdata

package
v0.1504.0-MLPAB2456con... Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

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.VoucherKeyType
	// LpaID is for the LPA the voucher is provided a vouch for
	LpaID string
	// UpdatedAt is the time that this data was last updated
	UpdatedAt time.Time
	// Tasks shows the state of the actions the voucher will do
	Tasks Tasks
	// Email is the email address of the voucher
	Email string
	// FirstNames is the first names confirmed by the voucher.
	FirstNames string
	// LastName is the last name confirmed by the voucher.
	LastName string
	// DonorDetailsMatch records whether the voucher confirms that the details
	// presented to them match the donor they expected to vouch for.
	DonorDetailsMatch form.YesNo
	// IdentityUserData records the results of the identity check taken by the
	// voucher.
	IdentityUserData identity.UserData
	// SignedAt is the time the declaration was signed.
	SignedAt time.Time
}

Provided contains the information a voucher has given

func (*Provided) FullName added in v0.1377.0

func (p *Provided) FullName() string

func (*Provided) IdentityConfirmed added in v0.1375.0

func (p *Provided) IdentityConfirmed() bool

func (*Provided) NameMatches added in v0.1382.0

func (p *Provided) NameMatches(lpa *lpadata.Lpa) actor.Type

type Tasks

type Tasks struct {
	ConfirmYourName     task.State
	VerifyDonorDetails  task.State
	ConfirmYourIdentity task.State
	SignTheDeclaration  task.State
}

Jump to

Keyboard shortcuts

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