This repository has been archived by the owner on Aug 26, 2022. It is now read-only.
/
model_customer_address.go
28 lines (26 loc) · 1.92 KB
/
model_customer_address.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
* Customers API
*
* Customers focuses on solving authentic identification of humans who are legally able to hold and transfer currency within the US. Primarily this project solves [Know Your Customer](https://en.wikipedia.org/wiki/Know_your_customer) (KYC), [Customer Identification Program](https://en.wikipedia.org/wiki/Customer_Identification_Program) (CIP), [Office of Foreign Asset Control](https://www.treasury.gov/about/organizational-structure/offices/Pages/Office-of-Foreign-Assets-Control.aspx) (OFAC) checks and verification workflows to comply with United States federal law and ensure authentic transfers. Customers has an objective to be a service for detailed due diligence on individuals and companies for Financial Institutions and services in a modernized and extensible way. Customer phone numbers and addresses are stored and partially used in KYC/OFAC validation. Arbitrary key/value pairs can be stored for a Customer. Documents and Disclaimers, and their acknowledgment are also stored under a Customer as they're accepted. Bank Accounts, which can be validated with micro-deposits currently, are stored under each Customer. ![](https://raw.githubusercontent.com/adamdecaf/customers/create-accounts/docs/images/customer.png)
*
* API version: v1
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package client
// CustomerAddress struct for CustomerAddress
type CustomerAddress struct {
// Unique identifier for this Address
AddressID string `json:"addressID"`
Type AddressType `json:"type"`
// First line of the address
Address1 string `json:"address1"`
// Second line of the address
Address2 string `json:"address2,omitempty"`
City string `json:"city"`
// two character code of a US state
State string `json:"state"`
PostalCode string `json:"postalCode"`
Country string `json:"country"`
// Address has been validated for customer
Validated bool `json:"validated,omitempty"`
}