Class: PurchaseDrop

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

Overview

PurchaseDrop represents a purchase of a product.

Instance Method Summary collapse

Methods inherited from Liquid::Simplero::Drop

#dom_id

Instance Method Details

#address ⇒ String

Returns:

  • (String)

#address_2 ⇒ String

Returns:

  • (String)

#city ⇒ String

Returns:

  • (String)

#country_name ⇒ String

Returns:

  • (String)

#display_quantity ⇒ String

Returns text describing the quantity being ordered. If the product is not credits and the quantity is 1, this will return nil.

Returns:

  • (String)

#first_names ⇒ String

Returns:

  • (String)

#formatted_address ⇒ Object

@return [CollectionDrop]

#manage_url ⇒ Object

#name ⇒ String

Returns:

  • (String)

#payment_method ⇒ PaymentMethodDrop

Returns:

#post_purchase_tracking_code ⇒ Object

#postal_code ⇒ String

Returns:

  • (String)

#product ⇒ Object

The ProductDrop that was purchased.

@return [ProductDrop]

#purchased_at ⇒ Object

The date/time the purchase was made.

@return [DateTime]

#region_code ⇒ Object

Abbreviation of the region (state/province/etc.)

@return [String]

#region_name ⇒ Object

Full name of the region (state/province/etc.)

@return [String]