Class: CheckoutSdk::Payments::Product
- Inherits:
-
Object
- Object
- CheckoutSdk::Payments::Product
- Defined in:
- lib/checkout_sdk/payments/product.rb
Instance Attribute Summary collapse
- #commodity_code ⇒ String
- #discount_amount ⇒ Integer
- #image_url ⇒ String
- #name ⇒ String
- #quantity ⇒ Integer
- #reference ⇒ String
- #sku ⇒ String
- #tax_amount ⇒ Integer
- #tax_rate ⇒ Integer
- #total_amount ⇒ Integer
- #unit_of_measure ⇒ String
- #unit_price ⇒ Integer
- #url ⇒ String
- #wxpay_goods_id ⇒ String
Instance Attribute Details
#commodity_code ⇒ String
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/checkout_sdk/payments/product.rb', line 33 class Product attr_accessor :name, :quantity, :unit_price, :reference, :commodity_code, :unit_of_measure, :total_amount, :tax_amount, :tax_rate, :discount_amount, :wxpay_goods_id, :image_url, :url, :sku end |
#discount_amount ⇒ Integer
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/checkout_sdk/payments/product.rb', line 33 class Product attr_accessor :name, :quantity, :unit_price, :reference, :commodity_code, :unit_of_measure, :total_amount, :tax_amount, :tax_rate, :discount_amount, :wxpay_goods_id, :image_url, :url, :sku end |
#image_url ⇒ String
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/checkout_sdk/payments/product.rb', line 33 class Product attr_accessor :name, :quantity, :unit_price, :reference, :commodity_code, :unit_of_measure, :total_amount, :tax_amount, :tax_rate, :discount_amount, :wxpay_goods_id, :image_url, :url, :sku end |
#name ⇒ String
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/checkout_sdk/payments/product.rb', line 33 class Product attr_accessor :name, :quantity, :unit_price, :reference, :commodity_code, :unit_of_measure, :total_amount, :tax_amount, :tax_rate, :discount_amount, :wxpay_goods_id, :image_url, :url, :sku end |
#quantity ⇒ Integer
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/checkout_sdk/payments/product.rb', line 33 class Product attr_accessor :name, :quantity, :unit_price, :reference, :commodity_code, :unit_of_measure, :total_amount, :tax_amount, :tax_rate, :discount_amount, :wxpay_goods_id, :image_url, :url, :sku end |
#reference ⇒ String
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/checkout_sdk/payments/product.rb', line 33 class Product attr_accessor :name, :quantity, :unit_price, :reference, :commodity_code, :unit_of_measure, :total_amount, :tax_amount, :tax_rate, :discount_amount, :wxpay_goods_id, :image_url, :url, :sku end |
#sku ⇒ String
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/checkout_sdk/payments/product.rb', line 33 class Product attr_accessor :name, :quantity, :unit_price, :reference, :commodity_code, :unit_of_measure, :total_amount, :tax_amount, :tax_rate, :discount_amount, :wxpay_goods_id, :image_url, :url, :sku end |
#tax_amount ⇒ Integer
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/checkout_sdk/payments/product.rb', line 33 class Product attr_accessor :name, :quantity, :unit_price, :reference, :commodity_code, :unit_of_measure, :total_amount, :tax_amount, :tax_rate, :discount_amount, :wxpay_goods_id, :image_url, :url, :sku end |
#tax_rate ⇒ Integer
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/checkout_sdk/payments/product.rb', line 33 class Product attr_accessor :name, :quantity, :unit_price, :reference, :commodity_code, :unit_of_measure, :total_amount, :tax_amount, :tax_rate, :discount_amount, :wxpay_goods_id, :image_url, :url, :sku end |
#total_amount ⇒ Integer
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/checkout_sdk/payments/product.rb', line 33 class Product attr_accessor :name, :quantity, :unit_price, :reference, :commodity_code, :unit_of_measure, :total_amount, :tax_amount, :tax_rate, :discount_amount, :wxpay_goods_id, :image_url, :url, :sku end |
#unit_of_measure ⇒ String
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/checkout_sdk/payments/product.rb', line 33 class Product attr_accessor :name, :quantity, :unit_price, :reference, :commodity_code, :unit_of_measure, :total_amount, :tax_amount, :tax_rate, :discount_amount, :wxpay_goods_id, :image_url, :url, :sku end |
#unit_price ⇒ Integer
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/checkout_sdk/payments/product.rb', line 33 class Product attr_accessor :name, :quantity, :unit_price, :reference, :commodity_code, :unit_of_measure, :total_amount, :tax_amount, :tax_rate, :discount_amount, :wxpay_goods_id, :image_url, :url, :sku end |
#url ⇒ String
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/checkout_sdk/payments/product.rb', line 33 class Product attr_accessor :name, :quantity, :unit_price, :reference, :commodity_code, :unit_of_measure, :total_amount, :tax_amount, :tax_rate, :discount_amount, :wxpay_goods_id, :image_url, :url, :sku end |
#wxpay_goods_id ⇒ String
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/checkout_sdk/payments/product.rb', line 33 class Product attr_accessor :name, :quantity, :unit_price, :reference, :commodity_code, :unit_of_measure, :total_amount, :tax_amount, :tax_rate, :discount_amount, :wxpay_goods_id, :image_url, :url, :sku end |