Class: Softlayer::Billing::Info
- Defined in:
- lib/softlayer/billing/info.rb,
lib/softlayer/billing/info/ach.rb,
lib/softlayer/billing/info/cycle.rb
Defined Under Namespace
Classes: Ach, Cycle, Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Billing_Info'
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#ach_information ⇒ Object
Returns the value of attribute ach_information.
-
#ach_information_count ⇒ Object
Returns the value of attribute ach_information_count.
-
#anniversary_day_of_month ⇒ Object
Returns the value of attribute anniversary_day_of_month.
-
#card_account_number ⇒ Object
Returns the value of attribute card_account_number.
-
#card_expiration_month ⇒ Object
Returns the value of attribute card_expiration_month.
-
#card_expiration_year ⇒ Object
Returns the value of attribute card_expiration_year.
-
#card_nickname ⇒ Object
Returns the value of attribute card_nickname.
-
#card_type ⇒ Object
Returns the value of attribute card_type.
-
#card_verification_number ⇒ Object
Returns the value of attribute card_verification_number.
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#current_billing_cycle ⇒ Object
Returns the value of attribute current_billing_cycle.
-
#id ⇒ Object
Returns the value of attribute id.
-
#last_bill_date ⇒ Object
Returns the value of attribute last_bill_date.
-
#last_four_payment_card_digits ⇒ Object
Returns the value of attribute last_four_payment_card_digits.
-
#last_payment_date ⇒ Object
Returns the value of attribute last_payment_date.
-
#modify_date ⇒ Object
Returns the value of attribute modify_date.
-
#next_bill_date ⇒ Object
Returns the value of attribute next_bill_date.
-
#payment_terms ⇒ Object
Returns the value of attribute payment_terms.
-
#percent_discount_onetime ⇒ Object
Returns the value of attribute percent_discount_onetime.
-
#percent_discount_recurring ⇒ Object
Returns the value of attribute percent_discount_recurring.
-
#spare_pool_amount ⇒ Object
Returns the value of attribute spare_pool_amount.
-
#vat_id ⇒ Object
Returns the value of attribute vat_id.
Instance Method Summary collapse
- #get_account ⇒ Object
- #get_ach_information ⇒ Object
- #get_currency ⇒ Object
- #get_current_billing_cycle ⇒ Object
- #get_last_bill_date ⇒ Object
- #get_next_bill_date ⇒ Object
- #get_object ⇒ Object
Methods inherited from Model
all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer
Methods included from Model::Operations
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account.
26 27 28 |
# File 'lib/softlayer/billing/info.rb', line 26 def account @account end |
#account_id ⇒ Object
Returns the value of attribute account_id.
7 8 9 |
# File 'lib/softlayer/billing/info.rb', line 7 def account_id @account_id end |
#ach_information ⇒ Object
Returns the value of attribute ach_information.
27 28 29 |
# File 'lib/softlayer/billing/info.rb', line 27 def ach_information @ach_information end |
#ach_information_count ⇒ Object
Returns the value of attribute ach_information_count.
25 26 27 |
# File 'lib/softlayer/billing/info.rb', line 25 def ach_information_count @ach_information_count end |
#anniversary_day_of_month ⇒ Object
Returns the value of attribute anniversary_day_of_month.
8 9 10 |
# File 'lib/softlayer/billing/info.rb', line 8 def anniversary_day_of_month @anniversary_day_of_month end |
#card_account_number ⇒ Object
Returns the value of attribute card_account_number.
9 10 11 |
# File 'lib/softlayer/billing/info.rb', line 9 def card_account_number @card_account_number end |
#card_expiration_month ⇒ Object
Returns the value of attribute card_expiration_month.
10 11 12 |
# File 'lib/softlayer/billing/info.rb', line 10 def card_expiration_month @card_expiration_month end |
#card_expiration_year ⇒ Object
Returns the value of attribute card_expiration_year.
11 12 13 |
# File 'lib/softlayer/billing/info.rb', line 11 def card_expiration_year @card_expiration_year end |
#card_nickname ⇒ Object
Returns the value of attribute card_nickname.
12 13 14 |
# File 'lib/softlayer/billing/info.rb', line 12 def card_nickname @card_nickname end |
#card_type ⇒ Object
Returns the value of attribute card_type.
13 14 15 |
# File 'lib/softlayer/billing/info.rb', line 13 def card_type @card_type end |
#card_verification_number ⇒ Object
Returns the value of attribute card_verification_number.
14 15 16 |
# File 'lib/softlayer/billing/info.rb', line 14 def card_verification_number @card_verification_number end |
#create_date ⇒ Object
Returns the value of attribute create_date.
15 16 17 |
# File 'lib/softlayer/billing/info.rb', line 15 def create_date @create_date end |
#currency ⇒ Object
Returns the value of attribute currency.
28 29 30 |
# File 'lib/softlayer/billing/info.rb', line 28 def currency @currency end |
#current_billing_cycle ⇒ Object
Returns the value of attribute current_billing_cycle.
29 30 31 |
# File 'lib/softlayer/billing/info.rb', line 29 def current_billing_cycle @current_billing_cycle end |
#id ⇒ Object
Returns the value of attribute id.
16 17 18 |
# File 'lib/softlayer/billing/info.rb', line 16 def id @id end |
#last_bill_date ⇒ Object
Returns the value of attribute last_bill_date.
30 31 32 |
# File 'lib/softlayer/billing/info.rb', line 30 def last_bill_date @last_bill_date end |
#last_four_payment_card_digits ⇒ Object
Returns the value of attribute last_four_payment_card_digits.
17 18 19 |
# File 'lib/softlayer/billing/info.rb', line 17 def last_four_payment_card_digits @last_four_payment_card_digits end |
#last_payment_date ⇒ Object
Returns the value of attribute last_payment_date.
18 19 20 |
# File 'lib/softlayer/billing/info.rb', line 18 def last_payment_date @last_payment_date end |
#modify_date ⇒ Object
Returns the value of attribute modify_date.
19 20 21 |
# File 'lib/softlayer/billing/info.rb', line 19 def modify_date @modify_date end |
#next_bill_date ⇒ Object
Returns the value of attribute next_bill_date.
31 32 33 |
# File 'lib/softlayer/billing/info.rb', line 31 def next_bill_date @next_bill_date end |
#payment_terms ⇒ Object
Returns the value of attribute payment_terms.
20 21 22 |
# File 'lib/softlayer/billing/info.rb', line 20 def payment_terms @payment_terms end |
#percent_discount_onetime ⇒ Object
Returns the value of attribute percent_discount_onetime.
21 22 23 |
# File 'lib/softlayer/billing/info.rb', line 21 def percent_discount_onetime @percent_discount_onetime end |
#percent_discount_recurring ⇒ Object
Returns the value of attribute percent_discount_recurring.
22 23 24 |
# File 'lib/softlayer/billing/info.rb', line 22 def percent_discount_recurring @percent_discount_recurring end |
#spare_pool_amount ⇒ Object
Returns the value of attribute spare_pool_amount.
23 24 25 |
# File 'lib/softlayer/billing/info.rb', line 23 def spare_pool_amount @spare_pool_amount end |
#vat_id ⇒ Object
Returns the value of attribute vat_id.
24 25 26 |
# File 'lib/softlayer/billing/info.rb', line 24 def vat_id @vat_id end |
Instance Method Details
#get_account ⇒ Object
33 34 35 |
# File 'lib/softlayer/billing/info.rb', line 33 def get_account request(:get_account, Softlayer::Account) end |
#get_ach_information ⇒ Object
37 38 39 |
# File 'lib/softlayer/billing/info.rb', line 37 def get_ach_information request(:get_ach_information, Array[Softlayer::Billing::Info::Ach]) end |
#get_currency ⇒ Object
41 42 43 |
# File 'lib/softlayer/billing/info.rb', line 41 def get_currency request(:get_currency, Softlayer::Billing::Currency) end |
#get_current_billing_cycle ⇒ Object
45 46 47 |
# File 'lib/softlayer/billing/info.rb', line 45 def get_current_billing_cycle request(:get_current_billing_cycle, Softlayer::Billing::Info::Cycle) end |
#get_last_bill_date ⇒ Object
49 50 51 |
# File 'lib/softlayer/billing/info.rb', line 49 def get_last_bill_date request(:get_last_bill_date, DateTime) end |
#get_next_bill_date ⇒ Object
53 54 55 |
# File 'lib/softlayer/billing/info.rb', line 53 def get_next_bill_date request(:get_next_bill_date, DateTime) end |