class Gateway::ShoppingCartItemCollection
Attributes
Description[RW]
DiscountAmountInCents[RW]
ItemReference[RW]
Name[RW]
Quantity[RW]
TotalCostInCents[RW]
UnitCostInCents[RW]
Public Instance Methods
to_json()
click to toggle source
# File lib/gateway/ShoppingCart/shopping_cart_item.rb, line 19 def to_json hash = {} instance_variables.each { |var| hash[var.to_s.delete('@')] = instance_variable_get(var) } hash end