Class: CheckoutSdk::Payments::Product

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

Instance Attribute Summary collapse

Instance Attribute Details

#commodity_codeString

Returns:

  • (String)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/checkout_sdk/payments/product.rb', line 37

class Product
  attr_accessor :type,
                :sub_type,
                :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_amountInteger

Returns:

  • (Integer)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/checkout_sdk/payments/product.rb', line 37

class Product
  attr_accessor :type,
                :sub_type,
                :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_urlString

Returns:

  • (String)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/checkout_sdk/payments/product.rb', line 37

class Product
  attr_accessor :type,
                :sub_type,
                :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

#nameString

Returns:

  • (String)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/checkout_sdk/payments/product.rb', line 37

class Product
  attr_accessor :type,
                :sub_type,
                :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

#quantityInteger

Returns:

  • (Integer)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/checkout_sdk/payments/product.rb', line 37

class Product
  attr_accessor :type,
                :sub_type,
                :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

#referenceString

Returns:

  • (String)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/checkout_sdk/payments/product.rb', line 37

class Product
  attr_accessor :type,
                :sub_type,
                :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

#skuString

Returns:

  • (String)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/checkout_sdk/payments/product.rb', line 37

class Product
  attr_accessor :type,
                :sub_type,
                :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

#sub_typeString



37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/checkout_sdk/payments/product.rb', line 37

class Product
  attr_accessor :type,
                :sub_type,
                :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_amountInteger

Returns:

  • (Integer)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/checkout_sdk/payments/product.rb', line 37

class Product
  attr_accessor :type,
                :sub_type,
                :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_rateInteger

Returns:

  • (Integer)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/checkout_sdk/payments/product.rb', line 37

class Product
  attr_accessor :type,
                :sub_type,
                :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_amountInteger

Returns:

  • (Integer)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/checkout_sdk/payments/product.rb', line 37

class Product
  attr_accessor :type,
                :sub_type,
                :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

#typeString

Returns:

  • (String)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/checkout_sdk/payments/product.rb', line 37

class Product
  attr_accessor :type,
                :sub_type,
                :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_measureString

Returns:

  • (String)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/checkout_sdk/payments/product.rb', line 37

class Product
  attr_accessor :type,
                :sub_type,
                :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_priceInteger

Returns:

  • (Integer)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/checkout_sdk/payments/product.rb', line 37

class Product
  attr_accessor :type,
                :sub_type,
                :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

#urlString

Returns:

  • (String)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/checkout_sdk/payments/product.rb', line 37

class Product
  attr_accessor :type,
                :sub_type,
                :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_idString

Returns:

  • (String)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/checkout_sdk/payments/product.rb', line 37

class Product
  attr_accessor :type,
                :sub_type,
                :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