Documentation ¶
Index ¶
- Constants
- type AccountType
- type ActivityAssociationType
- type ActivityType
- type AddressType
- type CurrencyTransactionActivityDetailType
- type CurrencyTransactionActivityType
- type ElectronicAddressType
- type OrganizationClassificationTypeSubtypeType
- type PartyAccountAssociationType
- type PartyIdentificationType
- type PartyNameType
- type PartyOccupationBusinessType
- type PartyType
- type PhoneNumberType
- type ValidateActivityPartyCodeType
- type ValidateCurrencyTransactionActivityDetailCodeType
- type ValidateFederalRegulatorCodeType
- type ValidatePartyAccountAssociationCodeType
- type ValidatePartyIdentificationCodeType
- type ValidatePartyNameCodeType
Constants ¶
View Source
const ( PartyTransmitter = "35" PartyTransmitterContact = "37" PartyFinancialInstitution = "30" PartyContactOffice = "8" PartyTransactionLocation = "34" PartyPersonConducting = "50" PartyPersonConductingAnother = "17" PartyPerson = "23" PartyCommonCarrier = "58" PartyITCTIN = "4" PartyITCTCC = "28" PartyITCEIN = "2" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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"` CorrectsAmendsPriorReportIndicator fincen.ValidateIndicatorType `xml:"CorrectsAmendsPriorReportIndicator"` FinCENDirectBackFileIndicator fincen.ValidateIndicatorType `xml:"FinCENDirectBackFileIndicator"` InitialReportIndicator fincen.ValidateIndicatorType `xml:"InitialReportIndicator"` }
func (ActivityAssociationType) Validate ¶
func (r ActivityAssociationType) Validate(args ...string) error
type ActivityType ¶
type ActivityType struct { XMLName xml.Name `xml:"Activity"` SeqNum fincen.SeqNumber `xml:"SeqNum,attr"` EFilingPriorDocumentNumber int64 `xml:"EFilingPriorDocumentNumber,omitempty" json:",omitempty"` FilingDateText fincen.DateYYYYMMDDType `xml:"FilingDateText"` ActivityAssociation *ActivityAssociationType `xml:"ActivityAssociation"` Party []*PartyType `xml:"Party"` CurrencyTransactionActivity *CurrencyTransactionActivityType `xml:"CurrencyTransactionActivity"` }
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 CurrencyTransactionActivityDetailType ¶
type CurrencyTransactionActivityDetailType struct { XMLName xml.Name `xml:"CurrencyTransactionActivityDetail"` SeqNum fincen.SeqNumber `xml:"SeqNum,attr"` CurrencyTransactionActivityDetailTypeCode ValidateCurrencyTransactionActivityDetailCodeType `xml:"CurrencyTransactionActivityDetailTypeCode"` DetailTransactionAmountText fincen.RestrictString15 `xml:"DetailTransactionAmountText"` OtherCurrencyTransactionActivityDetailText fincen.RestrictString50 `xml:"OtherCurrencyTransactionActivityDetailText"` OtherForeignCurrencyCountryText fincen.RestrictString2 `xml:"OtherForeignCurrencyCountryText"` }
func (CurrencyTransactionActivityDetailType) Validate ¶
func (r CurrencyTransactionActivityDetailType) Validate(args ...string) error
type CurrencyTransactionActivityType ¶
type CurrencyTransactionActivityType struct { XMLName xml.Name `xml:"CurrencyTransactionActivity"` SeqNum fincen.SeqNumber `xml:"SeqNum,attr"` AggregateTransactionIndicator fincen.ValidateIndicatorType `xml:"AggregateTransactionIndicator"` ArmoredCarServiceIndicator fincen.ValidateIndicatorType `xml:"ArmoredCarServiceIndicator"` ATMIndicator fincen.ValidateIndicatorType `xml:"ATMIndicator"` MailDepositShipmentIndicator fincen.ValidateIndicatorType `xml:"MailDepositShipmentIndicator"` NightDepositIndicator fincen.ValidateIndicatorType `xml:"NightDepositIndicator"` TotalCashInReceiveAmountText fincen.RestrictString15 `xml:"TotalCashInReceiveAmountText"` TotalCashOutAmountText fincen.RestrictString15 `xml:"TotalCashOutAmountText"` TransactionDateText fincen.DateYYYYMMDDType `xml:"TransactionDateText"` CurrencyTransactionActivityDetail []*CurrencyTransactionActivityDetailType `xml:"CurrencyTransactionActivityDetail"` }
func (CurrencyTransactionActivityType) Validate ¶
func (r CurrencyTransactionActivityType) Validate(args ...string) error
type ElectronicAddressType ¶
type ElectronicAddressType struct { XMLName xml.Name `xml:"ElectronicAddress"` SeqNum fincen.SeqNumber `xml:"SeqNum,attr"` ElectronicAddressText *fincen.RestrictString517 `xml:"ElectronicAddressText,omitempty" json:",omitempty"` }
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.ValidateOrganizationSubtypeCodeCtrType `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 ¶
func (r OrganizationClassificationTypeSubtypeType) Validate(args ...string) error
type PartyAccountAssociationType ¶
type PartyAccountAssociationType struct { XMLName xml.Name `xml:"PartyAccountAssociation"` SeqNum fincen.SeqNumber `xml:"SeqNum,attr"` PartyAccountAssociationTypeCode ValidatePartyAccountAssociationCodeType `xml:"PartyAccountAssociationTypeCode"` }
func (PartyAccountAssociationType) Validate ¶
func (r PartyAccountAssociationType) 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,omitempty" json:",omitempty"` 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"` BirthDateUnknownIndicator *fincen.ValidateIndicatorNullType `xml:"BirthDateUnknownIndicator,omitempty" json:",omitempty"` EFilingCoverageBeginningDateText *fincen.DateYYYYMMDDType `xml:"EFilingCoverageBeginningDateText,omitempty" json:",omitempty"` EFilingCoverageEndDateText *fincen.DateYYYYMMDDType `xml:"EFilingCoverageEndDateText,omitempty" json:",omitempty"` FemaleGenderIndicator *fincen.ValidateIndicatorNullType `xml:"FemaleGenderIndicator,omitempty" json:",omitempty"` IndividualBirthDateText *fincen.DateYYYYMMDDOrBlankTypeDOB `xml:"IndividualBirthDateText,omitempty" json:",omitempty"` IndividualEntityCashInAmountText *fincen.RestrictString15 `xml:"IndividualEntityCashInAmountText,omitempty" json:",omitempty"` IndividualEntityCashOutAmountText *fincen.RestrictString15 `xml:"IndividualEntityCashOutAmountText,omitempty" json:",omitempty"` MaleGenderIndicator *fincen.ValidateIndicatorNullType `xml:"MaleGenderIndicator,omitempty" json:",omitempty"` MultipleTransactionsPersonsIndividualsIndicator *fincen.ValidateIndicatorNullType `xml:"MultipleTransactionsPersonsIndividualsIndicator,omitempty" json:",omitempty"` PartyAsEntityOrganizationIndicator *fincen.ValidateIndicatorNullType `xml:"PartyAsEntityOrganizationIndicator,omitempty" json:",omitempty"` PrimaryRegulatorTypeCode *ValidateFederalRegulatorCodeType `xml:"PrimaryRegulatorTypeCode,omitempty" json:",omitempty"` UnknownGenderIndicator *fincen.ValidateIndicatorNullType `xml:"UnknownGenderIndicator,omitempty" json:",omitempty"` PartyName []*PartyNameType `xml:"PartyName"` 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"` Account []*AccountType `xml:"Account,omitempty" json:",omitempty"` }
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"` }
func (PhoneNumberType) Validate ¶
func (r PhoneNumberType) Validate(args ...string) error
type ValidateActivityPartyCodeType ¶
type ValidateActivityPartyCodeType string
May be one of 35, 37, 30, 34, 50, 17, 23, 58, 8
func (ValidateActivityPartyCodeType) Validate ¶
func (r ValidateActivityPartyCodeType) Validate() error
type ValidateCurrencyTransactionActivityDetailCodeType ¶
type ValidateCurrencyTransactionActivityDetailCodeType string
May be one of "55", "46", "23", "12", "14", "49", "18", "21", "25", "997", "53",
func (ValidateCurrencyTransactionActivityDetailCodeType) Validate ¶
func (r ValidateCurrencyTransactionActivityDetailCodeType) Validate() error
type ValidateFederalRegulatorCodeType ¶
type ValidateFederalRegulatorCodeType string
May be one of 9, 1, 2, 7, 3, 4, 6, 14
func (ValidateFederalRegulatorCodeType) Validate ¶
func (r ValidateFederalRegulatorCodeType) Validate() error
type ValidatePartyAccountAssociationCodeType ¶
type ValidatePartyAccountAssociationCodeType string
May be one of 8, 9
func (ValidatePartyAccountAssociationCodeType) Validate ¶
func (r ValidatePartyAccountAssociationCodeType) Validate() error
type ValidatePartyIdentificationCodeType ¶
type ValidatePartyIdentificationCodeType string
May be one of 1, 2, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 28, 999
func (ValidatePartyIdentificationCodeType) Validate ¶
func (r ValidatePartyIdentificationCodeType) Validate() error
type ValidatePartyNameCodeType ¶
type ValidatePartyNameCodeType string
May be one of L, AKA, DBA
func (ValidatePartyNameCodeType) Validate ¶
func (r ValidatePartyNameCodeType) Validate() error
Click to show internal directories.
Click to hide internal directories.