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_percentFloat

Returns:

  • (Float)

#creditsArray

Returns:

  • (Array)

#customer_acquisition_cost_cents_excl_taxInteger

Returns:

  • (Integer)

#do_not_contactBoolean

Returns:

  • (Boolean)

#do_not_contact?Boolean

Returns:

  • (Boolean)

#emailString

Returns:

#fieldsCustomFieldsDrop

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_namesString

Returns:

#geo_ipString

Returns:

#last_nameString

Returns:

#latFloat

Returns:

  • (Float)

#lead_acquisition_cost_cents_excl_taxInteger

Returns:

  • (Integer)

#lead_scoreInteger

Returns:

  • (Integer)

#lifetime_value_cents_excl_taxInteger

Returns:

  • (Integer)

#lngFloat

Returns:

  • (Float)

#nameString

Returns:

#notesCollectionDrop

Returns:

#own_refString

Returns:

#refString

Returns:

#referrerString

Returns:

#signup_ipString

Returns:

#Stringutm_keyword_first

Returns:

#tag_namesString

Returns:

#tagsCollectionDrop

Returns:

#trackString

Returns:

#userUserDrop

Returns:

#utm_adgroup_firstString

Returns:

#utm_adgroup_lastString

Returns:

#utm_campaign_firstString

Returns:

#utm_campaign_lastString

Returns:

#utm_content_firstString

Returns:

#utm_content_lastString

Returns:

#utm_keyword_firstObject

#utm_keyword_lastString

Returns:

#utm_medium_firstString

Returns:

#utm_medium_lastString

Returns:

#utm_source_firstString

Returns:

#utm_source_lastString

Returns:

#utm_term_firstString

Returns:

#utm_term_lastString

Returns: