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.
13 14 15 |
# File 'lib/dnsimple/struct/charge.rb', line 13 def amount @amount end |
#description ⇒ String
Returns The description of the charge item.
10 11 12 |
# File 'lib/dnsimple/struct/charge.rb', line 10 def description @description end |
#product_id ⇒ Integer
Returns The ID of the product that was charged.
16 17 18 |
# File 'lib/dnsimple/struct/charge.rb', line 16 def product_id @product_id end |
#product_reference ⇒ String
Returns A unique or representative reference.
22 23 24 |
# File 'lib/dnsimple/struct/charge.rb', line 22 def product_reference @product_reference end |
#product_type ⇒ String
Returns The type of the product that was charged.
19 20 21 |
# File 'lib/dnsimple/struct/charge.rb', line 19 def product_type @product_type end |