Customer
Billing and delivery details attached to an order.
Last updated
Usage
Customer contains billing and delivery addresses, contact information, and AcceptMarketing.
Key properties
| Property | Meaning |
|---|---|
| FirstName / LastName / Company | Customer name and optional company. |
| Address / ZipCode / City / Country | Billing address. |
| DeliveryAddress / DeliveryZipCode / DeliveryCity / DeliveryCountry | Separate delivery address when used. |
| Email / Phone | Contact details. |
| AcceptMarketing | The customer's marketing preference. |
Public properties
Property names and C# types follow this package version. Some fields are populated only when a service or repository prepares the model.
| Property | C# type |
|---|---|
| CustomerId | int |
| Company | string? |
| CVR | string |
| EAN | string |
| FirstName | string |
| LastName | string |
| Address | string |
| ZipCode | string |
| City | string |
| string | |
| Phone | string |
| Country | string |
| Comment | string |
| DeliveryCompany | string? |
| DeliveryFirstName | string |
| DeliveryLastName | string |
| DeliveryAddress | string |
| DeliveryZipCode | string |
| DeliveryCity | string |
| DeliveryCountry | string |
| AcceptMarketing | bool |
Source: OptimusCommercev2.Core/Models/Customer.cs · OptimusCommerce.Extension 17.94.0