Class: GandiV5::Billing::Info
- Inherits:
-
Object
- Object
- GandiV5::Billing::Info
- Includes:
- Data
- Defined in:
- lib/gandi_v5/billing/info.rb,
lib/gandi_v5/billing/info/prepaid.rb
Overview
Account’s information.
Defined Under Namespace
Classes: Prepaid
Instance Attribute Summary collapse
-
#annual_balance ⇒ Numeric
readonly
Amount of purchased over the past 12 months since the request.
-
#grid ⇒ String
readonly
Price rate that is applied depending on the amount purchased over the last 12 months.
-
#outstanding_amount ⇒ Numeric
readonly
Amount of outstanding orders (payment by terms) since the last invoice.
- #prepaid ⇒ nil, Gandiv5::Billing::Info::Prepaid readonly
-
#prepaid_monthly_invoice ⇒ nil, Boolean
readonly
Whether orders are gathered into a single monthly invoice.
Method Summary
Methods included from Data
#from_gandi, included, #initialize, #to_gandi, #to_h, #values_at
Instance Attribute Details
#annual_balance ⇒ Numeric (readonly)
Returns amount of purchased over the past 12 months since the request.
17 18 19 20 21 22 |
# File 'lib/gandi_v5/billing/info.rb', line 17 class Info include GandiV5::Data members :annual_balance, :grid, :outstanding_amount, :prepaid_monthly_invoice member :prepaid, converter: GandiV5::Billing::Info::Prepaid end |
#grid ⇒ String (readonly)
Returns price rate that is applied depending on the amount purchased over the last 12 months.
17 18 19 20 21 22 |
# File 'lib/gandi_v5/billing/info.rb', line 17 class Info include GandiV5::Data members :annual_balance, :grid, :outstanding_amount, :prepaid_monthly_invoice member :prepaid, converter: GandiV5::Billing::Info::Prepaid end |
#outstanding_amount ⇒ Numeric (readonly)
Returns amount of outstanding orders (payment by terms) since the last invoice.
17 18 19 20 21 22 |
# File 'lib/gandi_v5/billing/info.rb', line 17 class Info include GandiV5::Data members :annual_balance, :grid, :outstanding_amount, :prepaid_monthly_invoice member :prepaid, converter: GandiV5::Billing::Info::Prepaid end |
#prepaid ⇒ nil, Gandiv5::Billing::Info::Prepaid (readonly)
17 18 19 20 21 22 |
# File 'lib/gandi_v5/billing/info.rb', line 17 class Info include GandiV5::Data members :annual_balance, :grid, :outstanding_amount, :prepaid_monthly_invoice member :prepaid, converter: GandiV5::Billing::Info::Prepaid end |
#prepaid_monthly_invoice ⇒ nil, Boolean (readonly)
Returns whether orders are gathered into a single monthly invoice.
17 18 19 20 21 22 |
# File 'lib/gandi_v5/billing/info.rb', line 17 class Info include GandiV5::Data members :annual_balance, :grid, :outstanding_amount, :prepaid_monthly_invoice member :prepaid, converter: GandiV5::Billing::Info::Prepaid end |