Comments (6)
Due to how the OpenAPI generator creates "enums" for Go I don't think we can call it Rejected
. The generator will create to const REJECTED = "rejected"
values and Go won't be able to compile those.
We need to find a term for this or figure out how to share REJECTED
.
Customer Status: https://github.com/moov-io/customers/blob/master/pkg/client/model_customer_status.go
from customers.
@adamdecaf this might fix your issue OpenAPITools/openapi-generator#535 (comment)
from customers.
Sweet! 4.3.2 doesn't seem to exist on DockerHub, so I'm not sure if we need to request a release or something.
from customers.
I tried this on a branch #193 and wish we could customize this a bit more.
CUSTOMER_INDIVIDUAL
would be a lot nicer.
// CustomerStatus State of the customer
type CustomerStatus string
// List of CustomerStatus
const (
CUSTOMERSTATUS_DECEASED CustomerStatus = "Deceased"
CUSTOMERSTATUS_REJECTED CustomerStatus = "Rejected"
CUSTOMERSTATUS_UNKNOWN CustomerStatus = "Unknown"
CUSTOMERSTATUS_RECEIVE_ONLY CustomerStatus = "ReceiveOnly"
CUSTOMERSTATUS_VERIFIED CustomerStatus = "Verified"
)
from customers.
Yeah, one of the downsides of code gen 😅
from customers.
@vxio can we chat on this? There should be a failure status for accounts along with a "frozen" status. I think we just need to prefix the generated values for now, but I want to look at our options.
Edit: A Customer also needs a frozen status - this will initially be for rejected OFAC hits.
See: moov-io/paygate#579
from customers.
Related Issues (20)
- Vulnerability Disclosure Program? HOT 3
- config: read from a YAML file HOT 2
- errors: standardize how we handle not found errors in the model layer
- Customer phone numbers can not be deleted. HOT 1
- docs: include sections for everything new/updated in v0.5.0
- customers: GET, PUT, DELETE /customers/:id does not validate organization
- accounts: GET /accounts/:id does not validate organization
- accounts: pre-note validations
- Customer Birthdate is not being saved/returned
- cmd/main: PREVENT_INSECURE_STARTUP option HOT 1
- Customers: Add proposed business customer type fields HOT 1
- Saving metadata only saves/returns the last{key: value} pair
- Potential issues with pagination using datetime fields. HOT 6
- Address type being overwritten as empty string on PUT to /customers/{customerID}
- Action Required: Fix Renovate Configuration
- Creating customer with multiple addresses HOT 2
- generate interfaces for client
- ofac: periodic refreshing of search results
- accounts,customers: sdn_type is invalid database type
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from customers.