Skip to content
This repository has been archived by the owner on Oct 16, 2019. It is now read-only.

Commit

Permalink
feat(customer_model): add customerHash field
Browse files Browse the repository at this point in the history
  • Loading branch information
Etchs committed Jun 21, 2019
1 parent 3828ab7 commit 99f1424
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/models/customer_model.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const GuestCustomer = createModel({
/**
* @class Class for Guest Customer model
* @param {String} customerNumber - the customer number.
* @param {String} customerHash - the customer hash.
* @param {String} gender - the gender.
* @param {String} firstName - the first name.
* @param {String} lastName - the last name.
Expand All @@ -22,6 +23,7 @@ const GuestCustomer = createModel({
*/
const CheckoutCustomer = createModel({
customerNumber: { key: 'customer_number', type: 'string' },
customerHash: { key: 'customer_hash', type: 'string' },
gender: { key: 'gender', type: 'string' },
firstName: { key: 'first_name', type: 'string' },
lastName: { key: 'last_name', type: 'string' },
Expand Down

0 comments on commit 99f1424

Please sign in to comment.