Class: Softlayer::Billing::Item

Inherits:
Entity show all
Defined in:
lib/softlayer/billing/item.rb,
lib/softlayer/billing/item/ctc.rb,
lib/softlayer/billing/item/link.rb,
lib/softlayer/billing/item/user.rb,
lib/softlayer/billing/item/account.rb,
lib/softlayer/billing/item/gateway.rb,
lib/softlayer/billing/item/network.rb,
lib/softlayer/billing/item/support.rb,
lib/softlayer/billing/item/virtual.rb,
lib/softlayer/billing/item/hardware.rb,
lib/softlayer/billing/item/software.rb,
lib/softlayer/billing/item/workspace.rb,
lib/softlayer/billing/item/association.rb,
lib/softlayer/billing/item/ctc/account.rb,
lib/softlayer/billing/item/cancellation.rb,
lib/softlayer/billing/item/network/vlan.rb,
lib/softlayer/billing/item/virtual/disk.rb,
lib/softlayer/billing/item/virtual/host.rb,
lib/softlayer/billing/item/account/media.rb,
lib/softlayer/billing/item/user/customer.rb,
lib/softlayer/billing/item/virtual/guest.rb,
lib/softlayer/billing/item/network/subnet.rb,
lib/softlayer/billing/item/network/tunnel.rb,
lib/softlayer/billing/item/hardware/server.rb,
lib/softlayer/billing/item/link/the_planet.rb,
lib/softlayer/billing/item/network/message.rb,
lib/softlayer/billing/item/network/storage.rb,
lib/softlayer/billing/item/network/firewall.rb,
lib/softlayer/billing/item/software/license.rb,
lib/softlayer/billing/item/gateway/appliance.rb,
lib/softlayer/billing/item/hardware/security.rb,
lib/softlayer/billing/item/network/bandwidth.rb,
lib/softlayer/billing/item/virtual/dedicated.rb,
lib/softlayer/billing/item/account/media/data.rb,
lib/softlayer/billing/item/hardware/component.rb,
lib/softlayer/billing/item/software/component.rb,
lib/softlayer/billing/item/virtual/disk/image.rb,
lib/softlayer/billing/item/virtual/host/usage.rb,
lib/softlayer/billing/item/association/history.rb,
lib/softlayer/billing/item/cancellation/reason.rb,
lib/softlayer/billing/item/hardware/colocation.rb,
lib/softlayer/billing/item/network/application.rb,
lib/softlayer/billing/item/network/storage/hub.rb,
lib/softlayer/billing/item/cancellation/request.rb,
lib/softlayer/billing/item/network/interconnect.rb,
lib/softlayer/billing/item/network/load_balancer.rb,
lib/softlayer/billing/item/network/message/queue.rb,
lib/softlayer/billing/item/user/customer/external.rb,
lib/softlayer/billing/item/virtual/dedicated/rack.rb,
lib/softlayer/billing/item/network/firewall/module.rb,
lib/softlayer/billing/item/hardware/security/module.rb,
lib/softlayer/billing/item/network/message/delivery.rb,
lib/softlayer/billing/item/cancellation/request/item.rb,
lib/softlayer/billing/item/gateway/appliance/cluster.rb,
lib/softlayer/billing/item/network/subnet/ip_address.rb,
lib/softlayer/billing/item/software/component/virtual.rb,
lib/softlayer/billing/item/account/media/data/transfer.rb,
lib/softlayer/billing/item/cancellation/request/status.rb,
lib/softlayer/billing/item/network/performance_storage.rb,
lib/softlayer/billing/item/cancellation/reason/category.rb,
lib/softlayer/billing/item/network/application/delivery.rb,
lib/softlayer/billing/item/network/load_balancer/global.rb,
lib/softlayer/billing/item/software/component/analytics.rb,
lib/softlayer/billing/item/network/storage/hub/bandwidth.rb,
lib/softlayer/billing/item/network/message/queue/delivery.rb,
lib/softlayer/billing/item/user/customer/external/binding.rb,
lib/softlayer/billing/item/network/firewall/module/context.rb,
lib/softlayer/billing/item/network/performance_storage/nfs.rb,
lib/softlayer/billing/item/network/subnet/ip_address/global.rb,
lib/softlayer/billing/item/software/component/control_panel.rb,
lib/softlayer/billing/item/network/performance_storage/iscsi.rb,
lib/softlayer/billing/item/account/media/data/transfer/request.rb,
lib/softlayer/billing/item/software/component/analytics/urchin.rb,
lib/softlayer/billing/item/software/component/operating_system.rb,
lib/softlayer/billing/item/network/application/delivery/controller.rb,
lib/softlayer/billing/item/network/load_balancer/virtual_ip_address.rb,
lib/softlayer/billing/item/software/component/operating_system/addon.rb,
lib/softlayer/billing/item/software/component/control_panel/parallels.rb,
lib/softlayer/billing/item/software/component/virtual/operating_system.rb,
lib/softlayer/billing/item/software/component/control_panel/parallels/plesk.rb,
lib/softlayer/billing/item/software/component/operating_system/addon/citrix.rb,
lib/softlayer/billing/item/software/component/virtual/operating_system/redhat.rb,
lib/softlayer/billing/item/network/application/delivery/controller/load_balancer.rb,
lib/softlayer/billing/item/software/component/virtual/operating_system/microsoft.rb,
lib/softlayer/billing/item/software/component/control_panel/parallels/plesk/billing.rb,
lib/softlayer/billing/item/software/component/operating_system/addon/citrix/essentials.rb,
lib/softlayer/billing/item/network/application/delivery/controller/load_balancer/virtual_ip_address.rb

Defined Under Namespace

Modules: Account, Association, Cancellation, Ctc, Gateway, Link, Network, Software, User, Virtual Classes: Hardware, Representer, Support, Workspace

Constant Summary collapse

SERVICE =
'SoftLayer_Billing_Item'

Instance Attribute Summary collapse

Class Method 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

#accountObject

Returns the value of attribute account.



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

def 
  @account
end

#active_agreementObject

Returns the value of attribute active_agreement.



71
72
73
# File 'lib/softlayer/billing/item.rb', line 71

def active_agreement
  @active_agreement
end

#active_agreement_flagObject

Returns the value of attribute active_agreement_flag.



72
73
74
# File 'lib/softlayer/billing/item.rb', line 72

def active_agreement_flag
  @active_agreement_flag
end

#active_associated_childrenObject

Returns the value of attribute active_associated_children.



73
74
75
# File 'lib/softlayer/billing/item.rb', line 73

def active_associated_children
  @active_associated_children
end

#active_associated_children_countObject

Returns the value of attribute active_associated_children_count.



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

def active_associated_children_count
  @active_associated_children_count
end

#active_associated_guest_disk_billing_item_countObject

Returns the value of attribute active_associated_guest_disk_billing_item_count.



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

def active_associated_guest_disk_billing_item_count
  @active_associated_guest_disk_billing_item_count
end

#active_associated_guest_disk_billing_itemsObject

Returns the value of attribute active_associated_guest_disk_billing_items.



74
75
76
# File 'lib/softlayer/billing/item.rb', line 74

def active_associated_guest_disk_billing_items
  @active_associated_guest_disk_billing_items
end

#active_bundled_item_countObject

Returns the value of attribute active_bundled_item_count.



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

def active_bundled_item_count
  @active_bundled_item_count
end

#active_bundled_itemsObject

Returns the value of attribute active_bundled_items.



75
76
77
# File 'lib/softlayer/billing/item.rb', line 75

def active_bundled_items
  @active_bundled_items
end

#active_cancellation_itemObject

Returns the value of attribute active_cancellation_item.



76
77
78
# File 'lib/softlayer/billing/item.rb', line 76

def active_cancellation_item
  @active_cancellation_item
end

#active_childrenObject

Returns the value of attribute active_children.



77
78
79
# File 'lib/softlayer/billing/item.rb', line 77

def active_children
  @active_children
end

#active_children_countObject

Returns the value of attribute active_children_count.



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

def active_children_count
  @active_children_count
end

#active_flagObject

Returns the value of attribute active_flag.



78
79
80
# File 'lib/softlayer/billing/item.rb', line 78

def active_flag
  @active_flag
end

#active_spare_pool_associated_guest_disk_billing_item_countObject

Returns the value of attribute active_spare_pool_associated_guest_disk_billing_item_count.



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

def active_spare_pool_associated_guest_disk_billing_item_count
  @active_spare_pool_associated_guest_disk_billing_item_count
end

#active_spare_pool_associated_guest_disk_billing_itemsObject

Returns the value of attribute active_spare_pool_associated_guest_disk_billing_items.



79
80
81
# File 'lib/softlayer/billing/item.rb', line 79

def active_spare_pool_associated_guest_disk_billing_items
  @active_spare_pool_associated_guest_disk_billing_items
end

#active_spare_pool_bundled_item_countObject

Returns the value of attribute active_spare_pool_bundled_item_count.



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

def active_spare_pool_bundled_item_count
  @active_spare_pool_bundled_item_count
end

#active_spare_pool_bundled_itemsObject

Returns the value of attribute active_spare_pool_bundled_items.



80
81
82
# File 'lib/softlayer/billing/item.rb', line 80

def active_spare_pool_bundled_items
  @active_spare_pool_bundled_items
end

#allow_cancellation_flagObject

Returns the value of attribute allow_cancellation_flag.



18
19
20
# File 'lib/softlayer/billing/item.rb', line 18

def allow_cancellation_flag
  @allow_cancellation_flag
end

#associated_billing_itemObject

Returns the value of attribute associated_billing_item.



81
82
83
# File 'lib/softlayer/billing/item.rb', line 81

def associated_billing_item
  @associated_billing_item
end

#associated_billing_item_historyObject

Returns the value of attribute associated_billing_item_history.



82
83
84
# File 'lib/softlayer/billing/item.rb', line 82

def associated_billing_item_history
  @associated_billing_item_history
end

#associated_billing_item_history_countObject

Returns the value of attribute associated_billing_item_history_count.



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

def associated_billing_item_history_count
  @associated_billing_item_history_count
end

#associated_billing_item_idObject

Returns the value of attribute associated_billing_item_id.



19
20
21
# File 'lib/softlayer/billing/item.rb', line 19

def associated_billing_item_id
  @associated_billing_item_id
end

#associated_childrenObject

Returns the value of attribute associated_children.



83
84
85
# File 'lib/softlayer/billing/item.rb', line 83

def associated_children
  @associated_children
end

#associated_children_countObject

Returns the value of attribute associated_children_count.



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

def associated_children_count
  @associated_children_count
end

#associated_parentObject

Returns the value of attribute associated_parent.



84
85
86
# File 'lib/softlayer/billing/item.rb', line 84

def associated_parent
  @associated_parent
end

#associated_parent_countObject

Returns the value of attribute associated_parent_count.



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

def associated_parent_count
  @associated_parent_count
end

#available_matching_vlan_countObject

Returns the value of attribute available_matching_vlan_count.



56
57
58
# File 'lib/softlayer/billing/item.rb', line 56

def available_matching_vlan_count
  @available_matching_vlan_count
end

#available_matching_vlansObject

Returns the value of attribute available_matching_vlans.



85
86
87
# File 'lib/softlayer/billing/item.rb', line 85

def available_matching_vlans
  @available_matching_vlans
end

#bandwidth_allocationObject

Returns the value of attribute bandwidth_allocation.



86
87
88
# File 'lib/softlayer/billing/item.rb', line 86

def bandwidth_allocation
  @bandwidth_allocation
end

#billable_childrenObject

Returns the value of attribute billable_children.



87
88
89
# File 'lib/softlayer/billing/item.rb', line 87

def billable_children
  @billable_children
end

#billable_children_countObject

Returns the value of attribute billable_children_count.



57
58
59
# File 'lib/softlayer/billing/item.rb', line 57

def billable_children_count
  @billable_children_count
end

#bundle_item_countObject

Returns the value of attribute bundle_item_count.



58
59
60
# File 'lib/softlayer/billing/item.rb', line 58

def bundle_item_count
  @bundle_item_count
end

#bundle_itemsObject

Returns the value of attribute bundle_items.



88
89
90
# File 'lib/softlayer/billing/item.rb', line 88

def bundle_items
  @bundle_items
end

#bundled_item_countObject

Returns the value of attribute bundled_item_count.



59
60
61
# File 'lib/softlayer/billing/item.rb', line 59

def bundled_item_count
  @bundled_item_count
end

#bundled_itemsObject

Returns the value of attribute bundled_items.



89
90
91
# File 'lib/softlayer/billing/item.rb', line 89

def bundled_items
  @bundled_items
end

#canceled_childrenObject

Returns the value of attribute canceled_children.



90
91
92
# File 'lib/softlayer/billing/item.rb', line 90

def canceled_children
  @canceled_children
end

#canceled_children_countObject

Returns the value of attribute canceled_children_count.



60
61
62
# File 'lib/softlayer/billing/item.rb', line 60

def canceled_children_count
  @canceled_children_count
end

#cancellation_dateObject

Returns the value of attribute cancellation_date.



20
21
22
# File 'lib/softlayer/billing/item.rb', line 20

def cancellation_date
  @cancellation_date
end

#cancellation_reasonObject

Returns the value of attribute cancellation_reason.



91
92
93
# File 'lib/softlayer/billing/item.rb', line 91

def cancellation_reason
  @cancellation_reason
end

#cancellation_request_countObject

Returns the value of attribute cancellation_request_count.



61
62
63
# File 'lib/softlayer/billing/item.rb', line 61

def cancellation_request_count
  @cancellation_request_count
end

#cancellation_requestsObject

Returns the value of attribute cancellation_requests.



92
93
94
# File 'lib/softlayer/billing/item.rb', line 92

def cancellation_requests
  @cancellation_requests
end

#categoryObject

Returns the value of attribute category.



93
94
95
# File 'lib/softlayer/billing/item.rb', line 93

def category
  @category
end

#category_codeObject

Returns the value of attribute category_code.



21
22
23
# File 'lib/softlayer/billing/item.rb', line 21

def category_code
  @category_code
end

#childrenObject

Returns the value of attribute children.



94
95
96
# File 'lib/softlayer/billing/item.rb', line 94

def children
  @children
end

#children_countObject

Returns the value of attribute children_count.



62
63
64
# File 'lib/softlayer/billing/item.rb', line 62

def children_count
  @children_count
end

#children_with_active_agreementObject

Returns the value of attribute children_with_active_agreement.



95
96
97
# File 'lib/softlayer/billing/item.rb', line 95

def children_with_active_agreement
  @children_with_active_agreement
end

#children_with_active_agreement_countObject

Returns the value of attribute children_with_active_agreement_count.



63
64
65
# File 'lib/softlayer/billing/item.rb', line 63

def children_with_active_agreement_count
  @children_with_active_agreement_count
end

#create_dateObject

Returns the value of attribute create_date.



22
23
24
# File 'lib/softlayer/billing/item.rb', line 22

def create_date
  @create_date
end

#current_hourly_chargeObject

Returns the value of attribute current_hourly_charge.



23
24
25
# File 'lib/softlayer/billing/item.rb', line 23

def current_hourly_charge
  @current_hourly_charge
end

#cycle_start_dateObject

Returns the value of attribute cycle_start_date.



24
25
26
# File 'lib/softlayer/billing/item.rb', line 24

def cycle_start_date
  @cycle_start_date
end

#descriptionObject

Returns the value of attribute description.



25
26
27
# File 'lib/softlayer/billing/item.rb', line 25

def description
  @description
end

#domain_nameObject

Returns the value of attribute domain_name.



26
27
28
# File 'lib/softlayer/billing/item.rb', line 26

def domain_name
  @domain_name
end

#downgrade_item_countObject

Returns the value of attribute downgrade_item_count.



64
65
66
# File 'lib/softlayer/billing/item.rb', line 64

def downgrade_item_count
  @downgrade_item_count
end

#downgrade_itemsObject

Returns the value of attribute downgrade_items.



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

def downgrade_items
  @downgrade_items
end

#filtered_next_invoice_childrenObject

Returns the value of attribute filtered_next_invoice_children.



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

def filtered_next_invoice_children
  @filtered_next_invoice_children
end

#filtered_next_invoice_children_countObject

Returns the value of attribute filtered_next_invoice_children_count.



65
66
67
# File 'lib/softlayer/billing/item.rb', line 65

def filtered_next_invoice_children_count
  @filtered_next_invoice_children_count
end

#host_nameObject

Returns the value of attribute host_name.



27
28
29
# File 'lib/softlayer/billing/item.rb', line 27

def host_name
  @host_name
end

#hourly_flagObject

Returns the value of attribute hourly_flag.



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

def hourly_flag
  @hourly_flag
end

#hourly_recurring_feeObject

Returns the value of attribute hourly_recurring_fee.



28
29
30
# File 'lib/softlayer/billing/item.rb', line 28

def hourly_recurring_fee
  @hourly_recurring_fee
end

#hours_usedObject

Returns the value of attribute hours_used.



29
30
31
# File 'lib/softlayer/billing/item.rb', line 29

def hours_used
  @hours_used
end

#idObject

Returns the value of attribute id.



30
31
32
# File 'lib/softlayer/billing/item.rb', line 30

def id
  @id
end

#invoice_itemObject

Returns the value of attribute invoice_item.



99
100
101
# File 'lib/softlayer/billing/item.rb', line 99

def invoice_item
  @invoice_item
end

#invoice_item_countObject

Returns the value of attribute invoice_item_count.



66
67
68
# File 'lib/softlayer/billing/item.rb', line 66

def invoice_item_count
  @invoice_item_count
end

#invoice_itemsObject

Returns the value of attribute invoice_items.



100
101
102
# File 'lib/softlayer/billing/item.rb', line 100

def invoice_items
  @invoice_items
end

#itemObject

Returns the value of attribute item.



101
102
103
# File 'lib/softlayer/billing/item.rb', line 101

def item
  @item
end

#labor_feeObject

Returns the value of attribute labor_fee.



31
32
33
# File 'lib/softlayer/billing/item.rb', line 31

def labor_fee
  @labor_fee
end

#labor_fee_tax_rateObject

Returns the value of attribute labor_fee_tax_rate.



32
33
34
# File 'lib/softlayer/billing/item.rb', line 32

def labor_fee_tax_rate
  @labor_fee_tax_rate
end

#last_bill_dateObject

Returns the value of attribute last_bill_date.



33
34
35
# File 'lib/softlayer/billing/item.rb', line 33

def last_bill_date
  @last_bill_date
end

#locationObject

Returns the value of attribute location.



102
103
104
# File 'lib/softlayer/billing/item.rb', line 102

def location
  @location
end

#modify_dateObject

Returns the value of attribute modify_date.



34
35
36
# File 'lib/softlayer/billing/item.rb', line 34

def modify_date
  @modify_date
end

#next_bill_dateObject

Returns the value of attribute next_bill_date.



35
36
37
# File 'lib/softlayer/billing/item.rb', line 35

def next_bill_date
  @next_bill_date
end

#next_invoice_childrenObject

Returns the value of attribute next_invoice_children.



103
104
105
# File 'lib/softlayer/billing/item.rb', line 103

def next_invoice_children
  @next_invoice_children
end

#next_invoice_children_countObject

Returns the value of attribute next_invoice_children_count.



67
68
69
# File 'lib/softlayer/billing/item.rb', line 67

def next_invoice_children_count
  @next_invoice_children_count
end

#next_invoice_total_one_time_amountObject

Returns the value of attribute next_invoice_total_one_time_amount.



104
105
106
# File 'lib/softlayer/billing/item.rb', line 104

def next_invoice_total_one_time_amount
  @next_invoice_total_one_time_amount
end

#next_invoice_total_one_time_tax_amountObject

Returns the value of attribute next_invoice_total_one_time_tax_amount.



105
106
107
# File 'lib/softlayer/billing/item.rb', line 105

def next_invoice_total_one_time_tax_amount
  @next_invoice_total_one_time_tax_amount
end

#next_invoice_total_recurring_amountObject

Returns the value of attribute next_invoice_total_recurring_amount.



106
107
108
# File 'lib/softlayer/billing/item.rb', line 106

def next_invoice_total_recurring_amount
  @next_invoice_total_recurring_amount
end

#next_invoice_total_recurring_tax_amountObject

Returns the value of attribute next_invoice_total_recurring_tax_amount.



107
108
109
# File 'lib/softlayer/billing/item.rb', line 107

def next_invoice_total_recurring_tax_amount
  @next_invoice_total_recurring_tax_amount
end

#non_zero_next_invoice_childrenObject

Returns the value of attribute non_zero_next_invoice_children.



108
109
110
# File 'lib/softlayer/billing/item.rb', line 108

def non_zero_next_invoice_children
  @non_zero_next_invoice_children
end

#non_zero_next_invoice_children_countObject

Returns the value of attribute non_zero_next_invoice_children_count.



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

def non_zero_next_invoice_children_count
  @non_zero_next_invoice_children_count
end

#notesObject

Returns the value of attribute notes.



36
37
38
# File 'lib/softlayer/billing/item.rb', line 36

def notes
  @notes
end

#one_time_feeObject

Returns the value of attribute one_time_fee.



37
38
39
# File 'lib/softlayer/billing/item.rb', line 37

def one_time_fee
  @one_time_fee
end

#one_time_fee_tax_rateObject

Returns the value of attribute one_time_fee_tax_rate.



38
39
40
# File 'lib/softlayer/billing/item.rb', line 38

def one_time_fee_tax_rate
  @one_time_fee_tax_rate
end

#order_itemObject

Returns the value of attribute order_item.



109
110
111
# File 'lib/softlayer/billing/item.rb', line 109

def order_item
  @order_item
end

#order_item_idObject

Returns the value of attribute order_item_id.



39
40
41
# File 'lib/softlayer/billing/item.rb', line 39

def order_item_id
  @order_item_id
end

#original_locationObject

Returns the value of attribute original_location.



110
111
112
# File 'lib/softlayer/billing/item.rb', line 110

def original_location
  @original_location
end

#packageObject

Returns the value of attribute package.



111
112
113
# File 'lib/softlayer/billing/item.rb', line 111

def package
  @package
end

#parentObject

Returns the value of attribute parent.



112
113
114
# File 'lib/softlayer/billing/item.rb', line 112

def parent
  @parent
end

#parent_idObject

Returns the value of attribute parent_id.



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

def parent_id
  @parent_id
end

#parent_virtual_guest_billing_itemObject

Returns the value of attribute parent_virtual_guest_billing_item.



113
114
115
# File 'lib/softlayer/billing/item.rb', line 113

def parent_virtual_guest_billing_item
  @parent_virtual_guest_billing_item
end

#pending_cancellation_flagObject

Returns the value of attribute pending_cancellation_flag.



114
115
116
# File 'lib/softlayer/billing/item.rb', line 114

def pending_cancellation_flag
  @pending_cancellation_flag
end

#pending_order_itemObject

Returns the value of attribute pending_order_item.



115
116
117
# File 'lib/softlayer/billing/item.rb', line 115

def pending_order_item
  @pending_order_item
end

#provision_transactionObject

Returns the value of attribute provision_transaction.



116
117
118
# File 'lib/softlayer/billing/item.rb', line 116

def provision_transaction
  @provision_transaction
end

#recurring_feeObject

Returns the value of attribute recurring_fee.



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

def recurring_fee
  @recurring_fee
end

#recurring_fee_tax_rateObject

Returns the value of attribute recurring_fee_tax_rate.



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

def recurring_fee_tax_rate
  @recurring_fee_tax_rate
end

#recurring_monthsObject

Returns the value of attribute recurring_months.



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

def recurring_months
  @recurring_months
end

#service_provider_idObject

Returns the value of attribute service_provider_id.



44
45
46
# File 'lib/softlayer/billing/item.rb', line 44

def service_provider_id
  @service_provider_id
end

#setup_feeObject

Returns the value of attribute setup_fee.



45
46
47
# File 'lib/softlayer/billing/item.rb', line 45

def setup_fee
  @setup_fee
end

#setup_fee_tax_rateObject

Returns the value of attribute setup_fee_tax_rate.



46
47
48
# File 'lib/softlayer/billing/item.rb', line 46

def setup_fee_tax_rate
  @setup_fee_tax_rate
end

#software_descriptionObject

Returns the value of attribute software_description.



117
118
119
# File 'lib/softlayer/billing/item.rb', line 117

def software_description
  @software_description
end

#upgrade_itemObject

Returns the value of attribute upgrade_item.



118
119
120
# File 'lib/softlayer/billing/item.rb', line 118

def upgrade_item
  @upgrade_item
end

#upgrade_item_countObject

Returns the value of attribute upgrade_item_count.



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

def upgrade_item_count
  @upgrade_item_count
end

#upgrade_itemsObject

Returns the value of attribute upgrade_items.



119
120
121
# File 'lib/softlayer/billing/item.rb', line 119

def upgrade_items
  @upgrade_items
end

Class Method Details

.get_service_billing_items_by_category(message) ⇒ Object

category_code include_zero_recurring_fee



331
332
333
# File 'lib/softlayer/billing/item.rb', line 331

def self.get_service_billing_items_by_category(message)
  request(:get_service_billing_items_by_category, Array[Softlayer::Billing::Item], message)
end

Instance Method Details

#cancel_item(message) ⇒ Object

cancel_immediately cancel_associated_billing_items reason customer_note



125
126
127
# File 'lib/softlayer/billing/item.rb', line 125

def cancel_item(message)
  request(:cancel_item, Boolean, message)
end

#cancel_serviceObject



129
130
131
# File 'lib/softlayer/billing/item.rb', line 129

def cancel_service
  request(:cancel_service, Boolean)
end

#cancel_service_on_anniversary_dateObject



133
134
135
# File 'lib/softlayer/billing/item.rb', line 133

def cancel_service_on_anniversary_date
  request(:cancel_service_on_anniversary_date, Boolean)
end

#get_accountObject



137
138
139
# File 'lib/softlayer/billing/item.rb', line 137

def 
  request(:get_account, Softlayer::Account)
end

#get_active_agreementObject



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

def get_active_agreement
  request(:get_active_agreement, Softlayer::Account::Agreement)
end

#get_active_agreement_flagObject



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

def get_active_agreement_flag
  request(:get_active_agreement_flag, Softlayer::Account::Agreement)
end

#get_active_associated_childrenObject



149
150
151
# File 'lib/softlayer/billing/item.rb', line 149

def get_active_associated_children
  request(:get_active_associated_children, Array[Softlayer::Billing::Item])
end

#get_active_associated_guest_disk_billing_itemsObject



153
154
155
# File 'lib/softlayer/billing/item.rb', line 153

def get_active_associated_guest_disk_billing_items
  request(:get_active_associated_guest_disk_billing_items, Array[Softlayer::Billing::Item])
end

#get_active_bundled_itemsObject



157
158
159
# File 'lib/softlayer/billing/item.rb', line 157

def get_active_bundled_items
  request(:get_active_bundled_items, Array[Softlayer::Billing::Item])
end

#get_active_cancellation_itemObject



161
162
163
# File 'lib/softlayer/billing/item.rb', line 161

def get_active_cancellation_item
  request(:get_active_cancellation_item, Softlayer::Billing::Item::Cancellation::Request::Item)
end

#get_active_childrenObject



165
166
167
# File 'lib/softlayer/billing/item.rb', line 165

def get_active_children
  request(:get_active_children, Array[Softlayer::Billing::Item])
end

#get_active_flagObject



169
170
171
# File 'lib/softlayer/billing/item.rb', line 169

def get_active_flag
  request(:get_active_flag, Boolean)
end

#get_active_spare_pool_associated_guest_disk_billing_itemsObject



173
174
175
# File 'lib/softlayer/billing/item.rb', line 173

def get_active_spare_pool_associated_guest_disk_billing_items
  request(:get_active_spare_pool_associated_guest_disk_billing_items, Array[Softlayer::Billing::Item])
end

#get_active_spare_pool_bundled_itemsObject



177
178
179
# File 'lib/softlayer/billing/item.rb', line 177

def get_active_spare_pool_bundled_items
  request(:get_active_spare_pool_bundled_items, Array[Softlayer::Billing::Item])
end

#get_associated_billing_itemObject



181
182
183
# File 'lib/softlayer/billing/item.rb', line 181

def get_associated_billing_item
  request(:get_associated_billing_item, Softlayer::Billing::Item)
end

#get_associated_billing_item_historyObject



185
186
187
# File 'lib/softlayer/billing/item.rb', line 185

def get_associated_billing_item_history
  request(:get_associated_billing_item_history, Array[Softlayer::Billing::Item::Association::History])
end

#get_associated_childrenObject



189
190
191
# File 'lib/softlayer/billing/item.rb', line 189

def get_associated_children
  request(:get_associated_children, Array[Softlayer::Billing::Item])
end

#get_associated_parentObject



193
194
195
# File 'lib/softlayer/billing/item.rb', line 193

def get_associated_parent
  request(:get_associated_parent, Array[Softlayer::Billing::Item])
end

#get_available_matching_vlansObject



197
198
199
# File 'lib/softlayer/billing/item.rb', line 197

def get_available_matching_vlans
  request(:get_available_matching_vlans, Array[Softlayer::Network::Vlan])
end

#get_bandwidth_allocationObject



201
202
203
# File 'lib/softlayer/billing/item.rb', line 201

def get_bandwidth_allocation
  request(:get_bandwidth_allocation, Softlayer::Network::Bandwidth::Version1::Allocation)
end

#get_billable_childrenObject



205
206
207
# File 'lib/softlayer/billing/item.rb', line 205

def get_billable_children
  request(:get_billable_children, Array[Softlayer::Billing::Item])
end

#get_bundle_itemsObject



209
210
211
# File 'lib/softlayer/billing/item.rb', line 209

def get_bundle_items
  request(:get_bundle_items, Array[Softlayer::Product::Item::Bundles])
end

#get_bundled_itemsObject



213
214
215
# File 'lib/softlayer/billing/item.rb', line 213

def get_bundled_items
  request(:get_bundled_items, Array[Softlayer::Billing::Item])
end

#get_canceled_childrenObject



217
218
219
# File 'lib/softlayer/billing/item.rb', line 217

def get_canceled_children
  request(:get_canceled_children, Array[Softlayer::Billing::Item])
end

#get_cancellation_reasonObject



221
222
223
# File 'lib/softlayer/billing/item.rb', line 221

def get_cancellation_reason
  request(:get_cancellation_reason, Softlayer::Billing::Item::Cancellation::Reason)
end

#get_cancellation_requestsObject



225
226
227
# File 'lib/softlayer/billing/item.rb', line 225

def get_cancellation_requests
  request(:get_cancellation_requests, Array[Softlayer::Billing::Item::Cancellation::Request])
end

#get_categoryObject



229
230
231
# File 'lib/softlayer/billing/item.rb', line 229

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

#get_childrenObject



233
234
235
# File 'lib/softlayer/billing/item.rb', line 233

def get_children
  request(:get_children, Array[Softlayer::Billing::Item])
end

#get_children_with_active_agreementObject



237
238
239
# File 'lib/softlayer/billing/item.rb', line 237

def get_children_with_active_agreement
  request(:get_children_with_active_agreement, Array[Softlayer::Billing::Item])
end

#get_downgrade_itemsObject



241
242
243
# File 'lib/softlayer/billing/item.rb', line 241

def get_downgrade_items
  request(:get_downgrade_items, Array[Softlayer::Product::Item])
end

#get_filtered_next_invoice_childrenObject



245
246
247
# File 'lib/softlayer/billing/item.rb', line 245

def get_filtered_next_invoice_children
  request(:get_filtered_next_invoice_children, Array[Softlayer::Billing::Item])
end

#get_hourly_flagObject



249
250
251
# File 'lib/softlayer/billing/item.rb', line 249

def get_hourly_flag
  request(:get_hourly_flag, Boolean)
end

#get_invoice_itemObject



253
254
255
# File 'lib/softlayer/billing/item.rb', line 253

def get_invoice_item
  request(:get_invoice_item, Softlayer::Billing::Invoice::Item)
end

#get_invoice_itemsObject



257
258
259
# File 'lib/softlayer/billing/item.rb', line 257

def get_invoice_items
  request(:get_invoice_items, Array[Softlayer::Billing::Invoice::Item])
end

#get_itemObject



261
262
263
# File 'lib/softlayer/billing/item.rb', line 261

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

#get_locationObject



265
266
267
# File 'lib/softlayer/billing/item.rb', line 265

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

#get_next_invoice_childrenObject



269
270
271
# File 'lib/softlayer/billing/item.rb', line 269

def get_next_invoice_children
  request(:get_next_invoice_children, Array[Softlayer::Billing::Item])
end

#get_next_invoice_total_one_time_amountObject



273
274
275
# File 'lib/softlayer/billing/item.rb', line 273

def get_next_invoice_total_one_time_amount
  request(:get_next_invoice_total_one_time_amount, Float)
end

#get_next_invoice_total_one_time_tax_amountObject



277
278
279
# File 'lib/softlayer/billing/item.rb', line 277

def get_next_invoice_total_one_time_tax_amount
  request(:get_next_invoice_total_one_time_tax_amount, Float)
end

#get_next_invoice_total_recurring_amountObject



281
282
283
# File 'lib/softlayer/billing/item.rb', line 281

def get_next_invoice_total_recurring_amount
  request(:get_next_invoice_total_recurring_amount, Float)
end

#get_next_invoice_total_recurring_tax_amountObject



285
286
287
# File 'lib/softlayer/billing/item.rb', line 285

def get_next_invoice_total_recurring_tax_amount
  request(:get_next_invoice_total_recurring_tax_amount, Float)
end

#get_non_zero_next_invoice_childrenObject



289
290
291
# File 'lib/softlayer/billing/item.rb', line 289

def get_non_zero_next_invoice_children
  request(:get_non_zero_next_invoice_children, Array[Softlayer::Billing::Item])
end

#get_objectObject



293
294
295
# File 'lib/softlayer/billing/item.rb', line 293

def get_object
  request(:get_object, Softlayer::Billing::Item)
end

#get_order_itemObject



297
298
299
# File 'lib/softlayer/billing/item.rb', line 297

def get_order_item
  request(:get_order_item, Softlayer::Billing::Order::Item)
end

#get_original_locationObject



301
302
303
# File 'lib/softlayer/billing/item.rb', line 301

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

#get_packageObject



305
306
307
# File 'lib/softlayer/billing/item.rb', line 305

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

#get_parentObject



309
310
311
# File 'lib/softlayer/billing/item.rb', line 309

def get_parent
  request(:get_parent, Softlayer::Billing::Item)
end

#get_parent_virtual_guest_billing_itemObject



313
314
315
# File 'lib/softlayer/billing/item.rb', line 313

def get_parent_virtual_guest_billing_item
  request(:get_parent_virtual_guest_billing_item, Softlayer::Billing::Item::Virtual::Guest)
end

#get_pending_cancellation_flagObject



317
318
319
# File 'lib/softlayer/billing/item.rb', line 317

def get_pending_cancellation_flag
  request(:get_pending_cancellation_flag, Boolean)
end

#get_pending_order_itemObject



321
322
323
# File 'lib/softlayer/billing/item.rb', line 321

def get_pending_order_item
  request(:get_pending_order_item, Softlayer::Billing::Order::Item)
end

#get_provision_transactionObject



325
326
327
# File 'lib/softlayer/billing/item.rb', line 325

def get_provision_transaction
  request(:get_provision_transaction, Softlayer::Provisioning::Version1::Transaction)
end

#get_software_descriptionObject



335
336
337
# File 'lib/softlayer/billing/item.rb', line 335

def get_software_description
  request(:get_software_description, Softlayer::Software::Description)
end

#get_upgrade_itemObject



339
340
341
# File 'lib/softlayer/billing/item.rb', line 339

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

#get_upgrade_itemsObject



343
344
345
# File 'lib/softlayer/billing/item.rb', line 343

def get_upgrade_items
  request(:get_upgrade_items, Array[Softlayer::Product::Item])
end

#remove_association_idObject



347
348
349
# File 'lib/softlayer/billing/item.rb', line 347

def remove_association_id
  request(:remove_association_id, Boolean)
end

#set_association_id(message) ⇒ Object

associated_id



352
353
354
# File 'lib/softlayer/billing/item.rb', line 352

def set_association_id(message)
  request(:set_association_id, Boolean, message)
end

#void_cancel_serviceObject



356
357
358
# File 'lib/softlayer/billing/item.rb', line 356

def void_cancel_service
  request(:void_cancel_service, Boolean)
end