Last active
August 29, 2015 14:23
-
-
Save simplement-e/4153d635b9f98252d814 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Customer | |
| { | |
| string Id { get; set; } | |
| string ExternalId { get; set; } | |
| string Name { get; set; } | |
| string Email { get; set; } | |
| bool IsAnonymous { get; set; } | |
| CustomerAddress MainAddress { get; set; } | |
| CustomerNewsletterStatus[] Optins { get; set; } | |
| CustomerLoyaltyData[] LoyaltyData { get; set; } | |
| } | |
| class CustomerNewsletterStatus | |
| { | |
| string NewsletterId { get; set; } | |
| string NewsletterLabel { get; set; } | |
| bool Optin { get; set; } | |
| DateTime? LastUpdate { get; set; } | |
| } | |
| class CustomerAddress | |
| { | |
| string FirstName { get; set; } | |
| string LastName { get; set; } | |
| string CompanyName { get; set; } | |
| string Address { get; set; } | |
| string City { get; set; } | |
| string Zone { get; set; } | |
| string ZipCode { get; set; } | |
| string CountryIsoCode { get; set; } | |
| string Phone { get; set; } | |
| string Phone2 { get; set; } | |
| } | |
| class CustomerLoyaltyData | |
| { | |
| decimal CurrentBalance { get; set; } | |
| List<LoyaltyEventData> LatestEvents { get; set; } | |
| List<Coupon> ActiveCoupons { get; set; } | |
| List<Coupon> AvailableCoupons { get; set; } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment