Documentation ¶
Overview ¶
Code generated by "enumerator -type NoVoucherDecision -linecomment -empty"; DO NOT EDIT.
Code generated by "enumerator -type Permission -linecomment -trimprefix"; DO NOT EDIT.
Code generated by "enumerator -type Status -linecomment -trimprefix"; DO NOT EDIT.
Index ¶
- Constants
- Variables
- type Attorney
- type AttorneyDecisions
- type Attorneys
- type AttorneysAct
- type AuthorisedSignatory
- type CanBeUsedWhen
- type CertificateProvider
- type CertificateProviderRelationship
- type CertificateProviderRelationshipLength
- type Channel
- type Correspondent
- type CorrespondentShare
- type Donor
- type DonorProvidedDetails
- type DonorTasks
- type IdentityTask
- type IndependentWitness
- type LifeSustainingTreatment
- type Limiter
- type LpaType
- type Member
- type MemberInvite
- 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 Organisation
- type Payment
- type PaymentTask
- type PeopleToNotify
- type Permission
- type PermissionOptions
- type PersonToNotify
- type ReplacementAttorneysStepIn
- type SameNameWarning
- type ShareCodeData
- type Status
- type StatusOptions
- type TaskState
- type TrustCorporation
- type Type
- type Types
- type Under18ActorDetails
- type Voucher
- type WitnessCode
- type WitnessCodes
- type YesNoMaybe
Constants ¶
View Source
const ( Jointly = donordata.Jointly JointlyAndSeverally = donordata.JointlyAndSeverally JointlyForSomeSeverallyForOthers = donordata.JointlyForSomeSeverallyForOthers )
View Source
const ( CanBeUsedWhenUnknown = donordata.CanBeUsedWhenUnknown CanBeUsedWhenCapacityLost = donordata.CanBeUsedWhenCapacityLost CanBeUsedWhenHasCapacity = donordata.CanBeUsedWhenHasCapacity )
View Source
const ( Personally = donordata.Personally Professionally = donordata.Professionally )
View Source
const ( RelationshipLengthUnknown = donordata.RelationshipLengthUnknown LessThanTwoYears = donordata.LessThanTwoYears GreaterThanEqualToTwoYears = donordata.GreaterThanEqualToTwoYears )
View Source
const ( ChannelPaper = donordata.ChannelPaper ChannelOnline = donordata.ChannelOnline )
View Source
const ()
View Source
const ( LifeSustainingTreatmentOptionA = donordata.LifeSustainingTreatmentOptionA LifeSustainingTreatmentOptionB = donordata.LifeSustainingTreatmentOptionB )
View Source
const ( LpaTypePersonalWelfare = donordata.LpaTypePersonalWelfare LpaTypePropertyAndAffairs = donordata.LpaTypePropertyAndAffairs )
View Source
const ( ReplacementAttorneysStepInWhenAllCanNoLongerAct = donordata.ReplacementAttorneysStepInWhenAllCanNoLongerAct ReplacementAttorneysStepInWhenOneCanNoLongerAct = donordata.ReplacementAttorneysStepInWhenOneCanNoLongerAct ReplacementAttorneysStepInAnotherWay = donordata.ReplacementAttorneysStepInAnotherWay )
View Source
const ( TaskNotStarted = task.StateNotStarted TaskInProgress = task.StateInProgress TaskCompleted = task.StateCompleted )
View Source
const ( PaymentTaskNotStarted = task.PaymentStateNotStarted PaymentTaskInProgress = task.PaymentStateInProgress PaymentTaskPending = task.PaymentStatePending PaymentTaskApproved = task.PaymentStateApproved PaymentTaskDenied = task.PaymentStateDenied PaymentTaskMoreEvidenceRequired = task.PaymentStateMoreEvidenceRequired PaymentTaskCompleted = task.PaymentStateCompleted )
View Source
const ( IdentityTaskNotStarted = task.IdentityStateNotStarted IdentityTaskInProgress = task.IdentityStateInProgress IdentityTaskPending = task.IdentityStatePending IdentityTaskProblem = task.IdentityStateProblem IdentityTaskCompleted = task.IdentityStateCompleted )
View Source
const ( TypeNone = temporary.ActorTypeNone TypeDonor = temporary.ActorTypeDonor TypeAttorney = temporary.ActorTypeAttorney TypeReplacementAttorney = temporary.ActorTypeReplacementAttorney TypeCertificateProvider = temporary.ActorTypeCertificateProvider TypePersonToNotify = temporary.ActorTypePersonToNotify TypeAuthorisedSignatory = temporary.ActorTypeAuthorisedSignatory TypeIndependentWitness = temporary.ActorTypeIndependentWitness TypeTrustCorporation = temporary.ActorTypeTrustCorporation TypeReplacementTrustCorporation = temporary.ActorTypeReplacementTrustCorporation TypeVoucher = temporary.ActorTypeVoucher )
Variables ¶
View Source
var ActorTypes = temporary.ActorTypes
View Source
var MakeAttorneyDecisions = donordata.MakeAttorneyDecisions
View Source
var NewLimiter = donordata.NewLimiter
View Source
var NoVoucherDecisionValues = NoVoucherDecisionOptions{ ProveOwnID: ProveOwnID, SelectNewVoucher: SelectNewVoucher, WithdrawLPA: WithdrawLPA, ApplyToCOP: ApplyToCOP, }
View Source
var PermissionValues = PermissionOptions{ None: PermissionNone, Admin: PermissionAdmin, }
View Source
var StatusValues = StatusOptions{ Active: StatusActive, Suspended: StatusSuspended, }
Functions ¶
This section is empty.
Types ¶
type AttorneyDecisions ¶
type AttorneyDecisions = donordata.AttorneyDecisions
type AttorneysAct ¶
type AttorneysAct = donordata.AttorneysAct
type AuthorisedSignatory ¶
type AuthorisedSignatory = donordata.AuthorisedSignatory
type CanBeUsedWhen ¶ added in v0.836.0
type CanBeUsedWhen = donordata.CanBeUsedWhen
type CertificateProvider ¶
type CertificateProvider = donordata.CertificateProvider
type CertificateProviderRelationship ¶
type CertificateProviderRelationship = donordata.CertificateProviderRelationship
type CertificateProviderRelationshipLength ¶ added in v0.819.0
type CertificateProviderRelationshipLength = donordata.CertificateProviderRelationshipLength
type Correspondent ¶ added in v0.1105.0
type Correspondent = donordata.Correspondent
type CorrespondentShare ¶ added in v0.1105.0
type CorrespondentShare = donordata.CorrespondentShare
type DonorProvidedDetails ¶ added in v0.837.0
type DonorProvidedDetails = donordata.DonorProvidedDetails
type DonorTasks ¶ added in v0.836.0
type DonorTasks = donordata.DonorTasks
type IdentityTask ¶ added in v0.1264.0
type IdentityTask = task.IdentityState
type IndependentWitness ¶ added in v0.686.0
type IndependentWitness = donordata.IndependentWitness
type LifeSustainingTreatment ¶ added in v0.836.0
type LifeSustainingTreatment = donordata.LifeSustainingTreatment
type Member ¶ added in v0.946.0
type Member struct { PK dynamo.OrganisationKeyType SK dynamo.MemberKeyType // CreatedAt is when the Member was created CreatedAt time.Time // UpdatedAt is when the Member was last updated UpdatedAt time.Time // ID is a unique identifier for the Member ID string // OrganisationID identifies the organisation the member belongs to OrganisationID string Email string FirstNames string LastName string // Permission is the type of permissions assigned to the member to set available actions in an Organisation Permission Permission // Status controls access to the Organisation Status Status // LastLoggedInAt is when the Member last logged in to the service LastLoggedInAt time.Time }
A Member is the association of a OneLogin user with an Organisation.
type MemberInvite ¶ added in v0.949.0
type MemberInvite struct { PK dynamo.OrganisationKeyType SK dynamo.MemberInviteKeyType // CreatedAt is when the MemberInvite was created CreatedAt time.Time // UpdatedAt is when the MemberInvite was last updated UpdatedAt time.Time // OrganisationID identifies the organisation the invite is for OrganisationID string // OrganisationName is the name of the organisation the invite is for OrganisationName string // Email is the address the new Member must sign in as for the invite Email string FirstNames string LastName string // Permission is the type of permissions assigned to the member to set available actions in an Organisation Permission Permission // ReferenceNumber is a unique code used to invite a Member to and Organisation ReferenceNumber string }
A MemberInvite is created to allow a new Member to join an Organisation
func (MemberInvite) FullName ¶ added in v0.1005.0
func (i MemberInvite) FullName() string
func (MemberInvite) HasExpired ¶ added in v0.949.0
func (i MemberInvite) HasExpired() bool
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 Organisation ¶ added in v0.946.0
type Organisation struct {
PK, SK dynamo.OrganisationKeyType
// CreatedAt is when the Organisation was created
CreatedAt time.Time
// UpdatedAt is when the Organisation was last updated
UpdatedAt time.Time
// DeletedAt is when the Organisation was (soft) deleted
DeletedAt time.Time
// ID is a unique identifier for the Organisation
ID string
// Name of the Organisation, this is unique across all Organisations
Name string
}
An Organisation contains users associated with a set of permissions that work on the same set of LPAs.
type PaymentTask ¶
type PaymentTask = task.PaymentState
type PeopleToNotify ¶
type PeopleToNotify = donordata.PeopleToNotify
type Permission ¶ added in v0.1002.0
type Permission uint8
const ( PermissionNone Permission = iota // none PermissionAdmin // admin )
func ParsePermission ¶ added in v0.1002.0
func ParsePermission(s string) (Permission, error)
func (Permission) IsAdmin ¶ added in v0.1002.0
func (i Permission) IsAdmin() bool
func (Permission) IsNone ¶ added in v0.1002.0
func (i Permission) IsNone() bool
func (Permission) MarshalText ¶ added in v0.1002.0
func (i Permission) MarshalText() ([]byte, error)
func (Permission) String ¶ added in v0.1002.0
func (i Permission) String() string
func (*Permission) UnmarshalText ¶ added in v0.1095.0
func (i *Permission) UnmarshalText(text []byte) error
type PermissionOptions ¶ added in v0.1002.0
type PermissionOptions struct { None Permission Admin Permission }
type PersonToNotify ¶
type PersonToNotify = donordata.PersonToNotify
type ReplacementAttorneysStepIn ¶ added in v0.836.0
type ReplacementAttorneysStepIn = donordata.ReplacementAttorneysStepIn
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
type ShareCodeData ¶
type ShareCodeData = sharecode.ShareCodeData
type Status ¶ added in v0.1040.0
type Status uint8
func ParseStatus ¶ added in v0.1040.0
func (Status) IsSuspended ¶ added in v0.1040.0
func (Status) MarshalText ¶ added in v0.1040.0
func (*Status) UnmarshalText ¶ added in v0.1095.0
type StatusOptions ¶ added in v0.1040.0
type TrustCorporation ¶
type TrustCorporation = donordata.TrustCorporation
type Under18ActorDetails ¶ added in v0.910.0
type Under18ActorDetails = donordata.Under18ActorDetails
type WitnessCode ¶ added in v0.836.0
type WitnessCode = donordata.WitnessCode
type WitnessCodes ¶ added in v0.836.0
type WitnessCodes = donordata.WitnessCodes
type YesNoMaybe ¶ added in v0.681.0
type YesNoMaybe = donordata.YesNoMaybe
Source Files ¶
- attorney.go
- attorney_decisions.go
- can_be_used_when.go
- certificate_provider.go
- channel.go
- correspondent.go
- donor.go
- donor_provided.go
- enum_novoucherdecision.go
- enum_permission.go
- enum_status.go
- life_sustaining_treatment.go
- limiter.go
- lpa_type.go
- no_voucher_decision.go
- organisation.go
- payment.go
- permission.go
- person_to_notify.go
- replacement_attorneys_step_in.go
- same_name_warning.go
- share_code_data.go
- status.go
- task_state.go
- type.go
- voucher.go
- witness_codes.go
- yes_no_maybe.go
Click to show internal directories.
Click to hide internal directories.