Class: Softlayer::Billing::Order::Item
- Defined in:
- lib/softlayer/billing/order/item.rb,
lib/softlayer/billing/order/item/category.rb,
lib/softlayer/billing/order/item/category/answer.rb
Defined Under Namespace
Modules: Category Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Billing_Order_Item'
Instance Attribute Summary collapse
-
#billing_item ⇒ Object
Returns the value of attribute billing_item.
-
#bundled_item_count ⇒ Object
Returns the value of attribute bundled_item_count.
-
#bundled_items ⇒ Object
Returns the value of attribute bundled_items.
-
#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.
-
#description ⇒ Object
Returns the value of attribute description.
-
#domain_name ⇒ Object
Returns the value of attribute domain_name.
-
#global_identifier ⇒ Object
Returns the value of attribute global_identifier.
-
#hardware_generic_component ⇒ Object
Returns the value of attribute hardware_generic_component.
-
#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.
-
#item ⇒ Object
Returns the value of attribute item.
-
#item_category_answer_count ⇒ Object
Returns the value of attribute item_category_answer_count.
-
#item_category_answers ⇒ Object
Returns the value of attribute item_category_answers.
-
#item_id ⇒ Object
Returns the value of attribute item_id.
-
#item_price ⇒ Object
Returns the value of attribute item_price.
-
#item_price_id ⇒ Object
Returns the value of attribute item_price_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.
-
#next_order_children ⇒ Object
Returns the value of attribute next_order_children.
-
#next_order_children_count ⇒ Object
Returns the value of attribute next_order_children_count.
-
#old_billing_item ⇒ Object
Returns the value of attribute old_billing_item.
-
#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.
-
#order ⇒ Object
Returns the value of attribute order.
-
#order_approval_date ⇒ Object
Returns the value of attribute order_approval_date.
-
#package ⇒ Object
Returns the value of attribute package.
-
#parent ⇒ Object
Returns the value of attribute parent.
-
#parent_id ⇒ Object
Returns the value of attribute parent_id.
-
#promo_code_id ⇒ Object
Returns the value of attribute promo_code_id.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#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_tax_amount ⇒ Object
Returns the value of attribute recurring_tax_amount.
-
#redundant_power_supply_count ⇒ Object
Returns the value of attribute redundant_power_supply_count.
-
#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_deferral_months ⇒ Object
Returns the value of attribute setup_fee_deferral_months.
-
#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.
-
#software_description ⇒ Object
Returns the value of attribute software_description.
-
#storage_group_count ⇒ Object
Returns the value of attribute storage_group_count.
-
#storage_groups ⇒ Object
Returns the value of attribute storage_groups.
-
#total_recurring_amount ⇒ Object
Returns the value of attribute total_recurring_amount.
-
#upgrade_item ⇒ Object
Returns the value of attribute upgrade_item.
Instance Method Summary collapse
- #get_billing_item ⇒ Object
- #get_bundled_items ⇒ Object
- #get_category ⇒ Object
- #get_children ⇒ Object
- #get_global_identifier ⇒ Object
- #get_hardware_generic_component ⇒ Object
- #get_item ⇒ Object
- #get_item_category_answers ⇒ Object
- #get_item_price ⇒ Object
- #get_location ⇒ Object
- #get_next_order_children ⇒ Object
- #get_object ⇒ Object
- #get_old_billing_item ⇒ Object
- #get_order ⇒ Object
- #get_order_approval_date ⇒ Object
- #get_package ⇒ Object
- #get_parent ⇒ Object
- #get_redundant_power_supply_count ⇒ Object
- #get_software_description ⇒ Object
- #get_storage_groups ⇒ Object
- #get_total_recurring_amount ⇒ Object
- #get_upgrade_item ⇒ 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
#billing_item ⇒ Object
Returns the value of attribute billing_item.
39 40 41 |
# File 'lib/softlayer/billing/order/item.rb', line 39 def billing_item @billing_item end |
#bundled_item_count ⇒ Object
Returns the value of attribute bundled_item_count.
34 35 36 |
# File 'lib/softlayer/billing/order/item.rb', line 34 def bundled_item_count @bundled_item_count end |
#bundled_items ⇒ Object
Returns the value of attribute bundled_items.
40 41 42 |
# File 'lib/softlayer/billing/order/item.rb', line 40 def bundled_items @bundled_items end |
#category ⇒ Object
Returns the value of attribute category.
41 42 43 |
# File 'lib/softlayer/billing/order/item.rb', line 41 def category @category end |
#category_code ⇒ Object
Returns the value of attribute category_code.
7 8 9 |
# File 'lib/softlayer/billing/order/item.rb', line 7 def category_code @category_code end |
#children ⇒ Object
Returns the value of attribute children.
42 43 44 |
# File 'lib/softlayer/billing/order/item.rb', line 42 def children @children end |
#children_count ⇒ Object
Returns the value of attribute children_count.
35 36 37 |
# File 'lib/softlayer/billing/order/item.rb', line 35 def children_count @children_count end |
#description ⇒ Object
Returns the value of attribute description.
8 9 10 |
# File 'lib/softlayer/billing/order/item.rb', line 8 def description @description end |
#domain_name ⇒ Object
Returns the value of attribute domain_name.
9 10 11 |
# File 'lib/softlayer/billing/order/item.rb', line 9 def domain_name @domain_name end |
#global_identifier ⇒ Object
Returns the value of attribute global_identifier.
43 44 45 |
# File 'lib/softlayer/billing/order/item.rb', line 43 def global_identifier @global_identifier end |
#hardware_generic_component ⇒ Object
Returns the value of attribute hardware_generic_component.
44 45 46 |
# File 'lib/softlayer/billing/order/item.rb', line 44 def hardware_generic_component @hardware_generic_component end |
#host_name ⇒ Object
Returns the value of attribute host_name.
10 11 12 |
# File 'lib/softlayer/billing/order/item.rb', line 10 def host_name @host_name end |
#hourly_recurring_fee ⇒ Object
Returns the value of attribute hourly_recurring_fee.
11 12 13 |
# File 'lib/softlayer/billing/order/item.rb', line 11 def hourly_recurring_fee @hourly_recurring_fee end |
#id ⇒ Object
Returns the value of attribute id.
12 13 14 |
# File 'lib/softlayer/billing/order/item.rb', line 12 def id @id end |
#item ⇒ Object
Returns the value of attribute item.
45 46 47 |
# File 'lib/softlayer/billing/order/item.rb', line 45 def item @item end |
#item_category_answer_count ⇒ Object
Returns the value of attribute item_category_answer_count.
36 37 38 |
# File 'lib/softlayer/billing/order/item.rb', line 36 def item_category_answer_count @item_category_answer_count end |
#item_category_answers ⇒ Object
Returns the value of attribute item_category_answers.
46 47 48 |
# File 'lib/softlayer/billing/order/item.rb', line 46 def item_category_answers @item_category_answers end |
#item_id ⇒ Object
Returns the value of attribute item_id.
13 14 15 |
# File 'lib/softlayer/billing/order/item.rb', line 13 def item_id @item_id end |
#item_price ⇒ Object
Returns the value of attribute item_price.
47 48 49 |
# File 'lib/softlayer/billing/order/item.rb', line 47 def item_price @item_price end |
#item_price_id ⇒ Object
Returns the value of attribute item_price_id.
14 15 16 |
# File 'lib/softlayer/billing/order/item.rb', line 14 def item_price_id @item_price_id end |
#labor_after_tax_amount ⇒ Object
Returns the value of attribute labor_after_tax_amount.
15 16 17 |
# File 'lib/softlayer/billing/order/item.rb', line 15 def labor_after_tax_amount @labor_after_tax_amount end |
#labor_fee ⇒ Object
Returns the value of attribute labor_fee.
16 17 18 |
# File 'lib/softlayer/billing/order/item.rb', line 16 def labor_fee @labor_fee end |
#labor_fee_tax_rate ⇒ Object
Returns the value of attribute labor_fee_tax_rate.
17 18 19 |
# File 'lib/softlayer/billing/order/item.rb', line 17 def labor_fee_tax_rate @labor_fee_tax_rate end |
#labor_tax_amount ⇒ Object
Returns the value of attribute labor_tax_amount.
18 19 20 |
# File 'lib/softlayer/billing/order/item.rb', line 18 def labor_tax_amount @labor_tax_amount end |
#location ⇒ Object
Returns the value of attribute location.
48 49 50 |
# File 'lib/softlayer/billing/order/item.rb', line 48 def location @location end |
#next_order_children ⇒ Object
Returns the value of attribute next_order_children.
49 50 51 |
# File 'lib/softlayer/billing/order/item.rb', line 49 def next_order_children @next_order_children end |
#next_order_children_count ⇒ Object
Returns the value of attribute next_order_children_count.
37 38 39 |
# File 'lib/softlayer/billing/order/item.rb', line 37 def next_order_children_count @next_order_children_count end |
#old_billing_item ⇒ Object
Returns the value of attribute old_billing_item.
50 51 52 |
# File 'lib/softlayer/billing/order/item.rb', line 50 def old_billing_item @old_billing_item end |
#one_time_after_tax_amount ⇒ Object
Returns the value of attribute one_time_after_tax_amount.
19 20 21 |
# File 'lib/softlayer/billing/order/item.rb', line 19 def one_time_after_tax_amount @one_time_after_tax_amount end |
#one_time_fee ⇒ Object
Returns the value of attribute one_time_fee.
20 21 22 |
# File 'lib/softlayer/billing/order/item.rb', line 20 def one_time_fee @one_time_fee end |
#one_time_fee_tax_rate ⇒ Object
Returns the value of attribute one_time_fee_tax_rate.
21 22 23 |
# File 'lib/softlayer/billing/order/item.rb', line 21 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.
22 23 24 |
# File 'lib/softlayer/billing/order/item.rb', line 22 def one_time_tax_amount @one_time_tax_amount end |
#order ⇒ Object
Returns the value of attribute order.
51 52 53 |
# File 'lib/softlayer/billing/order/item.rb', line 51 def order @order end |
#order_approval_date ⇒ Object
Returns the value of attribute order_approval_date.
52 53 54 |
# File 'lib/softlayer/billing/order/item.rb', line 52 def order_approval_date @order_approval_date end |
#package ⇒ Object
Returns the value of attribute package.
53 54 55 |
# File 'lib/softlayer/billing/order/item.rb', line 53 def package @package end |
#parent ⇒ Object
Returns the value of attribute parent.
54 55 56 |
# File 'lib/softlayer/billing/order/item.rb', line 54 def parent @parent end |
#parent_id ⇒ Object
Returns the value of attribute parent_id.
23 24 25 |
# File 'lib/softlayer/billing/order/item.rb', line 23 def parent_id @parent_id end |
#promo_code_id ⇒ Object
Returns the value of attribute promo_code_id.
24 25 26 |
# File 'lib/softlayer/billing/order/item.rb', line 24 def promo_code_id @promo_code_id end |
#quantity ⇒ Object
Returns the value of attribute quantity.
25 26 27 |
# File 'lib/softlayer/billing/order/item.rb', line 25 def quantity @quantity end |
#recurring_after_tax_amount ⇒ Object
Returns the value of attribute recurring_after_tax_amount.
26 27 28 |
# File 'lib/softlayer/billing/order/item.rb', line 26 def recurring_after_tax_amount @recurring_after_tax_amount end |
#recurring_fee ⇒ Object
Returns the value of attribute recurring_fee.
27 28 29 |
# File 'lib/softlayer/billing/order/item.rb', line 27 def recurring_fee @recurring_fee end |
#recurring_tax_amount ⇒ Object
Returns the value of attribute recurring_tax_amount.
28 29 30 |
# File 'lib/softlayer/billing/order/item.rb', line 28 def recurring_tax_amount @recurring_tax_amount end |
#redundant_power_supply_count ⇒ Object
Returns the value of attribute redundant_power_supply_count.
55 56 57 |
# File 'lib/softlayer/billing/order/item.rb', line 55 def redundant_power_supply_count @redundant_power_supply_count end |
#setup_after_tax_amount ⇒ Object
Returns the value of attribute setup_after_tax_amount.
29 30 31 |
# File 'lib/softlayer/billing/order/item.rb', line 29 def setup_after_tax_amount @setup_after_tax_amount end |
#setup_fee ⇒ Object
Returns the value of attribute setup_fee.
30 31 32 |
# File 'lib/softlayer/billing/order/item.rb', line 30 def setup_fee @setup_fee end |
#setup_fee_deferral_months ⇒ Object
Returns the value of attribute setup_fee_deferral_months.
31 32 33 |
# File 'lib/softlayer/billing/order/item.rb', line 31 def setup_fee_deferral_months @setup_fee_deferral_months end |
#setup_fee_tax_rate ⇒ Object
Returns the value of attribute setup_fee_tax_rate.
32 33 34 |
# File 'lib/softlayer/billing/order/item.rb', line 32 def setup_fee_tax_rate @setup_fee_tax_rate end |
#setup_tax_amount ⇒ Object
Returns the value of attribute setup_tax_amount.
33 34 35 |
# File 'lib/softlayer/billing/order/item.rb', line 33 def setup_tax_amount @setup_tax_amount end |
#software_description ⇒ Object
Returns the value of attribute software_description.
56 57 58 |
# File 'lib/softlayer/billing/order/item.rb', line 56 def software_description @software_description end |
#storage_group_count ⇒ Object
Returns the value of attribute storage_group_count.
38 39 40 |
# File 'lib/softlayer/billing/order/item.rb', line 38 def storage_group_count @storage_group_count end |
#storage_groups ⇒ Object
Returns the value of attribute storage_groups.
57 58 59 |
# File 'lib/softlayer/billing/order/item.rb', line 57 def storage_groups @storage_groups end |
#total_recurring_amount ⇒ Object
Returns the value of attribute total_recurring_amount.
58 59 60 |
# File 'lib/softlayer/billing/order/item.rb', line 58 def total_recurring_amount @total_recurring_amount end |
#upgrade_item ⇒ Object
Returns the value of attribute upgrade_item.
59 60 61 |
# File 'lib/softlayer/billing/order/item.rb', line 59 def upgrade_item @upgrade_item end |
Instance Method Details
#get_billing_item ⇒ Object
61 62 63 |
# File 'lib/softlayer/billing/order/item.rb', line 61 def get_billing_item request(:get_billing_item, Softlayer::Billing::Item) end |
#get_bundled_items ⇒ Object
65 66 67 |
# File 'lib/softlayer/billing/order/item.rb', line 65 def get_bundled_items request(:get_bundled_items, Array[Softlayer::Billing::Order::Item]) end |
#get_category ⇒ Object
69 70 71 |
# File 'lib/softlayer/billing/order/item.rb', line 69 def get_category request(:get_category, Softlayer::Product::Item::Category) end |
#get_children ⇒ Object
73 74 75 |
# File 'lib/softlayer/billing/order/item.rb', line 73 def get_children request(:get_children, Array[Softlayer::Billing::Order::Item]) end |
#get_global_identifier ⇒ Object
77 78 79 |
# File 'lib/softlayer/billing/order/item.rb', line 77 def get_global_identifier request(:get_global_identifier, String) end |
#get_hardware_generic_component ⇒ Object
81 82 83 |
# File 'lib/softlayer/billing/order/item.rb', line 81 def get_hardware_generic_component request(:get_hardware_generic_component, Softlayer::Hardware::Component::Model::Generic) end |
#get_item ⇒ Object
85 86 87 |
# File 'lib/softlayer/billing/order/item.rb', line 85 def get_item request(:get_item, Softlayer::Product::Item) end |
#get_item_category_answers ⇒ Object
89 90 91 |
# File 'lib/softlayer/billing/order/item.rb', line 89 def get_item_category_answers request(:get_item_category_answers, Array[Softlayer::Billing::Order::Item::Category::Answer]) end |
#get_item_price ⇒ Object
93 94 95 |
# File 'lib/softlayer/billing/order/item.rb', line 93 def get_item_price request(:get_item_price, Softlayer::Product::Item::Price) end |
#get_location ⇒ Object
97 98 99 |
# File 'lib/softlayer/billing/order/item.rb', line 97 def get_location request(:get_location, Softlayer::Location) end |
#get_next_order_children ⇒ Object
101 102 103 |
# File 'lib/softlayer/billing/order/item.rb', line 101 def get_next_order_children request(:get_next_order_children, Array[Softlayer::Billing::Order::Item]) end |
#get_object ⇒ Object
105 106 107 |
# File 'lib/softlayer/billing/order/item.rb', line 105 def get_object request(:get_object, Softlayer::Billing::Order::Item) end |
#get_old_billing_item ⇒ Object
109 110 111 |
# File 'lib/softlayer/billing/order/item.rb', line 109 def get_old_billing_item request(:get_old_billing_item, Softlayer::Billing::Item) end |
#get_order ⇒ Object
113 114 115 |
# File 'lib/softlayer/billing/order/item.rb', line 113 def get_order request(:get_order, Softlayer::Billing::Order) end |
#get_order_approval_date ⇒ Object
117 118 119 |
# File 'lib/softlayer/billing/order/item.rb', line 117 def get_order_approval_date request(:get_order_approval_date, DateTime) end |
#get_package ⇒ Object
121 122 123 |
# File 'lib/softlayer/billing/order/item.rb', line 121 def get_package request(:get_package, Softlayer::Product::Package) end |
#get_parent ⇒ Object
125 126 127 |
# File 'lib/softlayer/billing/order/item.rb', line 125 def get_parent request(:get_parent, Softlayer::Billing::Order::Item) end |
#get_redundant_power_supply_count ⇒ Object
129 130 131 |
# File 'lib/softlayer/billing/order/item.rb', line 129 def get_redundant_power_supply_count request(:get_redundant_power_supply_count, Integer) end |
#get_software_description ⇒ Object
133 134 135 |
# File 'lib/softlayer/billing/order/item.rb', line 133 def get_software_description request(:get_software_description, Softlayer::Software::Description) end |
#get_storage_groups ⇒ Object
137 138 139 |
# File 'lib/softlayer/billing/order/item.rb', line 137 def get_storage_groups request(:get_storage_groups, Array[Softlayer::Configuration::Storage::Group::Order]) end |
#get_total_recurring_amount ⇒ Object
141 142 143 |
# File 'lib/softlayer/billing/order/item.rb', line 141 def get_total_recurring_amount request(:get_total_recurring_amount, Float) end |