Property | Type | Description |
---|
Method | Description | |
---|---|---|
Customer ( string firstName, string lastName, string id, int ordersCount = null, string email = null, bool verifiedEmail = null, System.DateTime createdAt = null, string notes = null, Riskified.SDK.Model.OrderElements.SocialDetails social = null, |
Creates a new Customer
|
|
Validate ( Validations validationType = Validations.Weak ) : void |
Validates the objects fields content
|
public Customer ( string firstName, string lastName, string id, int ordersCount = null, string email = null, bool verifiedEmail = null, System.DateTime createdAt = null, string notes = null, Riskified.SDK.Model.OrderElements.SocialDetails social = null, |
||
firstName | string | The customer first name |
lastName | string | The customer last name |
id | string | The customer id (optional) |
ordersCount | int | The total number of orders made to the merchant by this customer (optional) |
string | The customer email - as registered with (optional) | |
verifiedEmail | bool | Signs if the email was verified by the merchant is some way (optional) |
createdAt | System.DateTime | The time of creation of the customer card (optional) |
notes | string | Additional notes regarding the customer (optional) |
social | Riskified.SDK.Model.OrderElements.SocialDetails | |
address | ||
return | System |
public Validate ( Validations validationType = Validations.Weak ) : void | ||
validationType | Validations | Validation level to use on this Model |
return | void |