Class: Dnsimple::Struct::Charge::ChargeItem
- Defined in:
- lib/dnsimple/struct/charge.rb
Instance Attribute Summary collapse
-
#amount ⇒ Float
The amount of the charge item.
-
#description ⇒ String
The description of the charge item.
-
#product_id ⇒ Integer
The ID of the product that was charged.
-
#product_reference ⇒ String
A unique or representative reference.
-
#product_type ⇒ String
The type of the product that was charged.
Method Summary
Methods inherited from Base
Constructor Details
This class inherits a constructor from Dnsimple::Struct::Base
Instance Attribute Details
#amount ⇒ Float
Returns The amount of the charge item.
15 16 17 |
# File 'lib/dnsimple/struct/charge.rb', line 15 def amount @amount end |
#description ⇒ String
Returns The description of the charge item.
12 13 14 |
# File 'lib/dnsimple/struct/charge.rb', line 12 def description @description end |
#product_id ⇒ Integer
Returns The ID of the product that was charged.
18 19 20 |
# File 'lib/dnsimple/struct/charge.rb', line 18 def product_id @product_id end |
#product_reference ⇒ String
Returns A unique or representative reference.
24 25 26 |
# File 'lib/dnsimple/struct/charge.rb', line 24 def product_reference @product_reference end |
#product_type ⇒ String
Returns The type of the product that was charged.
21 22 23 |
# File 'lib/dnsimple/struct/charge.rb', line 21 def product_type @product_type end |