Class: Nuvemshop::Order::PromotionalDiscount

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/nuvemshop/order/promotional_discount.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

attr_accessor, attributes, #attributes, #pretty_print

Methods included from Extensions::MassAssignment

#initialize

Instance Attribute Details

#contentsObject

Returns the value of attribute contents.



4
5
6
# File 'lib/nuvemshop/order/promotional_discount.rb', line 4

def contents
  @contents
end

#created_atObject

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

#idObject

Returns the value of attribute id.



4
5
6
# File 'lib/nuvemshop/order/promotional_discount.rb', line 4

def id
  @id
end

#order_idObject

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_appliedObject

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_idObject

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_amountObject

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