Class LaybuyCustomerBase
Provides details about a customer to/from Laybuy.
Inherited Members
Namespace: Yort.Laybuy.InStore
Assembly: Yort.Laybuy.InStore.dll
Syntax
public abstract class LaybuyCustomerBase
Remarks
Unfortunately the Laybuy API isn't consistent in it's format of customer entities, with the shape of the entity varying when it's used on a request vs. a response. This class provided properties common to a Laybuy customer entity in either direction. See RequestLaybuyCustomer and ResponseLaybuyCustomer classes for the full entities.
Properties
| Improve this Doc View SourceThe email address of the customer.
Declaration
[JsonProperty("email")]
public string Email { get; set; }
Property Value
Type | Description |
---|---|
String |
FirstName
The first name of the customer.
Declaration
[JsonProperty("firstname")]
public string FirstName { get; set; }
Property Value
Type | Description |
---|---|
String |
LastName
The surname of the customer.
Declaration
[JsonProperty("lastname")]
public string LastName { get; set; }
Property Value
Type | Description |
---|---|
String |
Phone
Required. The mobile phone number of the customer.
Declaration
[JsonProperty("phone")]
public string Phone { get; set; }
Property Value
Type | Description |
---|---|
String |
Remarks
The customer's mobile phone number must be provided for CreateOrderRequest requests so the can be sent the payment link via SMS.