Class: Spree::ImportSchemas::Customers
- Inherits:
-
Spree::ImportSchema
- Object
- Spree::ImportSchema
- Spree::ImportSchemas::Customers
- Defined in:
- app/models/spree/import_schemas/customers.rb
Constant Summary collapse
- FIELDS =
[ { name: 'email', label: 'Email', required: true }, { name: 'first_name', label: 'First Name' }, { name: 'last_name', label: 'Last Name' }, { name: 'phone', label: 'Phone' }, { name: 'accepts_email_marketing', label: 'Accepts Email Marketing' }, { name: 'tags', label: 'Tags' }, { name: 'company', label: 'Company' }, { name: 'address1', label: 'Address 1' }, { name: 'address2', label: 'Address 2' }, { name: 'city', label: 'City' }, { name: 'province_code', label: 'Province Code' }, { name: 'country_code', label: 'Country Code' }, { name: 'zip', label: 'Zip' } ].freeze
Method Summary
Methods inherited from Spree::ImportSchema
#fields, #headers, #label_for_field, #optional_fields, #required_fields