Documentation ¶
Overview ¶
Package notify provides a client for GOV.UK's Notify service.
Index ¶
- type AttorneyOptedOutEmail
- type CertificateProviderActingDigitallyHasConfirmedPersonalDetailsLPADetailsChangedPromptSMS
- type CertificateProviderActingDigitallyHasNotConfirmedPersonalDetailsLPADetailsChangedPromptSMS
- type CertificateProviderActingOnPaperDetailsChangedSMS
- type CertificateProviderActingOnPaperMeetingPromptSMS
- type CertificateProviderCertificateProvidedEmail
- type CertificateProviderFailedIdentityCheckEmail
- type CertificateProviderInviteEmail
- type CertificateProviderOptedOutPostWitnessingEmail
- type CertificateProviderOptedOutPreWitnessingEmail
- type CertificateProviderProvideCertificatePromptEmail
- type Client
- func (c *Client) EmailGreeting(lpa *lpadata.Lpa) string
- func (c *Client) SendActorEmail(ctx context.Context, to ToEmail, lpaUID string, email Email) error
- func (c *Client) SendActorSMS(ctx context.Context, to ToMobile, lpaUID string, sms SMS) error
- func (c *Client) SendEmail(ctx context.Context, to ToEmail, email Email) error
- type Doer
- type DonorAccessEmail
- type DonorIdentityCheckExpiredEmail
- type Email
- type EventClient
- type InitialOriginalAttorneyEmail
- type InitialReplacementAttorneyEmail
- type Logger
- type OrganisationMemberInviteEmail
- type PaymentConfirmationEmail
- type SMS
- type Sms
- type To
- func ToCertificateProvider(certificateProvider donordata.CertificateProvider) To
- func ToDonor(donor *donordata.Provided) To
- func ToLpaAttorney(attorney lpadata.Attorney) To
- func ToLpaCertificateProvider(provided *certificateproviderdata.Provided, lpa *lpadata.Lpa) To
- func ToLpaDonor(lpa *lpadata.Lpa) To
- func ToLpaTrustCorporation(trustCorporation lpadata.TrustCorporation) To
- func ToProvidedCertificateProvider(provided *certificateproviderdata.Provided, ...) To
- type ToEmail
- type ToMobile
- type VoucherHasConfirmedDonorIdentityEmail
- type VoucherHasConfirmedDonorIdentityOnSignedLpaEmail
- type VoucherHasConfirmedDonorIdentityOnSignedLpaSMS
- type VoucherHasConfirmedDonorIdentitySMS
- type VoucherInviteEmail
- type VouchingFailedAttemptEmail
- type VouchingShareCodeEmail
- type VouchingShareCodeSMS
- type WitnessCodeSMS
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttorneyOptedOutEmail ¶ added in v0.1313.0
type CertificateProviderActingDigitallyHasConfirmedPersonalDetailsLPADetailsChangedPromptSMS ¶ added in v0.867.0
type CertificateProviderActingDigitallyHasNotConfirmedPersonalDetailsLPADetailsChangedPromptSMS ¶ added in v0.867.0
type CertificateProviderActingOnPaperDetailsChangedSMS ¶ added in v0.864.0
type CertificateProviderActingOnPaperMeetingPromptSMS ¶ added in v0.864.0
type CertificateProviderCertificateProvidedEmail ¶ added in v0.842.0
type CertificateProviderFailedIdentityCheckEmail ¶ added in v0.1483.0
type CertificateProviderOptedOutPostWitnessingEmail ¶ added in v0.1255.0
type CertificateProviderOptedOutPreWitnessingEmail ¶ added in v0.1255.0
type CertificateProviderProvideCertificatePromptEmail ¶ added in v0.864.0
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) EmailGreeting ¶ added in v0.1346.0
func (*Client) SendActorEmail ¶ added in v0.980.0
func (*Client) SendActorSMS ¶ added in v0.992.0
type DonorAccessEmail ¶ added in v0.1079.0
type DonorIdentityCheckExpiredEmail ¶ added in v0.1393.0
type DonorIdentityCheckExpiredEmail struct{}
type EventClient ¶ added in v0.980.0
type EventClient interface {
SendNotificationSent(ctx context.Context, event event.NotificationSent) error
}
type InitialOriginalAttorneyEmail ¶ added in v0.881.0
type InitialReplacementAttorneyEmail ¶ added in v0.883.0
type OrganisationMemberInviteEmail ¶ added in v0.997.0
type PaymentConfirmationEmail ¶ added in v0.1311.0
type To ¶ added in v0.1579.0
func ToCertificateProvider ¶ added in v0.1579.0
func ToCertificateProvider(certificateProvider donordata.CertificateProvider) To
ToCertificateProvider should only be used for the initial communication with the certificate provider, after that it may be possible to use the data they have entered so only use this as a fallback.
func ToLpaAttorney ¶ added in v0.1579.0
func ToLpaCertificateProvider ¶ added in v0.1579.0
func ToLpaCertificateProvider(provided *certificateproviderdata.Provided, lpa *lpadata.Lpa) To
func ToLpaDonor ¶ added in v0.1579.0
func ToLpaTrustCorporation ¶ added in v0.1579.0
func ToLpaTrustCorporation(trustCorporation lpadata.TrustCorporation) To
func ToProvidedCertificateProvider ¶ added in v0.1579.0
func ToProvidedCertificateProvider(provided *certificateproviderdata.Provided, certificateProvider donordata.CertificateProvider) To
type ToEmail ¶ added in v0.1579.0
type ToEmail interface {
// contains filtered or unexported methods
}
func ToCustomEmail ¶ added in v0.1579.0
func ToPayee ¶ added in v0.1579.0
func ToPayee(resp pay.GetPaymentResponse) ToEmail
type ToMobile ¶ added in v0.1579.0
type ToMobile interface {
// contains filtered or unexported methods
}
func ToIndependentWitness ¶ added in v0.1579.0
func ToIndependentWitness(independentWitness donordata.IndependentWitness) ToMobile
type VoucherHasConfirmedDonorIdentityEmail ¶ added in v0.1462.0
type VoucherHasConfirmedDonorIdentityOnSignedLpaEmail ¶ added in v0.1462.0
type VoucherHasConfirmedDonorIdentityOnSignedLpaSMS ¶ added in v0.1462.0
type VoucherHasConfirmedDonorIdentitySMS ¶ added in v0.1462.0
type VoucherInviteEmail ¶ added in v0.1408.0
type VouchingFailedAttemptEmail ¶ added in v0.1462.0
type VouchingShareCodeEmail ¶ added in v0.1407.0
type VouchingShareCodeEmail struct {}
type VouchingShareCodeSMS ¶ added in v0.1407.0
type VouchingShareCodeSMS struct {}
type WitnessCodeSMS ¶ added in v0.867.0
Click to show internal directories.
Click to hide internal directories.