C# 클래스 Riskified.SDK.Model.OrderElements.Customer

상속: IJsonSerializable
파일 보기 프로젝트 열기: Riskified/sdk_net 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
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, BasicAddress address = null ) : System

Creates a new Customer

Validate ( Validations validationType = Validations.Weak ) : void

Validates the objects fields content

메소드 상세

Customer() 공개 메소드

Creates a new Customer
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, BasicAddress address = null ) : System
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)
email 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 BasicAddress
리턴 System

Validate() 공개 메소드

Validates the objects fields content
throws an exception if one of the parameters doesn't match the expected format
public Validate ( Validations validationType = Validations.Weak ) : void
validationType Validations Validation level to use on this Model
리턴 void