Class: Softlayer::Billing::Order::Item

Inherits:
Entity show all
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

Instance Method Summary collapse

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_itemObject

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_countObject

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_itemsObject

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

#categoryObject

Returns the value of attribute category.



41
42
43
# File 'lib/softlayer/billing/order/item.rb', line 41

def category
  @category
end

#category_codeObject

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

#childrenObject

Returns the value of attribute children.



42
43
44
# File 'lib/softlayer/billing/order/item.rb', line 42

def children
  @children
end

#children_countObject

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

#descriptionObject

Returns the value of attribute description.



8
9
10
# File 'lib/softlayer/billing/order/item.rb', line 8

def description
  @description
end

#domain_nameObject

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_identifierObject

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_componentObject

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_nameObject

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_feeObject

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

#idObject

Returns the value of attribute id.



12
13
14
# File 'lib/softlayer/billing/order/item.rb', line 12

def id
  @id
end

#itemObject

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_countObject

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_answersObject

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_idObject

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_priceObject

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_idObject

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_amountObject

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_feeObject

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_rateObject

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_amountObject

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

#locationObject

Returns the value of attribute location.



48
49
50
# File 'lib/softlayer/billing/order/item.rb', line 48

def location
  @location
end

#next_order_childrenObject

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_countObject

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_itemObject

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_amountObject

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_feeObject

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_rateObject

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_amountObject

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

#orderObject

Returns the value of attribute order.



51
52
53
# File 'lib/softlayer/billing/order/item.rb', line 51

def order
  @order
end

#order_approval_dateObject

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

#packageObject

Returns the value of attribute package.



53
54
55
# File 'lib/softlayer/billing/order/item.rb', line 53

def package
  @package
end

#parentObject

Returns the value of attribute parent.



54
55
56
# File 'lib/softlayer/billing/order/item.rb', line 54

def parent
  @parent
end

#parent_idObject

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_idObject

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

#quantityObject

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_amountObject

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_feeObject

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_amountObject

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_countObject

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_amountObject

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_feeObject

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_monthsObject

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_rateObject

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_amountObject

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_descriptionObject

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_countObject

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_groupsObject

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_amountObject

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_itemObject

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_itemObject



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_itemsObject



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_categoryObject



69
70
71
# File 'lib/softlayer/billing/order/item.rb', line 69

def get_category
  request(:get_category, Softlayer::Product::Item::Category)
end

#get_childrenObject



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_identifierObject



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_componentObject



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_itemObject



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_answersObject



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_priceObject



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_locationObject



97
98
99
# File 'lib/softlayer/billing/order/item.rb', line 97

def get_location
  request(:get_location, Softlayer::Location)
end

#get_next_order_childrenObject



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_objectObject



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_itemObject



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_orderObject



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_dateObject



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_packageObject



121
122
123
# File 'lib/softlayer/billing/order/item.rb', line 121

def get_package
  request(:get_package, Softlayer::Product::Package)
end

#get_parentObject



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_countObject



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_descriptionObject



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_groupsObject



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_amountObject



141
142
143
# File 'lib/softlayer/billing/order/item.rb', line 141

def get_total_recurring_amount
  request(:get_total_recurring_amount, Float)
end

#get_upgrade_itemObject



145
146
147
# File 'lib/softlayer/billing/order/item.rb', line 145

def get_upgrade_item
  request(:get_upgrade_item, Softlayer::Product::Item)
end