exempt_designation

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: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PartyTransmitter          = "35"
	PartyTransmitterContact   = "37"
	PartyAuthorizedOfficial   = "3"
	PartyExemptParty          = "11"
	PartyExemptFilerBank      = "45"
	PartyExemptAffiliatedBank = "12"
)

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.ValidateIndicatorNullType `xml:"ExemptionAmendedIndicator,omitempty" json:",omitempty"`
	ExemptionRevokedIndicator   *fincen.ValidateIndicatorNullType `xml:"ExemptionRevokedIndicator,omitempty" json:",omitempty"`
	InitialDesignationIndicator *fincen.ValidateIndicatorNullType `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.ValidateIndicatorNullType `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 (EFilingPriorDocumentNumberType) Validate

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.ValidateIndicatorNullType `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"`
}

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"`
}

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

type ValidatePartyIdentificationCodeType

type ValidatePartyIdentificationCodeType string

May be one of 1, 2, 14, 28

func (ValidatePartyIdentificationCodeType) Validate

type ValidatePartyNameCodeType

type ValidatePartyNameCodeType string

May be one of L, 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