class Booker::V4::Models::Customer
Attributes
Address[RW]
AllowReceiveEmails[RW]
AllowReceivePromotionalEmails[RW]
AllowReceiveSMS[RW]
CellPhone[RW]
CreditCard[RW]
CustomerID[RW]
CustomerRecordType[RW]
DateOfBirth[RW]
Email[RW]
EmergencyContactName[RW]
EmergencyContactPhone[RW]
EmergencyContactRelationship[RW]
FirstName[RW]
GUID[RW]
Gender[RW]
GenderID[RW]
HasActiveMembership[RW]
HasMembership[RW]
HasPastMembership[RW]
HomePhone[RW]
IsActive[RW]
IsNewCustomer[RW]
LastName[RW]
LocationID[RW]
LocationName[RW]
LoyaltyPoints[RW]
MobilePhone[RW]
MobilePhoneCarrierID[RW]
NumberOfReferrals[RW]
Occupation[RW]
PreferredStaffGender[RW]
PreferredStaffMemberID[RW]
ReferredByCustomerID[RW]
SendEmail[RW]
ShippingAddress[RW]
WorkPhone[RW]
WorkPhoneExt[RW]
Public Class Methods
from_hash(hash)
click to toggle source
Calls superclass method
Booker::Model::from_hash
# File lib/booker/v4/models/customer.rb, line 44 def self.from_hash(hash) return super unless hash['Customer'].is_a?(Hash) super(hash['Customer'].merge('CustomerID' => hash['CustomerID'])) end