Class: PurchaseDrop
- Inherits:
-
Liquid::Simplero::Drop
- Object
- Liquid::Drop
- Liquid::Simplero::Drop
- PurchaseDrop
- Defined in:
- app/drops/purchase_drop.rb
Overview
PurchaseDrop represents a purchase of a product.
Instance Method Summary collapse
- #address ⇒ String
- #address_2 ⇒ String
- #city ⇒ String
- #country_name ⇒ String
-
#display_quantity ⇒ String
Returns text describing the quantity being ordered.
- #first_names ⇒ String
-
#formatted_address ⇒ Object
@return [CollectionDrop].
- #manage_url ⇒ Object
- #name ⇒ String
- #payment_method ⇒ PaymentMethodDrop
- #post_purchase_tracking_code ⇒ Object
- #postal_code ⇒ String
-
#product ⇒ Object
The ProductDrop that was purchased.
-
#purchased_at ⇒ Object
The date/time the purchase was made.
-
#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].
Methods inherited from Liquid::Simplero::Drop
Instance Method Details
#address ⇒ String
#address_2 ⇒ String
#city ⇒ String
#country_name ⇒ 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.
#first_names ⇒ String
#formatted_address ⇒ Object
@return [CollectionDrop]
#manage_url ⇒ Object
#name ⇒ String
#payment_method ⇒ PaymentMethodDrop
#post_purchase_tracking_code ⇒ Object
#postal_code ⇒ 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]