Class: Softlayer::Billing::Invoice::Item
- Defined in:
- lib/softlayer/billing/invoice/item.rb,
lib/softlayer/billing/invoice/item/tax.rb,
lib/softlayer/billing/invoice/item/hardware.rb,
lib/softlayer/billing/invoice/item/tax/info.rb
Direct Known Subclasses
Defined Under Namespace
Modules: Tax Classes: Hardware, Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Billing_Invoice_Item'
Instance Attribute Summary collapse
-
#associated_children ⇒ Object
Returns the value of attribute associated_children.
-
#associated_children_count ⇒ Object
Returns the value of attribute associated_children_count.
-
#associated_invoice_item ⇒ Object
Returns the value of attribute associated_invoice_item.
-
#associated_invoice_item_id ⇒ Object
Returns the value of attribute associated_invoice_item_id.
-
#billing_item ⇒ Object
Returns the value of attribute billing_item.
-
#billing_item_id ⇒ Object
Returns the value of attribute billing_item_id.
-
#category ⇒ Object
Returns the value of attribute category.
-
#category_code ⇒ Object
Returns the value of attribute category_code.
-
#children ⇒ Object
Returns the value of attribute children.
-
#children_count ⇒ Object
Returns the value of attribute children_count.
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#description ⇒ Object
Returns the value of attribute description.
-
#domain_name ⇒ Object
Returns the value of attribute domain_name.
-
#filtered_associated_children ⇒ Object
Returns the value of attribute filtered_associated_children.
-
#filtered_associated_children_count ⇒ Object
Returns the value of attribute filtered_associated_children_count.
-
#host_name ⇒ Object
Returns the value of attribute host_name.
-
#hourly_recurring_fee ⇒ Object
Returns the value of attribute hourly_recurring_fee.
-
#id ⇒ Object
Returns the value of attribute id.
-
#invoice ⇒ Object
Returns the value of attribute invoice.
-
#invoice_id ⇒ Object
Returns the value of attribute invoice_id.
-
#labor_after_tax_amount ⇒ Object
Returns the value of attribute labor_after_tax_amount.
-
#labor_fee ⇒ Object
Returns the value of attribute labor_fee.
-
#labor_fee_tax_rate ⇒ Object
Returns the value of attribute labor_fee_tax_rate.
-
#labor_tax_amount ⇒ Object
Returns the value of attribute labor_tax_amount.
-
#location ⇒ Object
Returns the value of attribute location.
-
#non_zero_associated_children ⇒ Object
Returns the value of attribute non_zero_associated_children.
-
#non_zero_associated_children_count ⇒ Object
Returns the value of attribute non_zero_associated_children_count.
-
#notes ⇒ Object
Returns the value of attribute notes.
-
#one_time_after_tax_amount ⇒ Object
Returns the value of attribute one_time_after_tax_amount.
-
#one_time_fee ⇒ Object
Returns the value of attribute one_time_fee.
-
#one_time_fee_tax_rate ⇒ Object
Returns the value of attribute one_time_fee_tax_rate.
-
#one_time_tax_amount ⇒ Object
Returns the value of attribute one_time_tax_amount.
-
#parent ⇒ Object
Returns the value of attribute parent.
-
#parent_id ⇒ Object
Returns the value of attribute parent_id.
-
#product ⇒ Object
Returns the value of attribute product.
-
#product_item_id ⇒ Object
Returns the value of attribute product_item_id.
-
#recurring_after_tax_amount ⇒ Object
Returns the value of attribute recurring_after_tax_amount.
-
#recurring_fee ⇒ Object
Returns the value of attribute recurring_fee.
-
#recurring_fee_tax_rate ⇒ Object
Returns the value of attribute recurring_fee_tax_rate.
-
#recurring_tax_amount ⇒ Object
Returns the value of attribute recurring_tax_amount.
-
#resource_table_id ⇒ Object
Returns the value of attribute resource_table_id.
-
#setup_after_tax_amount ⇒ Object
Returns the value of attribute setup_after_tax_amount.
-
#setup_fee ⇒ Object
Returns the value of attribute setup_fee.
-
#setup_fee_tax_rate ⇒ Object
Returns the value of attribute setup_fee_tax_rate.
-
#setup_tax_amount ⇒ Object
Returns the value of attribute setup_tax_amount.
-
#total_one_time_amount ⇒ Object
Returns the value of attribute total_one_time_amount.
-
#total_one_time_tax_amount ⇒ Object
Returns the value of attribute total_one_time_tax_amount.
-
#total_recurring_amount ⇒ Object
Returns the value of attribute total_recurring_amount.
-
#total_recurring_tax_amount ⇒ Object
Returns the value of attribute total_recurring_tax_amount.
Instance Method Summary collapse
- #get_associated_children ⇒ Object
- #get_associated_invoice_item ⇒ Object
- #get_billing_item ⇒ Object
- #get_category ⇒ Object
- #get_children ⇒ Object
- #get_filtered_associated_children ⇒ Object
- #get_invoice ⇒ Object
- #get_location ⇒ Object
- #get_non_zero_associated_children ⇒ Object
- #get_object ⇒ Object
- #get_parent ⇒ Object
- #get_product ⇒ Object
- #get_total_one_time_amount ⇒ Object
- #get_total_one_time_tax_amount ⇒ Object
- #get_total_recurring_amount ⇒ Object
- #get_total_recurring_tax_amount ⇒ 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
#associated_children ⇒ Object
Returns the value of attribute associated_children.
42 43 44 |
# File 'lib/softlayer/billing/invoice/item.rb', line 42 def associated_children @associated_children end |
#associated_children_count ⇒ Object
Returns the value of attribute associated_children_count.
38 39 40 |
# File 'lib/softlayer/billing/invoice/item.rb', line 38 def associated_children_count @associated_children_count end |
#associated_invoice_item ⇒ Object
Returns the value of attribute associated_invoice_item.
43 44 45 |
# File 'lib/softlayer/billing/invoice/item.rb', line 43 def associated_invoice_item @associated_invoice_item end |
#associated_invoice_item_id ⇒ Object
Returns the value of attribute associated_invoice_item_id.
8 9 10 |
# File 'lib/softlayer/billing/invoice/item.rb', line 8 def associated_invoice_item_id @associated_invoice_item_id end |
#billing_item ⇒ Object
Returns the value of attribute billing_item.
44 45 46 |
# File 'lib/softlayer/billing/invoice/item.rb', line 44 def billing_item @billing_item end |
#billing_item_id ⇒ Object
Returns the value of attribute billing_item_id.
9 10 11 |
# File 'lib/softlayer/billing/invoice/item.rb', line 9 def billing_item_id @billing_item_id end |
#category ⇒ Object
Returns the value of attribute category.
45 46 47 |
# File 'lib/softlayer/billing/invoice/item.rb', line 45 def category @category end |
#category_code ⇒ Object
Returns the value of attribute category_code.
10 11 12 |
# File 'lib/softlayer/billing/invoice/item.rb', line 10 def category_code @category_code end |
#children ⇒ Object
Returns the value of attribute children.
46 47 48 |
# File 'lib/softlayer/billing/invoice/item.rb', line 46 def children @children end |
#children_count ⇒ Object
Returns the value of attribute children_count.
39 40 41 |
# File 'lib/softlayer/billing/invoice/item.rb', line 39 def children_count @children_count end |
#create_date ⇒ Object
Returns the value of attribute create_date.
11 12 13 |
# File 'lib/softlayer/billing/invoice/item.rb', line 11 def create_date @create_date end |
#description ⇒ Object
Returns the value of attribute description.
12 13 14 |
# File 'lib/softlayer/billing/invoice/item.rb', line 12 def description @description end |
#domain_name ⇒ Object
Returns the value of attribute domain_name.
13 14 15 |
# File 'lib/softlayer/billing/invoice/item.rb', line 13 def domain_name @domain_name end |
#filtered_associated_children ⇒ Object
Returns the value of attribute filtered_associated_children.
47 48 49 |
# File 'lib/softlayer/billing/invoice/item.rb', line 47 def filtered_associated_children @filtered_associated_children end |
#filtered_associated_children_count ⇒ Object
Returns the value of attribute filtered_associated_children_count.
40 41 42 |
# File 'lib/softlayer/billing/invoice/item.rb', line 40 def filtered_associated_children_count @filtered_associated_children_count end |
#host_name ⇒ Object
Returns the value of attribute host_name.
14 15 16 |
# File 'lib/softlayer/billing/invoice/item.rb', line 14 def host_name @host_name end |
#hourly_recurring_fee ⇒ Object
Returns the value of attribute hourly_recurring_fee.
15 16 17 |
# File 'lib/softlayer/billing/invoice/item.rb', line 15 def hourly_recurring_fee @hourly_recurring_fee end |
#id ⇒ Object
Returns the value of attribute id.
16 17 18 |
# File 'lib/softlayer/billing/invoice/item.rb', line 16 def id @id end |
#invoice ⇒ Object
Returns the value of attribute invoice.
48 49 50 |
# File 'lib/softlayer/billing/invoice/item.rb', line 48 def invoice @invoice end |
#invoice_id ⇒ Object
Returns the value of attribute invoice_id.
17 18 19 |
# File 'lib/softlayer/billing/invoice/item.rb', line 17 def invoice_id @invoice_id end |
#labor_after_tax_amount ⇒ Object
Returns the value of attribute labor_after_tax_amount.
18 19 20 |
# File 'lib/softlayer/billing/invoice/item.rb', line 18 def labor_after_tax_amount @labor_after_tax_amount end |
#labor_fee ⇒ Object
Returns the value of attribute labor_fee.
19 20 21 |
# File 'lib/softlayer/billing/invoice/item.rb', line 19 def labor_fee @labor_fee end |
#labor_fee_tax_rate ⇒ Object
Returns the value of attribute labor_fee_tax_rate.
20 21 22 |
# File 'lib/softlayer/billing/invoice/item.rb', line 20 def labor_fee_tax_rate @labor_fee_tax_rate end |
#labor_tax_amount ⇒ Object
Returns the value of attribute labor_tax_amount.
21 22 23 |
# File 'lib/softlayer/billing/invoice/item.rb', line 21 def labor_tax_amount @labor_tax_amount end |
#location ⇒ Object
Returns the value of attribute location.
49 50 51 |
# File 'lib/softlayer/billing/invoice/item.rb', line 49 def location @location end |
#non_zero_associated_children ⇒ Object
Returns the value of attribute non_zero_associated_children.
50 51 52 |
# File 'lib/softlayer/billing/invoice/item.rb', line 50 def non_zero_associated_children @non_zero_associated_children end |
#non_zero_associated_children_count ⇒ Object
Returns the value of attribute non_zero_associated_children_count.
41 42 43 |
# File 'lib/softlayer/billing/invoice/item.rb', line 41 def non_zero_associated_children_count @non_zero_associated_children_count end |
#notes ⇒ Object
Returns the value of attribute notes.
22 23 24 |
# File 'lib/softlayer/billing/invoice/item.rb', line 22 def notes @notes end |
#one_time_after_tax_amount ⇒ Object
Returns the value of attribute one_time_after_tax_amount.
23 24 25 |
# File 'lib/softlayer/billing/invoice/item.rb', line 23 def one_time_after_tax_amount @one_time_after_tax_amount end |
#one_time_fee ⇒ Object
Returns the value of attribute one_time_fee.
24 25 26 |
# File 'lib/softlayer/billing/invoice/item.rb', line 24 def one_time_fee @one_time_fee end |
#one_time_fee_tax_rate ⇒ Object
Returns the value of attribute one_time_fee_tax_rate.
25 26 27 |
# File 'lib/softlayer/billing/invoice/item.rb', line 25 def one_time_fee_tax_rate @one_time_fee_tax_rate end |
#one_time_tax_amount ⇒ Object
Returns the value of attribute one_time_tax_amount.
26 27 28 |
# File 'lib/softlayer/billing/invoice/item.rb', line 26 def one_time_tax_amount @one_time_tax_amount end |
#parent ⇒ Object
Returns the value of attribute parent.
51 52 53 |
# File 'lib/softlayer/billing/invoice/item.rb', line 51 def parent @parent end |
#parent_id ⇒ Object
Returns the value of attribute parent_id.
27 28 29 |
# File 'lib/softlayer/billing/invoice/item.rb', line 27 def parent_id @parent_id end |
#product ⇒ Object
Returns the value of attribute product.
52 53 54 |
# File 'lib/softlayer/billing/invoice/item.rb', line 52 def product @product end |
#product_item_id ⇒ Object
Returns the value of attribute product_item_id.
28 29 30 |
# File 'lib/softlayer/billing/invoice/item.rb', line 28 def product_item_id @product_item_id end |
#recurring_after_tax_amount ⇒ Object
Returns the value of attribute recurring_after_tax_amount.
29 30 31 |
# File 'lib/softlayer/billing/invoice/item.rb', line 29 def recurring_after_tax_amount @recurring_after_tax_amount end |
#recurring_fee ⇒ Object
Returns the value of attribute recurring_fee.
30 31 32 |
# File 'lib/softlayer/billing/invoice/item.rb', line 30 def recurring_fee @recurring_fee end |
#recurring_fee_tax_rate ⇒ Object
Returns the value of attribute recurring_fee_tax_rate.
31 32 33 |
# File 'lib/softlayer/billing/invoice/item.rb', line 31 def recurring_fee_tax_rate @recurring_fee_tax_rate end |
#recurring_tax_amount ⇒ Object
Returns the value of attribute recurring_tax_amount.
32 33 34 |
# File 'lib/softlayer/billing/invoice/item.rb', line 32 def recurring_tax_amount @recurring_tax_amount end |
#resource_table_id ⇒ Object
Returns the value of attribute resource_table_id.
33 34 35 |
# File 'lib/softlayer/billing/invoice/item.rb', line 33 def resource_table_id @resource_table_id end |
#setup_after_tax_amount ⇒ Object
Returns the value of attribute setup_after_tax_amount.
34 35 36 |
# File 'lib/softlayer/billing/invoice/item.rb', line 34 def setup_after_tax_amount @setup_after_tax_amount end |
#setup_fee ⇒ Object
Returns the value of attribute setup_fee.
35 36 37 |
# File 'lib/softlayer/billing/invoice/item.rb', line 35 def setup_fee @setup_fee end |
#setup_fee_tax_rate ⇒ Object
Returns the value of attribute setup_fee_tax_rate.
36 37 38 |
# File 'lib/softlayer/billing/invoice/item.rb', line 36 def setup_fee_tax_rate @setup_fee_tax_rate end |
#setup_tax_amount ⇒ Object
Returns the value of attribute setup_tax_amount.
37 38 39 |
# File 'lib/softlayer/billing/invoice/item.rb', line 37 def setup_tax_amount @setup_tax_amount end |
#total_one_time_amount ⇒ Object
Returns the value of attribute total_one_time_amount.
53 54 55 |
# File 'lib/softlayer/billing/invoice/item.rb', line 53 def total_one_time_amount @total_one_time_amount end |
#total_one_time_tax_amount ⇒ Object
Returns the value of attribute total_one_time_tax_amount.
54 55 56 |
# File 'lib/softlayer/billing/invoice/item.rb', line 54 def total_one_time_tax_amount @total_one_time_tax_amount end |
#total_recurring_amount ⇒ Object
Returns the value of attribute total_recurring_amount.
55 56 57 |
# File 'lib/softlayer/billing/invoice/item.rb', line 55 def total_recurring_amount @total_recurring_amount end |
#total_recurring_tax_amount ⇒ Object
Returns the value of attribute total_recurring_tax_amount.
56 57 58 |
# File 'lib/softlayer/billing/invoice/item.rb', line 56 def total_recurring_tax_amount @total_recurring_tax_amount end |
Instance Method Details
#get_associated_children ⇒ Object
58 59 60 |
# File 'lib/softlayer/billing/invoice/item.rb', line 58 def get_associated_children request(:get_associated_children, Array[Softlayer::Billing::Invoice::Item]) end |
#get_associated_invoice_item ⇒ Object
62 63 64 |
# File 'lib/softlayer/billing/invoice/item.rb', line 62 def get_associated_invoice_item request(:get_associated_invoice_item, Softlayer::Billing::Invoice::Item) end |
#get_billing_item ⇒ Object
66 67 68 |
# File 'lib/softlayer/billing/invoice/item.rb', line 66 def get_billing_item request(:get_billing_item, Softlayer::Billing::Item) end |
#get_category ⇒ Object
70 71 72 |
# File 'lib/softlayer/billing/invoice/item.rb', line 70 def get_category request(:get_category, Softlayer::Product::Item::Category) end |
#get_children ⇒ Object
74 75 76 |
# File 'lib/softlayer/billing/invoice/item.rb', line 74 def get_children request(:get_children, Array[Softlayer::Billing::Invoice::Item]) end |
#get_filtered_associated_children ⇒ Object
78 79 80 |
# File 'lib/softlayer/billing/invoice/item.rb', line 78 def get_filtered_associated_children request(:get_filtered_associated_children, Array[Softlayer::Billing::Invoice::Item]) end |
#get_invoice ⇒ Object
82 83 84 |
# File 'lib/softlayer/billing/invoice/item.rb', line 82 def get_invoice request(:get_invoice, Softlayer::Billing::Invoice) end |
#get_location ⇒ Object
86 87 88 |
# File 'lib/softlayer/billing/invoice/item.rb', line 86 def get_location request(:get_location, Softlayer::Location) end |
#get_non_zero_associated_children ⇒ Object
90 91 92 |
# File 'lib/softlayer/billing/invoice/item.rb', line 90 def get_non_zero_associated_children request(:get_non_zero_associated_children, Array[Softlayer::Billing::Invoice::Item]) end |
#get_object ⇒ Object
94 95 96 |
# File 'lib/softlayer/billing/invoice/item.rb', line 94 def get_object request(:get_object, Softlayer::Billing::Invoice::Item) end |
#get_parent ⇒ Object
98 99 100 |
# File 'lib/softlayer/billing/invoice/item.rb', line 98 def get_parent request(:get_parent, Softlayer::Billing::Invoice::Item) end |
#get_product ⇒ Object
102 103 104 |
# File 'lib/softlayer/billing/invoice/item.rb', line 102 def get_product request(:get_product, Softlayer::Product::Item) end |
#get_total_one_time_amount ⇒ Object
106 107 108 |
# File 'lib/softlayer/billing/invoice/item.rb', line 106 def get_total_one_time_amount request(:get_total_one_time_amount, Float) end |
#get_total_one_time_tax_amount ⇒ Object
110 111 112 |
# File 'lib/softlayer/billing/invoice/item.rb', line 110 def get_total_one_time_tax_amount request(:get_total_one_time_tax_amount, Float) end |
#get_total_recurring_amount ⇒ Object
114 115 116 |
# File 'lib/softlayer/billing/invoice/item.rb', line 114 def get_total_recurring_amount request(:get_total_recurring_amount, Float) end |
#get_total_recurring_tax_amount ⇒ Object
118 119 120 |
# File 'lib/softlayer/billing/invoice/item.rb', line 118 def get_total_recurring_tax_amount request(:get_total_recurring_tax_amount, Float) end |