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

#addressString

Returns:

  • (String)

#address_2String

Returns:

  • (String)

#cityString

Returns:

  • (String)

#country_nameString

Returns:

  • (String)

#display_quantityString

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_namesString

Returns:

  • (String)

#formatted_addressObject

@return [CollectionDrop]

#manage_urlObject

#nameString

Returns:

  • (String)

#payment_methodPaymentMethodDrop

Returns:

#post_purchase_tracking_codeObject

#postal_codeString

Returns:

  • (String)

#productObject

The ProductDrop that was purchased.

@return [ProductDrop]

#purchased_atObject

The date/time the purchase was made.

@return [DateTime]

#region_codeObject

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

@return [String]

#region_nameObject

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

@return [String]