Class: CheckoutSdk::Common::Product

Inherits:
Object
  • Object
show all
Defined in:
lib/checkout_sdk/common/product.rb

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

Returns:

  • (String)


13
14
15
16
17
18
# File 'lib/checkout_sdk/common/product.rb', line 13

class Product
  attr_accessor :name,
                :quantity,
                :price,
                :reference
end

#priceInteger

Returns:

  • (Integer)


13
14
15
16
17
18
# File 'lib/checkout_sdk/common/product.rb', line 13

class Product
  attr_accessor :name,
                :quantity,
                :price,
                :reference
end

#quantityInteger

Returns:

  • (Integer)


13
14
15
16
17
18
# File 'lib/checkout_sdk/common/product.rb', line 13

class Product
  attr_accessor :name,
                :quantity,
                :price,
                :reference
end

#referenceString

Returns:

  • (String)


13
14
15
16
17
18
# File 'lib/checkout_sdk/common/product.rb', line 13

class Product
  attr_accessor :name,
                :quantity,
                :price,
                :reference
end