suspicious_activity

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PartyTransmitter                 = "35"
	PartyTransmitterContact          = "37"
	PartyFilingInstitution           = "30"
	PartyContactOffice               = "8"
	PartyLEContactAgency             = "18"
	PartyLEContactName               = "19"
	PartyFinancialInstitution        = "34"
	PartySubject                     = "33"
	PartyFinancialInstitutionAccount = "41"
	PartyBranch                      = "46"
	PartyITCTCC                      = "28"
	PartyITCTIN                      = "4"
	PartyITCFIN                      = "2"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountAssociationParty

type AccountAssociationParty struct {
	XMLName                            xml.Name                          `xml:"Party"`
	SeqNum                             fincen.SeqNumber                  `xml:"SeqNum,attr"`
	ActivityPartyTypeCode              ValidateActivityPartyCodeType     `xml:"ActivityPartyTypeCode"`
	NonUSFinancialInstitutionIndicator *fincen.ValidateIndicatorNullType `xml:"NonUSFinancialInstitutionIndicator,omitempty" json:",omitempty"`
	PartyIdentification                *PartyIdentificationType          `xml:"PartyIdentification,omitempty" json:",omitempty"`
	Account                            []*AccountType                    `xml:"Account,omitempty" json:",omitempty"`
}

func (AccountAssociationParty) Validate

func (r AccountAssociationParty) Validate(args ...string) error

type AccountType

type AccountType struct {
	XMLName                 xml.Name                    `xml:"Account"`
	SeqNum                  fincen.SeqNumber            `xml:"SeqNum,attr"`
	AccountNumberText       *fincen.RestrictString40    `xml:"AccountNumberText,omitempty" json:",omitempty"`
	PartyAccountAssociation PartyAccountAssociationType `xml:"PartyAccountAssociation"`
}

func (AccountType) Validate

func (r AccountType) Validate(args ...string) error

type ActivityAssociationType

type ActivityAssociationType struct {
	XMLName                            xml.Name                          `xml:"ActivityAssociation"`
	SeqNum                             fincen.SeqNumber                  `xml:"SeqNum,attr"`
	ContinuingActivityReportIndicator  *fincen.ValidateIndicatorNullType `xml:"ContinuingActivityReportIndicator,omitempty" json:",omitempty"`
	CorrectsAmendsPriorReportIndicator *fincen.ValidateIndicatorNullType `xml:"CorrectsAmendsPriorReportIndicator,omitempty" json:",omitempty"`
	InitialReportIndicator             *fincen.ValidateIndicatorNullType `xml:"InitialReportIndicator,omitempty" json:",omitempty"`
	JointReportIndicator               *fincen.ValidateIndicatorNullType `xml:"JointReportIndicator,omitempty" json:",omitempty"`
}

func (ActivityAssociationType) Validate

func (r ActivityAssociationType) Validate(args ...string) error

type ActivityIPAddressType

type ActivityIPAddressType struct {
	XMLName                        xml.Name                            `xml:"ActivityIPAddress"`
	SeqNum                         fincen.SeqNumber                    `xml:"SeqNum,attr"`
	ActivityIPAddressDateText      *fincen.DateYYYYMMDDOrBlankType     `xml:"ActivityIPAddressDateText,omitempty" json:",omitempty"`
	ActivityIPAddressTimeStampText *fincen.ValidateTimeDataOrBlankType `xml:"ActivityIPAddressTimeStampText,omitempty" json:",omitempty"`
	IPAddressText                  fincen.RestrictString39             `xml:"IPAddressText"`
}

func (ActivityIPAddressType) Validate

func (r ActivityIPAddressType) Validate(args ...string) error

type ActivityNarrativeInformationType

type ActivityNarrativeInformationType struct {
	XMLName                         xml.Name                                `xml:"ActivityNarrativeInformation"`
	SeqNum                          fincen.SeqNumber                        `xml:"SeqNum,attr"`
	ActivityNarrativeSequenceNumber ValidateActivityNarrativeSequenceNumber `xml:"ActivityNarrativeSequenceNumber"`
	ActivityNarrativeText           fincen.RestrictString4000               `xml:"ActivityNarrativeText"`
}

func (ActivityNarrativeInformationType) Validate

func (r ActivityNarrativeInformationType) Validate(args ...string) error

type ActivitySupportDocumentType

type ActivitySupportDocumentType struct {
	XMLName                    xml.Name                 `xml:"ActivitySupportDocument"`
	SeqNum                     fincen.SeqNumber         `xml:"SeqNum,attr"`
	OriginalAttachmentFileName fincen.RestrictString150 `xml:"OriginalAttachmentFileName"`
}

func (ActivitySupportDocumentType) Validate

func (r ActivitySupportDocumentType) Validate(args ...string) error

type ActivityType

type ActivityType struct {
	XMLName                       xml.Name                            `xml:"Activity"`
	SeqNum                        fincen.SeqNumber                    `xml:"SeqNum,attr"`
	EFilingPriorDocumentNumber    *EFilingPriorDocumentNumberType     `xml:"EFilingPriorDocumentNumber,omitempty" json:",omitempty"`
	FilingDateText                fincen.DateYYYYMMDDType             `xml:"FilingDateText"`
	FilingInstitutionNotetoFinCEN *fincen.RestrictString50            `xml:"FilingInstitutionNotetoFinCEN,omitempty" json:",omitempty"`
	ActivityAssociation           *ActivityAssociationType            `xml:"ActivityAssociation"`
	ActivitySupportDocument       *ActivitySupportDocumentType        `xml:"ActivitySupportDocument,omitempty" json:",omitempty"`
	Party                         []*PartyType                        `xml:"Party"`
	SuspiciousActivity            *SuspiciousActivityType             `xml:"SuspiciousActivity"`
	ActivityIPAddress             []*ActivityIPAddressType            `xml:"ActivityIPAddress,omitempty" json:",omitempty"`
	CyberEventIndicators          []*CyberEventIndicatorsType         `xml:"CyberEventIndicators,omitempty" json:",omitempty"`
	Assets                        []*AssetsType                       `xml:"Assets,omitempty" json:",omitempty"`
	AssetsAttribute               []*AssetsAttributeType              `xml:"AssetsAttribute,omitempty" json:",omitempty"`
	ActivityNarrativeInformation  []*ActivityNarrativeInformationType `xml:"ActivityNarrativeInformation"`
}

func NewActivity added in v0.2.4

func NewActivity() *ActivityType

func (ActivityType) FormTypeCode

func (r ActivityType) FormTypeCode() string

func (ActivityType) PartyCount

func (r ActivityType) PartyCount(args ...string) int64

func (ActivityType) TotalAmount

func (r ActivityType) TotalAmount() float64

func (ActivityType) Validate

func (r ActivityType) Validate(args ...string) error

type AddressType

type AddressType struct {
	XMLName                       xml.Name                          `xml:"Address"`
	SeqNum                        fincen.SeqNumber                  `xml:"SeqNum,attr"`
	CityUnknownIndicator          *fincen.ValidateIndicatorNullType `xml:"CityUnknownIndicator,omitempty" json:",omitempty"`
	CountryCodeUnknownIndicator   *fincen.ValidateIndicatorNullType `xml:"CountryCodeUnknownIndicator,omitempty" json:",omitempty"`
	RawCityText                   *fincen.RestrictString50          `xml:"RawCityText,omitempty" json:",omitempty"`
	RawCountryCodeText            *fincen.RestrictString2           `xml:"RawCountryCodeText,omitempty" json:",omitempty"`
	RawStateCodeText              *fincen.RestrictString3           `xml:"RawStateCodeText,omitempty" json:",omitempty"`
	RawStreetAddress1Text         *fincen.RestrictString100         `xml:"RawStreetAddress1Text,omitempty" json:",omitempty"`
	RawZIPCode                    *fincen.RestrictString9           `xml:"RawZIPCode,omitempty" json:",omitempty"`
	StateCodeUnknownIndicator     *fincen.ValidateIndicatorNullType `xml:"StateCodeUnknownIndicator,omitempty" json:",omitempty"`
	StreetAddressUnknownIndicator *fincen.ValidateIndicatorNullType `xml:"StreetAddressUnknownIndicator,omitempty" json:",omitempty"`
	ZIPCodeUnknownIndicator       *fincen.ValidateIndicatorNullType `xml:"ZIPCodeUnknownIndicator,omitempty" json:",omitempty"`
}

func (AddressType) Validate

func (r AddressType) Validate(args ...string) error

type AssetsAttributeType

type AssetsAttributeType struct {
	XMLName                       xml.Name                                    `xml:"AssetsAttribute"`
	SeqNum                        fincen.SeqNumber                            `xml:"SeqNum,attr"`
	AssetAttributeDescriptionText *fincen.RestrictString50                    `xml:"AssetAttributeDescriptionText,omitempty" json:",omitempty"`
	AssetAttributeTypeID          fincen.ValidateAssetAttributeTypeIDTypeCode `xml:"AssetAttributeTypeID"`
}

func (AssetsAttributeType) Validate

func (r AssetsAttributeType) Validate(args ...string) error

type AssetsType added in v0.3.5

type AssetsType struct {
	XMLName               xml.Name                              `xml:"Assets"`
	SeqNum                fincen.SeqNumber                      `xml:"SeqNum,attr"`
	AssetSubtypeID        fincen.ValidateAssetSubtypeIDTypeCode `xml:"AssetSubtypeID"`
	AssetTypeID           fincen.ValidateAssetTypeIDTypeCode    `xml:"AssetTypeID"`
	OtherAssetSubtypeText *fincen.RestrictString50              `xml:"OtherAssetSubtypeText,omitempty" json:",omitempty"`
}

func (AssetsType) Validate added in v0.3.5

func (r AssetsType) Validate(args ...string) error

type AssociationParty

type AssociationParty struct {
	XMLName                        xml.Name                          `xml:"Party"`
	SeqNum                         fincen.SeqNumber                  `xml:"SeqNum,attr"`
	ActivityPartyTypeCode          ValidateActivityPartyCodeType     `xml:"ActivityPartyTypeCode"`
	PayLocationIndicator           *fincen.ValidateIndicatorNullType `xml:"PayLocationIndicator,omitempty" json:",omitempty"`
	SellingLocationIndicator       *fincen.ValidateIndicatorNullType `xml:"SellingLocationIndicator,omitempty" json:",omitempty"`
	SellingPayingLocationIndicator *fincen.ValidateIndicatorNullType `xml:"SellingPayingLocationIndicator,omitempty" json:",omitempty"`
	Address                        *AddressType                      `xml:"Address"`
	PartyIdentification            *PartyIdentificationType          `xml:"PartyIdentification,omitempty" json:",omitempty"`
}

func (AssociationParty) Validate

func (r AssociationParty) Validate(args ...string) error

type CyberEventIndicatorsType

type CyberEventIndicatorsType struct {
	XMLName                      xml.Name                                    `xml:"CyberEventIndicators"`
	SeqNum                       fincen.SeqNumber                            `xml:"SeqNum,attr"`
	CyberEventDateText           *fincen.DateYYYYMMDDOrBlankType             `xml:"CyberEventDateText,omitempty" json:",omitempty"`
	CyberEventIndicatorsTypeCode fincen.ValidateCyberEventIndicatorsTypeCode `xml:"CyberEventIndicatorsTypeCode"`
	CyberEventTimeStampText      *fincen.ValidateTimeDataOrBlankType         `xml:"CyberEventTimeStampText,omitempty" json:",omitempty"`
	CyberEventTypeOtherText      *fincen.RestrictString50                    `xml:"CyberEventTypeOtherText,omitempty" json:",omitempty"`
	EventValueText               *fincen.RestrictString4000                  `xml:"EventValueText"`
}

func (CyberEventIndicatorsType) Validate

func (r CyberEventIndicatorsType) Validate(args ...string) error

type EFilingPriorDocumentNumberType

type EFilingPriorDocumentNumberType string

14-digit numeric

func (EFilingPriorDocumentNumberType) String

func (EFilingPriorDocumentNumberType) Validate

type ElectronicAddressType

type ElectronicAddressType struct {
	XMLName                   xml.Name                                 `xml:"ElectronicAddress"`
	SeqNum                    fincen.SeqNumber                         `xml:"SeqNum,attr"`
	ElectronicAddressText     fincen.RestrictString517                 `xml:"ElectronicAddressText"`
	ElectronicAddressTypeCode fincen.ValidateElectronicAddressTypeCode `xml:"ElectronicAddressTypeCode"`
}

func (ElectronicAddressType) Validate

func (r ElectronicAddressType) Validate(args ...string) error

type OrganizationClassificationTypeSubtypeType

type OrganizationClassificationTypeSubtypeType struct {
	XMLName                      xml.Name                                       `xml:"OrganizationClassificationTypeSubtype"`
	SeqNum                       fincen.SeqNumber                               `xml:"SeqNum,attr"`
	OrganizationSubtypeID        *fincen.ValidateOrganizationSubtypeCodeSarType `xml:"OrganizationSubtypeID,omitempty" json:",omitempty"`
	OrganizationTypeID           *fincen.ValidateOrganizationCodeType           `xml:"OrganizationTypeID"`
	OtherOrganizationSubTypeText *fincen.RestrictString50                       `xml:"OtherOrganizationSubTypeText,omitempty" json:",omitempty"`
	OtherOrganizationTypeText    *fincen.RestrictString50                       `xml:"OtherOrganizationTypeText,omitempty" json:",omitempty"`
}

func (OrganizationClassificationTypeSubtypeType) Validate

type PartyAccountAssociationType

type PartyAccountAssociationType struct {
	XMLName                         xml.Name                                `xml:"PartyAccountAssociation"`
	SeqNum                          fincen.SeqNumber                        `xml:"SeqNum,attr"`
	PartyAccountAssociationTypeCode ValidatePartyAccountAssociationCodeType `xml:"PartyAccountAssociationTypeCode"`
	Party                           []*AccountAssociationParty              `xml:"Party"`
	AccountClosedIndicator          *fincen.ValidateIndicatorNullType       `xml:"AccountClosedIndicator,omitempty" json:",omitempty"`
}

func (PartyAccountAssociationType) Validate

func (r PartyAccountAssociationType) Validate(args ...string) error

type PartyAssociationType

type PartyAssociationType struct {
	XMLName                                        xml.Name                          `xml:"PartyAssociation"`
	SeqNum                                         fincen.SeqNumber                  `xml:"SeqNum,attr"`
	AccountantIndicator                            *fincen.ValidateIndicatorNullType `xml:"AccountantIndicator,omitempty" json:",omitempty"`
	ActionTakenDateText                            *fincen.DateYYYYMMDDOrBlankType   `xml:"ActionTakenDateText,omitempty" json:",omitempty"`
	AgentIndicator                                 *fincen.ValidateIndicatorNullType `xml:"AgentIndicator,omitempty" json:",omitempty"`
	AppraiserIndicator                             *fincen.ValidateIndicatorNullType `xml:"AppraiserIndicator,omitempty" json:",omitempty"`
	AttorneyIndicator                              *fincen.ValidateIndicatorNullType `xml:"AttorneyIndicator,omitempty" json:",omitempty"`
	BorrowerIndicator                              *fincen.ValidateIndicatorNullType `xml:"BorrowerIndicator,omitempty" json:",omitempty"`
	CustomerIndicator                              *fincen.ValidateIndicatorNullType `xml:"CustomerIndicator,omitempty" json:",omitempty"`
	DirectorIndicator                              *fincen.ValidateIndicatorNullType `xml:"DirectorIndicator,omitempty" json:",omitempty"`
	EmployeeIndicator                              *fincen.ValidateIndicatorNullType `xml:"EmployeeIndicator,omitempty" json:",omitempty"`
	NoRelationshipToInstitutionIndicator           *fincen.ValidateIndicatorNullType `xml:"NoRelationshipToInstitutionIndicator,omitempty" json:",omitempty"`
	OfficerIndicator                               *fincen.ValidateIndicatorNullType `xml:"OfficerIndicator,omitempty" json:",omitempty"`
	OtherPartyAssociationTypeText                  *fincen.RestrictString50          `xml:"OtherPartyAssociationTypeText,omitempty" json:",omitempty"`
	OtherRelationshipIndicator                     *fincen.ValidateIndicatorNullType `xml:"OtherRelationshipIndicator,omitempty" json:",omitempty"`
	OwnerShareholderIndicator                      *fincen.ValidateIndicatorNullType `xml:"OwnerShareholderIndicator,omitempty" json:",omitempty"`
	RelationshipContinuesIndicator                 *fincen.ValidateIndicatorNullType `xml:"RelationshipContinuesIndicator,omitempty" json:",omitempty"`
	ResignedIndicator                              *fincen.ValidateIndicatorNullType `xml:"ResignedIndicator,omitempty" json:",omitempty"`
	SubjectRelationshipFinancialInstitutionTINText *fincen.RestrictString25          `xml:"SubjectRelationshipFinancialInstitutionTINText,omitempty" json:",omitempty"`
	SuspendedBarredIndicator                       *fincen.ValidateIndicatorNullType `xml:"SuspendedBarredIndicator,omitempty" json:",omitempty"`
	TerminatedIndicator                            *fincen.ValidateIndicatorNullType `xml:"TerminatedIndicator,omitempty" json:",omitempty"`
	Party                                          []*AssociationParty               `xml:"Party,omitempty" json:",omitempty"`
}

func (PartyAssociationType) Validate

func (r PartyAssociationType) Validate(args ...string) error

type PartyIdentificationType

type PartyIdentificationType struct {
	XMLName                               xml.Name                             `xml:"PartyIdentification"`
	SeqNum                                fincen.SeqNumber                     `xml:"SeqNum,attr"`
	IdentificationPresentUnknownIndicator *fincen.ValidateIndicatorNullType    `xml:"IdentificationPresentUnknownIndicator,omitempty" json:",omitempty"`
	OtherIssuerCountryText                *fincen.RestrictString2              `xml:"OtherIssuerCountryText,omitempty" json:",omitempty"`
	OtherIssuerStateText                  *fincen.RestrictString3              `xml:"OtherIssuerStateText,omitempty" json:",omitempty"`
	OtherPartyIdentificationTypeText      *fincen.RestrictString50             `xml:"OtherPartyIdentificationTypeText,omitempty" json:",omitempty"`
	PartyIdentificationNumberText         *fincen.RestrictString25             `xml:"PartyIdentificationNumberText,omitempty" json:",omitempty"`
	PartyIdentificationTypeCode           *ValidatePartyIdentificationCodeType `xml:"PartyIdentificationTypeCode,omitempty" json:",omitempty"`
	TINUnknownIndicator                   *fincen.ValidateIndicatorNullType    `xml:"TINUnknownIndicator,omitempty" json:",omitempty"`
}

func (PartyIdentificationType) Validate

func (r PartyIdentificationType) Validate(args ...string) error

type PartyNameType

type PartyNameType struct {
	XMLName                        xml.Name                          `xml:"PartyName"`
	SeqNum                         fincen.SeqNumber                  `xml:"SeqNum,attr"`
	EntityLastNameUnknownIndicator *fincen.ValidateIndicatorNullType `xml:"EntityLastNameUnknownIndicator,omitempty" json:",omitempty"`
	FirstNameUnknownIndicator      *fincen.ValidateIndicatorNullType `xml:"FirstNameUnknownIndicator,omitempty" json:",omitempty"`
	PartyNameTypeCode              *ValidatePartyNameCodeType        `xml:"PartyNameTypeCode"`
	RawEntityIndividualLastName    *fincen.RestrictString150         `xml:"RawEntityIndividualLastName,omitempty" json:",omitempty"`
	RawIndividualFirstName         *fincen.RestrictString35          `xml:"RawIndividualFirstName,omitempty" json:",omitempty"`
	RawIndividualMiddleName        *fincen.RestrictString35          `xml:"RawIndividualMiddleName,omitempty" json:",omitempty"`
	RawIndividualNameSuffixText    *fincen.RestrictString35          `xml:"RawIndividualNameSuffixText,omitempty" json:",omitempty"`
	RawPartyFullName               *fincen.RestrictString150         `xml:"RawPartyFullName,omitempty" json:",omitempty"`
}

func (PartyNameType) Validate

func (r PartyNameType) Validate(args ...string) error

type PartyOccupationBusinessType

type PartyOccupationBusinessType struct {
	XMLName                xml.Name                 `xml:"PartyOccupationBusiness"`
	SeqNum                 fincen.SeqNumber         `xml:"SeqNum,attr"`
	NAICSCode              *fincen.RestrictString6  `xml:"NAICSCode,omitempty" json:",omitempty"`
	OccupationBusinessText *fincen.RestrictString50 `xml:"OccupationBusinessText,omitempty" json:",omitempty"`
}

func (PartyOccupationBusinessType) Validate

func (r PartyOccupationBusinessType) Validate(args ...string) error

type PartyType

type PartyType struct {
	XMLName                                           xml.Name                                     `xml:"Party"`
	SeqNum                                            fincen.SeqNumber                             `xml:"SeqNum,attr"`
	ActivityPartyTypeCode                             ValidateActivityPartyCodeType                `xml:"ActivityPartyTypeCode"`
	AdmissionConfessionNoIndicator                    *fincen.ValidateIndicatorNullType            `xml:"AdmissionConfessionNoIndicator,omitempty" json:",omitempty"`
	AdmissionConfessionYesIndicator                   *fincen.ValidateIndicatorNullType            `xml:"AdmissionConfessionYesIndicator,omitempty" json:",omitempty"`
	AllCriticalSubjectInformationUnavailableIndicator *fincen.ValidateIndicatorNullType            `xml:"AllCriticalSubjectInformationUnavailableIndicator,omitempty" json:",omitempty"`
	BirthDateUnknownIndicator                         *fincen.ValidateIndicatorNullType            `xml:"BirthDateUnknownIndicator,omitempty" json:",omitempty"`
	BothPurchaserSenderPayeeReceiveIndicator          *fincen.ValidateIndicatorNullType            `xml:"BothPurchaserSenderPayeeReceiveIndicator,omitempty" json:",omitempty"`
	ContactDateText                                   *fincen.DateYYYYMMDDOrBlankType              `xml:"ContactDateText,omitempty" json:",omitempty"`
	FemaleGenderIndicator                             *fincen.ValidateIndicatorNullType            `xml:"FemaleGenderIndicator,omitempty" json:",omitempty"`
	IndividualBirthDateText                           *fincen.DateYYYYMMDDOrBlankTypeDOB           `xml:"IndividualBirthDateText,omitempty" json:",omitempty"`
	LossToFinancialAmountText                         *fincen.RestrictString15                     `xml:"LossToFinancialAmountText,omitempty" json:",omitempty"`
	MaleGenderIndicator                               *fincen.ValidateIndicatorNullType            `xml:"MaleGenderIndicator,omitempty" json:",omitempty"`
	NoBranchActivityInvolvedIndicator                 *fincen.ValidateIndicatorNullType            `xml:"NoBranchActivityInvolvedIndicator,omitempty" json:",omitempty"`
	NoKnownAccountInvolvedIndicator                   *fincen.ValidateIndicatorNullType            `xml:"NoKnownAccountInvolvedIndicator,omitempty" json:",omitempty"`
	NonUSFinancialInstitutionIndicator                *fincen.ValidateIndicatorNullType            `xml:"NonUSFinancialInstitutionIndicator,omitempty" json:",omitempty"`
	PartyAsEntityOrganizationIndicator                *fincen.ValidateIndicatorNullType            `xml:"PartyAsEntityOrganizationIndicator,omitempty" json:",omitempty"`
	PayeeReceiverIndicator                            *fincen.ValidateIndicatorNullType            `xml:"PayeeReceiverIndicator,omitempty" json:",omitempty"`
	PayLocationIndicator                              *fincen.ValidateIndicatorNullType            `xml:"PayLocationIndicator,omitempty" json:",omitempty"`
	PrimaryRegulatorTypeCode                          *ValidateFederalRegulatorCodeType            `xml:"PrimaryRegulatorTypeCode,omitempty" json:",omitempty"`
	PurchaserSenderIndicator                          *fincen.ValidateIndicatorNullType            `xml:"PurchaserSenderIndicator,omitempty" json:",omitempty"`
	SellingLocationIndicator                          *fincen.ValidateIndicatorNullType            `xml:"SellingLocationIndicator,omitempty" json:",omitempty"`
	SellingPayingLocationIndicator                    *fincen.ValidateIndicatorNullType            `xml:"SellingPayingLocationIndicator,omitempty" json:",omitempty"`
	UnknownGenderIndicator                            *fincen.ValidateIndicatorNullType            `xml:"UnknownGenderIndicator,omitempty" json:",omitempty"`
	PartyName                                         []*PartyNameType                             `xml:"PartyName,omitempty" json:",omitempty"`
	Address                                           []*AddressType                               `xml:"Address,omitempty" json:",omitempty"`
	PhoneNumber                                       []*PhoneNumberType                           `xml:"PhoneNumber,omitempty" json:",omitempty"`
	PartyIdentification                               []*PartyIdentificationType                   `xml:"PartyIdentification,omitempty" json:",omitempty"`
	OrganizationClassificationTypeSubtype             []*OrganizationClassificationTypeSubtypeType `xml:"OrganizationClassificationTypeSubtype,omitempty" json:",omitempty"`
	PartyOccupationBusiness                           *PartyOccupationBusinessType                 `xml:"PartyOccupationBusiness,omitempty" json:",omitempty"`
	ElectronicAddress                                 []*ElectronicAddressType                     `xml:"ElectronicAddress,omitempty" json:",omitempty"`
	PartyAssociation                                  []*PartyAssociationType                      `xml:"PartyAssociation,omitempty" json:",omitempty"`
	PartyAccountAssociation                           *PartyAccountAssociationType                 `xml:"PartyAccountAssociation,omitempty" json:",omitempty"`
}

func (PartyType) Validate

func (r PartyType) Validate(args ...string) error

type PhoneNumberType

type PhoneNumberType struct {
	XMLName                  xml.Name                            `xml:"PhoneNumber"`
	SeqNum                   fincen.SeqNumber                    `xml:"SeqNum,attr"`
	PhoneNumberExtensionText *fincen.RestrictString6             `xml:"PhoneNumberExtensionText,omitempty" json:",omitempty"`
	PhoneNumberText          *fincen.RestrictString16            `xml:"PhoneNumberText,omitempty" json:",omitempty"`
	PhoneNumberTypeCode      *fincen.ValidatePhoneNumberCodeType `xml:"PhoneNumberTypeCode,omitempty" json:",omitempty"`
}

func (PhoneNumberType) Validate

func (r PhoneNumberType) Validate(args ...string) error

type SuspiciousActivityClassificationType

type SuspiciousActivityClassificationType struct {
	XMLName                         xml.Name                                   `xml:"SuspiciousActivityClassification"`
	SeqNum                          fincen.SeqNumber                           `xml:"SeqNum,attr"`
	OtherSuspiciousActivityTypeText *fincen.RestrictString50                   `xml:"OtherSuspiciousActivityTypeText,omitempty" json:",omitempty"`
	SuspiciousActivitySubtypeID     fincen.ValidateSuspiciousActivitySubtypeID `xml:"SuspiciousActivitySubtypeID"`
	SuspiciousActivityTypeID        fincen.ValidateSuspiciousActivityTypeID    `xml:"SuspiciousActivityTypeID"`
}

func (SuspiciousActivityClassificationType) Validate

type SuspiciousActivityType

type SuspiciousActivityType struct {
	XMLName                            xml.Name                                `xml:"SuspiciousActivity"`
	SeqNum                             fincen.SeqNumber                        `xml:"SeqNum,attr"`
	AmountUnknownIndicator             *fincen.ValidateIndicatorNullType       `xml:"AmountUnknownIndicator,omitempty" json:",omitempty"`
	CumulativeTotalViolationAmountText *fincen.RestrictString15                `xml:"CumulativeTotalViolationAmountText,omitempty" json:",omitempty"`
	NoAmountInvolvedIndicator          *fincen.ValidateIndicatorNullType       `xml:"NoAmountInvolvedIndicator,omitempty" json:",omitempty"`
	SuspiciousActivityFromDateText     fincen.DateYYYYMMDDType                 `xml:"SuspiciousActivityFromDateText"`
	SuspiciousActivityToDateText       *fincen.DateYYYYMMDDOrBlankType         `xml:"SuspiciousActivityToDateText,omitempty" json:",omitempty"`
	TotalSuspiciousAmountText          *fincen.RestrictString15                `xml:"TotalSuspiciousAmountText,omitempty" json:",omitempty"`
	SuspiciousActivityClassification   []*SuspiciousActivityClassificationType `xml:"SuspiciousActivityClassification"`
}

func (SuspiciousActivityType) Validate

func (r SuspiciousActivityType) Validate(args ...string) error

type ValidateActivityNarrativeSequenceNumber

type ValidateActivityNarrativeSequenceNumber int

May be one of 1, 2, 3, 4, 5

func (ValidateActivityNarrativeSequenceNumber) Validate

type ValidateActivityPartyCodeType

type ValidateActivityPartyCodeType string

May be one of 35, 37, 30, 33, 34, 8, 46, 18, 19, 41

func (ValidateActivityPartyCodeType) Validate

func (r ValidateActivityPartyCodeType) Validate() error

type ValidateFederalRegulatorCodeType

type ValidateFederalRegulatorCodeType string

May be one of 9, 1, 2, 7, 3, 4, 6, 13, 99

func (ValidateFederalRegulatorCodeType) Validate

type ValidatePartyAccountAssociationCodeType

type ValidatePartyAccountAssociationCodeType string

May be one of 5, 7

func (ValidatePartyAccountAssociationCodeType) Validate

type ValidatePartyIdentificationCodeType

type ValidatePartyIdentificationCodeType string

May be one of 1, 2, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 28, 32, 33, 29, 999

func (ValidatePartyIdentificationCodeType) Validate

type ValidatePartyNameCodeType

type ValidatePartyNameCodeType string

May be one of L, AKA, DBA

func (ValidatePartyNameCodeType) Validate

func (r ValidatePartyNameCodeType) Validate() error

Jump to

Keyboard shortcuts

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