cash_payments

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"
	PartyContactAssistance  = "8"
	PartyIndividual         = "16"
	PartyPerson             = "23"
	PartyBusiness           = "4"
	PartyITCTCC             = "28"
	PartyITCEIN             = "2"
)

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"`
	CorrectsAmendsPriorReportIndicator *fincen.ValidateIndicatorNullType `xml:"CorrectsAmendsPriorReportIndicator,omitempty" json:",omitempty"`
	InitialReportIndicator             *fincen.ValidateIndicatorNullType `xml:"InitialReportIndicator,omitempty" json:",omitempty"`
}

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 ValidateActivityNarrativeSequenceNumber `xml:"ActivityNarrativeSequenceNumber"`
	ActivityNarrativeText           fincen.RestrictString750                `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"`
	EFilingPriorDocumentNumber                  int64                             `xml:"EFilingPriorDocumentNumber,omitempty" json:",omitempty"`
	FilingDateText                              fincen.DateYYYYMMDDType           `xml:"FilingDateText"`
	MultipleSubjectsIndicator                   *fincen.ValidateIndicatorNullType `xml:"MultipleSubjectsIndicator,omitempty" json:",omitempty"`
	SuspiciousTransactionIndicator              *fincen.ValidateIndicatorNullType `xml:"SuspiciousTransactionIndicator,omitempty" json:",omitempty"`
	TransactionOnBehalfMultiplePersonsIndicator *fincen.ValidateIndicatorNullType `xml:"TransactionOnBehalfMultiplePersonsIndicator,omitempty" json:",omitempty"`
	ActivityAssociation                         *ActivityAssociationType          `xml:"ActivityAssociation"`
	Party                                       []*PartyType                      `xml:"Party"`
	CurrencyTransactionActivity                 *CurrencyTransactionActivityType  `xml:"CurrencyTransactionActivity"`
	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 CurrencyTransactionActivityDetailType

type CurrencyTransactionActivityDetailType struct {
	XMLName                                   xml.Name                                           `xml:"CurrencyTransactionActivityDetail"`
	SeqNum                                    fincen.SeqNumber                                   `xml:"SeqNum,attr"`
	CurrencyTransactionActivityDetailTypeCode *ValidateCurrencyTransactionActivityDetailCodeType `xml:"CurrencyTransactionActivityDetailTypeCode,omitempty" json:",omitempty"`
	DetailTransactionAmountText               *fincen.RestrictString15                           `xml:"DetailTransactionAmountText,omitempty" json:",omitempty"`
	DetailTransactionDescription              string                                             `xml:"DetailTransactionDescription,omitempty" json:",omitempty"`
	InstrumentProductServiceTypeCode          *fincen.ValidateInstrumentProductServiceTypeCode   `xml:"InstrumentProductServiceTypeCode,omitempty" json:",omitempty"`
	IssuerNameText                            string                                             `xml:"IssuerNameText,omitempty" json:",omitempty"`
	OtherForeignCurrencyCountryText           *fincen.RestrictString2                            `xml:"OtherForeignCurrencyCountryText,omitempty" json:",omitempty"`
}

func (CurrencyTransactionActivityDetailType) Validate

type CurrencyTransactionActivityType

type CurrencyTransactionActivityType struct {
	XMLName                           xml.Name                                 `xml:"CurrencyTransactionActivity"`
	SeqNum                            fincen.SeqNumber                         `xml:"SeqNum,attr"`
	InstallmentPaymentOtherIndicator  *fincen.ValidateIndicatorNullType        `xml:"InstallmentPaymentOtherIndicator,omitempty" json:",omitempty"`
	Total100DollarBillInAmountText    string                                   `xml:"Total100DollarBillInAmountText,omitempty" json:",omitempty"`
	TotalCashInReceiveAmountText      string                                   `xml:"TotalCashInReceiveAmountText"`
	TotalPriceAmountText              string                                   `xml:"TotalPriceAmountText,omitempty" json:",omitempty"`
	TransactionDateText               fincen.DateYYYYMMDDType                  `xml:"TransactionDateText"`
	CurrencyTransactionActivityDetail []*CurrencyTransactionActivityDetailType `xml:"CurrencyTransactionActivityDetail"`
}

func (CurrencyTransactionActivityType) Validate

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

type PartyIdentificationType

type PartyIdentificationType struct {
	XMLName                       xml.Name                            `xml:"PartyIdentification"`
	SeqNum                        fincen.SeqNumber                    `xml:"SeqNum,attr"`
	OtherIssuerStateText          *fincen.RestrictString3             `xml:"OtherIssuerStateText,omitempty" json:",omitempty"`
	PartyIdentificationNumberText *fincen.RestrictString25            `xml:"PartyIdentificationNumberText,omitempty" json:",omitempty"`
	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"`
	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"`
	OccupationBusinessText fincen.RestrictString30 `xml:"OccupationBusinessText"`
}

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"`
	IndividualBirthDateText *fincen.DateYYYYMMDDOrBlankType `xml:"IndividualBirthDateText,omitempty" json:",omitempty"`
	PartyTypeCode           *fincen.ValidatePartyTypeCode   `xml:"PartyTypeCode,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"`
}

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"`
	PhoneNumberText *fincen.RestrictString16 `xml:"PhoneNumberText,omitempty" json:",omitempty"`
}

func (PhoneNumberType) Validate

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

type ValidateActivityNarrativeSequenceNumber

type ValidateActivityNarrativeSequenceNumber int

May be one of 1

func (ValidateActivityNarrativeSequenceNumber) Validate

type ValidateActivityPartyCodeType

type ValidateActivityPartyCodeType string

May be one of 35, 37, 16, 23, 4, 8, 3

func (ValidateActivityPartyCodeType) Validate

func (r ValidateActivityPartyCodeType) Validate() error

type ValidateCurrencyTransactionActivityDetailCodeType added in v0.2.7

type ValidateCurrencyTransactionActivityDetailCodeType string

May be one of 1, 2, 3, 4, 5, 6, 7, 8, 9, 999

func (ValidateCurrencyTransactionActivityDetailCodeType) Validate added in v0.2.7

type ValidatePartyIdentificationCodeType

type ValidatePartyIdentificationCodeType string

May be one of 1, 2, 5, 6, 7, 28, 999

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