Documentation
¶
Index ¶
- type ActivityAssociationType
- type ActivityType
- type AddressType
- type DesignationExemptActivityType
- type EFilingPriorDocumentNumberType
- type ElectronicAddressType
- type PartyIdentificationType
- type PartyNameType
- type PartyOccupationBusinessType
- type PartyType
- type PhoneNumberType
- type ValidateActivityPartyCodeType
- type ValidateFederalRegulatorCodeType
- type ValidatePartyIdentificationCodeType
- type ValidatePartyNameCodeType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityAssociationType ¶
type ActivityAssociationType struct { XMLName xml.Name `xml:"ActivityAssociation"` SeqNum fincen.SeqNumber `xml:"SeqNum,attr"` ExemptionAmendedIndicator *fincen.ValidateIndicatorType `xml:"ExemptionAmendedIndicator,omitempty" json:",omitempty"` ExemptionRevokedIndicator *fincen.ValidateIndicatorType `xml:"ExemptionRevokedIndicator,omitempty" json:",omitempty"` InitialDesignationIndicator *fincen.ValidateIndicatorType `xml:"InitialDesignationIndicator,omitempty" json:",omitempty"` }
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"` DesignatedMoreThanOneBankIndicator *fincen.ValidateIndicatorType `xml:"DesignatedMoreThanOneBankIndicator,omitempty" json:",omitempty"` EFilingPriorDocumentNumber *EFilingPriorDocumentNumberType `xml:"EFilingPriorDocumentNumber,omitempty" json:",omitempty"` FilingDateText fincen.DateYYYYMMDDType `xml:"FilingDateText"` ActivityAssociation *ActivityAssociationType `xml:"ActivityAssociation"` Party []*PartyType `xml:"Party"` DesignationExemptActivity *DesignationExemptActivityType `xml:"DesignationExemptActivity"` }
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"` RawCountryCodeText *fincen.RestrictString2 `xml:"RawCountryCodeText,omitempty" json:",omitempty"` RawStateCodeText fincen.RestrictString3 `xml:"RawStateCodeText"` RawStreetAddress1Text fincen.RestrictString100 `xml:"RawStreetAddress1Text"` RawZIPCode fincen.RestrictString9 `xml:"RawZIPCode"` }
func (AddressType) Validate ¶
func (r AddressType) Validate(args ...string) error
type DesignationExemptActivityType ¶
type DesignationExemptActivityType struct { XMLName xml.Name `xml:"DesignationExemptActivity"` SeqNum fincen.SeqNumber `xml:"SeqNum,attr"` ExemptBasisTypeCode fincen.ValidateExemptBasisTypeCode `xml:"ExemptBasisTypeCode"` ExemptEffectiveBeginDateText fincen.DateYYYYMMDDType `xml:"ExemptEffectiveBeginDateText"` }
func (DesignationExemptActivityType) Validate ¶
func (r DesignationExemptActivityType) Validate(args ...string) error
type EFilingPriorDocumentNumberType ¶
type EFilingPriorDocumentNumberType string
14-digit numeric
func (EFilingPriorDocumentNumberType) String ¶
func (r EFilingPriorDocumentNumberType) String() string
func (EFilingPriorDocumentNumberType) Validate ¶
func (r EFilingPriorDocumentNumberType) Validate() error
type ElectronicAddressType ¶
type ElectronicAddressType struct { XMLName xml.Name `xml:"ElectronicAddress"` SeqNum fincen.SeqNumber `xml:"SeqNum,attr"` ElectronicAddressText fincen.RestrictString100 `xml:"ElectronicAddressText"` }
func (ElectronicAddressType) Validate ¶
func (r ElectronicAddressType) Validate(args ...string) error
type PartyIdentificationType ¶
type PartyIdentificationType struct { XMLName xml.Name `xml:"PartyIdentification"` SeqNum fincen.SeqNumber `xml:"SeqNum,attr"` PartyIdentificationNumberText fincen.RestrictString25 `xml:"PartyIdentificationNumberText"` PartyIdentificationTypeCode ValidatePartyIdentificationCodeType `xml:"PartyIdentificationTypeCode"` }
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,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"` RawIndividualTitleText *fincen.RestrictString35 `xml:"RawIndividualTitleText,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.RestrictString30 `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"` PartyAsEntityOrganizationIndicator *fincen.ValidateIndicatorType `xml:"PartyAsEntityOrganizationIndicator,omitempty" json:",omitempty"` PrimaryRegulatorTypeCode *ValidateFederalRegulatorCodeType `xml:"PrimaryRegulatorTypeCode,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"` PartyOccupationBusiness *PartyOccupationBusinessType `xml:"PartyOccupationBusiness,omitempty" json:",omitempty"` ElectronicAddress *ElectronicAddressType `xml:"ElectronicAddress,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, 11, 45, 12, 3
func (ValidateActivityPartyCodeType) Validate ¶
func (r ValidateActivityPartyCodeType) Validate() error
type ValidateFederalRegulatorCodeType ¶
type ValidateFederalRegulatorCodeType string
May be one of 1, 2, 7, 3, 4
func (ValidateFederalRegulatorCodeType) Validate ¶
func (r ValidateFederalRegulatorCodeType) Validate() error
type ValidatePartyIdentificationCodeType ¶
type ValidatePartyIdentificationCodeType string
May be one of 1, 2, 14, 28
func (ValidatePartyIdentificationCodeType) Validate ¶
func (r ValidatePartyIdentificationCodeType) Validate() error
type ValidatePartyNameCodeType ¶
type ValidatePartyNameCodeType string
May be one of L, DBA
func (ValidatePartyNameCodeType) Validate ¶
func (r ValidatePartyNameCodeType) Validate() error
Click to show internal directories.
Click to hide internal directories.