Documentation ¶
Index ¶
- Constants
- type AccountAddressType
- type AccountPartyIdentificationType
- type AccountPartyNameType
- type AccountPartyType
- type AccountType
- type ActivityAssociationType
- type ActivityNarrativeInformationType
- type ActivityType
- type AddressType
- type ForeignAccountActivityType
- type PartyIdentificationType
- type PartyNameType
- type PartyType
- type PhoneNumberType
- type ValidateAccountPartyCodeType
- type ValidateAccountPartyIdentificationCodeType
- type ValidateActivityPartyCodeType
- type ValidateActivityPartyIdentificationCodeType
- type ValidateIndicatorYNType
- type ValidatePartyNameCodeType
Constants ¶
View Source
const ( PartyTransmitter = "35" PartyTransmitterContact = "37" PartyForeignAccountFiler = "15" PartyThirdPartyPreparer = "57" PartyThirdPartyPreparerFirm = "56" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountAddressType ¶
type AccountAddressType struct { XMLName xml.Name `xml:"Address"` SeqNum fincen.SeqNumber `xml:"SeqNum,attr"` RawCityText fincen.RestrictString50 `xml:"RawCityText"` RawCountryCodeText fincen.RestrictString2 `xml:"RawCountryCodeText"` RawStateCodeText fincen.RestrictString3 `xml:"RawStateCodeText"` RawStreetAddress1Text fincen.RestrictString100 `xml:"RawStreetAddress1Text"` RawZIPCode fincen.RestrictString9 `xml:"RawZIPCode"` }
func (AccountAddressType) Validate ¶
func (r AccountAddressType) Validate(args ...string) error
type AccountPartyIdentificationType ¶
type AccountPartyIdentificationType struct { XMLName xml.Name `xml:"PartyIdentification"` SeqNum fincen.SeqNumber `xml:"SeqNum,attr"` PartyIdentificationNumberText *fincen.RestrictString25 `xml:"PartyIdentificationNumberText,omitempty" json:",omitempty"` PartyIdentificationTypeCode *ValidateAccountPartyIdentificationCodeType `xml:"PartyIdentificationTypeCode,omitempty" json:",omitempty"` }
func (AccountPartyIdentificationType) Validate ¶
func (r AccountPartyIdentificationType) Validate(args ...string) error
type AccountPartyNameType ¶
type AccountPartyNameType struct { XMLName xml.Name `xml:"PartyName"` SeqNum fincen.SeqNumber `xml:"SeqNum,attr"` 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"` RawIndividualTitleText *fincen.RestrictString20 `xml:"RawIndividualTitleText,omitempty" json:",omitempty"` RawPartyFullName *fincen.RestrictString150 `xml:"RawPartyFullName,omitempty" json:",omitempty"` }
func (AccountPartyNameType) Validate ¶
func (r AccountPartyNameType) Validate(args ...string) error
type AccountPartyType ¶
type AccountPartyType struct { XMLName xml.Name `xml:"Party"` SeqNum fincen.SeqNumber `xml:"SeqNum,attr"` ActivityPartyTypeCode ValidateAccountPartyCodeType `xml:"ActivityPartyTypeCode"` PartyAsEntityOrganizationIndicator *fincen.ValidateIndicatorNullType `xml:"PartyAsEntityOrganizationIndicator,omitempty" json:",omitempty"` PartyName *AccountPartyNameType `xml:"PartyName"` Address *AccountAddressType `xml:"Address"` PartyIdentification *AccountPartyIdentificationType `xml:"PartyIdentification,omitempty" json:",omitempty"` }
func (AccountPartyType) Validate ¶
func (r AccountPartyType) Validate(args ...string) error
type AccountType ¶
type AccountType struct { XMLName xml.Name `xml:"Account"` SeqNum fincen.SeqNumber `xml:"SeqNum,attr"` AccountMaximumValueAmountText *fincen.RestrictString15 `xml:"AccountMaximumValueAmountText,omitempty" json:",omitempty"` AccountNumberText *fincen.RestrictString40 `xml:"AccountNumberText,omitempty" json:",omitempty"` AccountTypeCode *fincen.ValidateAccountTypeCodeType `xml:"AccountTypeCode,omitempty" json:",omitempty"` EFilingAccountTypeCode fincen.ValidateEFilingAccountTypeCodeType `xml:"EFilingAccountTypeCode"` JointOwnerQuantityText *fincen.RestrictString3 `xml:"JointOwnerQuantityText,omitempty" json:",omitempty"` OtherAccountTypeText *fincen.RestrictString50 `xml:"OtherAccountTypeText,omitempty" json:",omitempty"` UnknownMaximumValueIndicator *fincen.ValidateIndicatorNullType `xml:"UnknownMaximumValueIndicator,omitempty" json:",omitempty"` Party []*AccountPartyType `xml:"Party"` }
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"` }
func (ActivityAssociationType) Validate ¶
func (r ActivityAssociationType) Validate(args ...string) error
type ActivityNarrativeInformationType ¶
type ActivityNarrativeInformationType struct { XMLName xml.Name `xml:"ActivityNarrativeInformation"` SeqNum fincen.SeqNumber `xml:"SeqNum,attr"` ActivityNarrativeSequenceNumber int `xml:"ActivityNarrativeSequenceNumber"` ActivityNarrativeText fincen.RestrictString4000 `xml:"ActivityNarrativeText"` }
func (ActivityNarrativeInformationType) Validate ¶
func (r ActivityNarrativeInformationType) Validate(args ...string) error
type ActivityType ¶
type ActivityType struct { XMLName xml.Name `xml:"Activity"` SeqNum fincen.SeqNumber `xml:"SeqNum,attr"` ApprovalOfficialSignatureDateText fincen.DateYYYYMMDDType `xml:"ApprovalOfficialSignatureDateText"` EFilingPriorDocumentNumber int64 `xml:"EFilingPriorDocumentNumber,omitempty" json:",omitempty"` PreparerFilingSignatureIndicator *fincen.ValidateIndicatorNullType `xml:"PreparerFilingSignatureIndicator,omitempty" json:",omitempty"` ThirdPartyPreparerIndicator *fincen.ValidateIndicatorNullType `xml:"ThirdPartyPreparerIndicator,omitempty" json:",omitempty"` ActivityAssociation *ActivityAssociationType `xml:"ActivityAssociation"` Party []*PartyType `xml:"Party"` Account []*AccountType `xml:"Account,omitempty" json:",omitempty"` ForeignAccountActivity *ForeignAccountActivityType `xml:"ForeignAccountActivity"` ActivityNarrativeInformation *ActivityNarrativeInformationType `xml:"ActivityNarrativeInformation,omitempty" json:",omitempty"` }
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"` 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"` }
func (AddressType) Validate ¶
func (r AddressType) Validate(args ...string) error
type ForeignAccountActivityType ¶
type ForeignAccountActivityType struct { XMLName xml.Name `xml:"ForeignAccountActivity"` SeqNum fincen.SeqNumber `xml:"SeqNum,attr"` ForeignAccountHeldQuantityText *fincen.RestrictString4 `xml:"ForeignAccountHeldQuantityText,omitempty" json:",omitempty"` LateFilingReasonCode *fincen.ValidateLateFilingReasonCodeType `xml:"LateFilingReasonCode,omitempty" json:",omitempty"` ReportCalendarYearText fincen.DateYYYYType `xml:"ReportCalendarYearText"` SignatureAuthoritiesQuantityText *fincen.RestrictString4 `xml:"SignatureAuthoritiesQuantityText,omitempty" json:",omitempty"` }
func (ForeignAccountActivityType) Validate ¶
func (r ForeignAccountActivityType) Validate(args ...string) error
type PartyIdentificationType ¶
type PartyIdentificationType struct { XMLName xml.Name `xml:"PartyIdentification"` SeqNum fincen.SeqNumber `xml:"SeqNum,attr"` OtherIssuerCountryText *fincen.RestrictString2 `xml:"OtherIssuerCountryText,omitempty" json:",omitempty"` OtherPartyIdentificationTypeText *fincen.RestrictString50 `xml:"OtherPartyIdentificationTypeText,omitempty" json:",omitempty"` PartyIdentificationNumberText *fincen.RestrictString25 `xml:"PartyIdentificationNumberText,omitempty" json:",omitempty"` PartyIdentificationTypeCode *ValidateActivityPartyIdentificationCodeType `xml:"PartyIdentificationTypeCode,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"` 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"` RawIndividualTitleText *fincen.RestrictString20 `xml:"RawIndividualTitleText,omitempty" json:",omitempty"` RawPartyFullName *fincen.RestrictString150 `xml:"RawPartyFullName,omitempty" json:",omitempty"` }
func (PartyNameType) Validate ¶
func (r PartyNameType) Validate(args ...string) error
type PartyType ¶
type PartyType struct { XMLName xml.Name `xml:"Party"` SeqNum fincen.SeqNumber `xml:"SeqNum,attr"` ActivityPartyTypeCode ValidateActivityPartyCodeType `xml:"ActivityPartyTypeCode"` FilerFinancialInterest25ForeignAccountIndicator *ValidateIndicatorYNType `xml:"FilerFinancialInterest25ForeignAccountIndicator,omitempty" json:",omitempty"` FilerTypeConsolidatedIndicator *fincen.ValidateIndicatorNullType `xml:"FilerTypeConsolidatedIndicator,omitempty" json:",omitempty"` FilerTypeCorporationIndicator *fincen.ValidateIndicatorNullType `xml:"FilerTypeCorporationIndicator,omitempty" json:",omitempty"` FilerTypeFiduciaryOtherIndicator *fincen.ValidateIndicatorNullType `xml:"FilerTypeFiduciaryOtherIndicator,omitempty" json:",omitempty"` FilerTypeIndividualIndicator *fincen.ValidateIndicatorNullType `xml:"FilerTypeIndividualIndicator,omitempty" json:",omitempty"` FilerTypeOtherText *fincen.RestrictString50 `xml:"FilerTypeOtherText,omitempty" json:",omitempty"` FilerTypePartnershipIndicator *fincen.ValidateIndicatorNullType `xml:"FilerTypePartnershipIndicator,omitempty" json:",omitempty"` IndividualBirthDateText *fincen.DateYYYYMMDDOrBlankType `xml:"IndividualBirthDateText,omitempty" json:",omitempty"` SelfEmployedIndicator *fincen.ValidateIndicatorNullType `xml:"SelfEmployedIndicator,omitempty" json:",omitempty"` SignatureAuthoritiesIndicator *ValidateIndicatorYNType `xml:"SignatureAuthoritiesIndicator,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"` }
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 ValidateAccountPartyCodeType ¶
type ValidateAccountPartyCodeType string
May be one of 41, 42, 43, 44
func (ValidateAccountPartyCodeType) Validate ¶
func (r ValidateAccountPartyCodeType) Validate() error
type ValidateAccountPartyIdentificationCodeType ¶
type ValidateAccountPartyIdentificationCodeType string
May be one of -2, 1, 2, 9
func (ValidateAccountPartyIdentificationCodeType) Validate ¶
func (r ValidateAccountPartyIdentificationCodeType) Validate() error
type ValidateActivityPartyCodeType ¶
type ValidateActivityPartyCodeType string
May be one of 15, 35, 37, 56, 57
func (ValidateActivityPartyCodeType) Validate ¶
func (r ValidateActivityPartyCodeType) Validate() error
type ValidateActivityPartyIdentificationCodeType ¶
type ValidateActivityPartyIdentificationCodeType string
May be one of 1, 2, 4, 6, 9, 28, 31, 999
func (ValidateActivityPartyIdentificationCodeType) Validate ¶
func (r ValidateActivityPartyIdentificationCodeType) Validate() error
type ValidateIndicatorYNType ¶ added in v0.3.2
type ValidateIndicatorYNType string
May be one of Y, N,
func (ValidateIndicatorYNType) Validate ¶ added in v0.3.2
func (r ValidateIndicatorYNType) Validate() error
type ValidatePartyNameCodeType ¶
type ValidatePartyNameCodeType string
May be one of L
func (ValidatePartyNameCodeType) Validate ¶
func (r ValidatePartyNameCodeType) Validate() error
Click to show internal directories.
Click to hide internal directories.