Class: Dnsimple::Struct::Charge::ChargeItem

Inherits:
Base
  • Object
show all
Defined in:
lib/dnsimple/struct/charge.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Dnsimple::Struct::Base

Instance Attribute Details

#amountFloat

Returns The amount of the charge item.

Returns:

  • (Float)

    The amount of the charge item.



15
16
17
# File 'lib/dnsimple/struct/charge.rb', line 15

def amount
  @amount
end

#descriptionString

Returns The description of the charge item.

Returns:

  • (String)

    The description of the charge item.



12
13
14
# File 'lib/dnsimple/struct/charge.rb', line 12

def description
  @description
end

#product_idInteger

Returns The ID of the product that was charged.

Returns:

  • (Integer)

    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_referenceString

Returns A unique or representative reference.

Returns:

  • (String)

    A unique or representative reference.



24
25
26
# File 'lib/dnsimple/struct/charge.rb', line 24

def product_reference
  @product_reference
end

#product_typeString

Returns The type of the product that was charged.

Returns:

  • (String)

    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