Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRoutes ¶
func RegisterRoutes(logger log.Logger, r *mux.Router, accounts Repository, validations validator.Repository, fedClient fed.Client, keeper, transitKeeper *secrets.StringKeeper, validationStrategies map[validator.StrategyKey]validator.Strategy, ofac *AccountOfacSearcher, appSalt string)
Types ¶
type AccountOfacSearcher ¶
type AccountOfacSearcher struct { Repo Repository WatchmanClient watchman.Client }
func (*AccountOfacSearcher) StoreAccountOFACSearch ¶
func (s *AccountOfacSearcher) StoreAccountOFACSearch(account *client.Account, requestID string) error
StoreAccountOFACSearch performs OFAC searches against the Account's HolderName and nickname if populated. The search result is stored in s.Repo for use later (in approvals)
type CreateAccountRequest ¶
type CreateAccountRequest struct { HolderName string `json:"holderName"` AccountNumber string `json:"accountNumber"` RoutingNumber string `json:"routingNumber"` Type client.AccountType `json:"type"` // contains filtered or unexported fields }
func (*CreateAccountRequest) Disfigure ¶
func (req *CreateAccountRequest) Disfigure(keeper *secrets.StringKeeper, appSalt string) error
func (*CreateAccountRequest) Validate ¶
func (req *CreateAccountRequest) Validate() error
Click to show internal directories.
Click to hide internal directories.