Class: CustomerDrop

Inherits:
Liquid::Simplero::Drop show all
Defined in:
app/drops/customer_drop.rb

Overview

current_customer refers to the contact making the request. This will be nil if the current UserDrop is not a contact on the account or is not logged in. CustomerDrop will contain attributes that are specific to the account being accessed. See also SiteMemberDrop and UserDrop.

Instance Method Summary collapse

Methods inherited from Liquid::Simplero::Drop

#dom_id

Instance Method Details

#commission_percent ⇒ Float

Returns:

  • (Float)

#credits ⇒ Array

Returns:

  • (Array)

#customer_acquisition_cost_cents_excl_tax ⇒ Integer

Returns:

  • (Integer)

#do_not_contact ⇒ Boolean

Returns:

  • (Boolean)

#do_not_contact? ⇒ Boolean

Returns:

  • (Boolean)

#email ⇒ String

Returns:

#fields ⇒ CustomFieldsDrop

Returns an object where custom fields (those you define on your account) can be looked up using the interpolation key you defined. Ex: current_customer.fields.birth_date.

Returns:

#first_names ⇒ String

Returns:

#geo_ip ⇒ String

Returns:

#last_name ⇒ String

Returns:

#lat ⇒ Float

Returns:

  • (Float)

#lead_acquisition_cost_cents_excl_tax ⇒ Integer

Returns:

  • (Integer)

#lead_score ⇒ Integer

Returns:

  • (Integer)

#lifetime_value_cents_excl_tax ⇒ Integer

Returns:

  • (Integer)

#lng ⇒ Float

Returns:

  • (Float)

#name ⇒ String

Returns:

#notes ⇒ CollectionDrop

Returns:

#own_ref ⇒ String

Returns:

#ref ⇒ String

Returns:

#referrer ⇒ String

Returns:

#signup_ip ⇒ String

Returns:

#String ⇒ utm_keyword_first

Returns:

#tag_names ⇒ String

Returns:

#tags ⇒ CollectionDrop

Returns:

#track ⇒ String

Returns:

#user ⇒ UserDrop

Returns:

#utm_adgroup_first ⇒ String

Returns:

#utm_adgroup_last ⇒ String

Returns:

#utm_campaign_first ⇒ String

Returns:

#utm_campaign_last ⇒ String

Returns:

#utm_content_first ⇒ String

Returns:

#utm_content_last ⇒ String

Returns:

#utm_keyword_first ⇒ Object

#utm_keyword_last ⇒ String

Returns:

#utm_medium_first ⇒ String

Returns:

#utm_medium_last ⇒ String

Returns:

#utm_source_first ⇒ String

Returns:

#utm_source_last ⇒ String

Returns:

#utm_term_first ⇒ String

Returns:

#utm_term_last ⇒ String

Returns: