• Articles
  • Api Documentation

    Show / Hide Table of Contents
    • Yort.Laybuy.InStore
      • CancelOrderRequest
      • CancelOrderResponse
      • CreateOrderRequest
      • CreateOrderResponse
      • ILaybuyClient
      • LaybuyApiException
      • LaybuyApiResponseBase
      • LaybuyClient
      • LaybuyClientConfiguration
      • LaybuyCredentials
      • LaybuyCustomerAddress
      • LaybuyCustomerBase
      • LaybuyEnvironment
      • LaybuyItem
      • LaybuyOrderRefund
      • LaybuyOrderStatus
      • LaybuyRequestBase
      • LaybuyStatus
      • OrderRequest
      • OrderResponse
      • OrderStatusRequest
      • OrderStatusResponse
      • RefundRequest
      • RefundResponse
      • RequestLaybuyCustomer
      • ResponseLaybuyCustomer
      • StandardOriginData

    Class LaybuyCustomerBase

    Provides details about a customer to/from Laybuy.

    Inheritance
    Object
    LaybuyCustomerBase
    RequestLaybuyCustomer
    ResponseLaybuyCustomer
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    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 Source

    Email

    The email address of the customer.

    Declaration
    [JsonProperty("email")]
    public string Email { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    FirstName

    The first name of the customer.

    Declaration
    [JsonProperty("firstname")]
    public string FirstName { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    LastName

    The surname of the customer.

    Declaration
    [JsonProperty("lastname")]
    public string LastName { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    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.

    See Also

    RequestLaybuyCustomer
    ResponseLaybuyCustomer
    • Improve this Doc
    • View Source
    Back to top Copyright (c) 2020 Troy Willmot