Class: Nuvemshop::Order::PromotionalDiscount
- Defined in:
- lib/nuvemshop/order/promotional_discount.rb
Instance Attribute Summary collapse
-
#contents ⇒ Object
Returns the value of attribute contents.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#id ⇒ Object
Returns the value of attribute id.
-
#order_id ⇒ Object
Returns the value of attribute order_id.
-
#promotions_applied ⇒ Object
Returns the value of attribute promotions_applied.
-
#store_id ⇒ Object
Returns the value of attribute store_id.
-
#total_discount_amount ⇒ Object
Returns the value of attribute total_discount_amount.
Method Summary
Methods inherited from BaseModel
attr_accessor, attributes, #attributes, #pretty_print
Methods included from Extensions::MassAssignment
Instance Attribute Details
#contents ⇒ Object
Returns the value of attribute contents.
4 5 6 |
# File 'lib/nuvemshop/order/promotional_discount.rb', line 4 def contents @contents end |
#created_at ⇒ Object
Returns the value of attribute created_at.
4 5 6 |
# File 'lib/nuvemshop/order/promotional_discount.rb', line 4 def created_at @created_at end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/nuvemshop/order/promotional_discount.rb', line 4 def id @id end |
#order_id ⇒ Object
Returns the value of attribute order_id.
4 5 6 |
# File 'lib/nuvemshop/order/promotional_discount.rb', line 4 def order_id @order_id end |
#promotions_applied ⇒ Object
Returns the value of attribute promotions_applied.
4 5 6 |
# File 'lib/nuvemshop/order/promotional_discount.rb', line 4 def promotions_applied @promotions_applied end |
#store_id ⇒ Object
Returns the value of attribute store_id.
4 5 6 |
# File 'lib/nuvemshop/order/promotional_discount.rb', line 4 def store_id @store_id end |
#total_discount_amount ⇒ Object
Returns the value of attribute total_discount_amount.
4 5 6 |
# File 'lib/nuvemshop/order/promotional_discount.rb', line 4 def total_discount_amount @total_discount_amount end |