Class: Softlayer::Billing::Invoice::Item

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

Hardware

Defined Under Namespace

Modules: Tax Classes: Hardware, Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Billing_Invoice_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

#associated_childrenObject

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_countObject

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_itemObject

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_idObject

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_itemObject

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_idObject

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

#categoryObject

Returns the value of attribute category.



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

def category
  @category
end

#category_codeObject

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

#childrenObject

Returns the value of attribute children.



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

def children
  @children
end

#children_countObject

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_dateObject

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

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#domain_nameObject

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_childrenObject

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_countObject

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_nameObject

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_feeObject

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

#idObject

Returns the value of attribute id.



16
17
18
# File 'lib/softlayer/billing/invoice/item.rb', line 16

def id
  @id
end

#invoiceObject

Returns the value of attribute invoice.



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

def invoice
  @invoice
end

#invoice_idObject

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_amountObject

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_feeObject

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_rateObject

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_amountObject

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

#locationObject

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_childrenObject

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_countObject

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

#notesObject

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_amountObject

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_feeObject

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_rateObject

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_amountObject

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

#parentObject

Returns the value of attribute parent.



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

def parent
  @parent
end

#parent_idObject

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

#productObject

Returns the value of attribute product.



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

def product
  @product
end

#product_item_idObject

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_amountObject

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_feeObject

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_rateObject

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_amountObject

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_idObject

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_amountObject

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_feeObject

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_rateObject

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_amountObject

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_amountObject

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_amountObject

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_amountObject

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_amountObject

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_childrenObject



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_itemObject



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_itemObject



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_categoryObject



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

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

#get_childrenObject



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_childrenObject



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_invoiceObject



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

def get_invoice
  request(:get_invoice, Softlayer::Billing::Invoice)
end

#get_locationObject



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_childrenObject



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_objectObject



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

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

#get_parentObject



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

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

#get_productObject



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_amountObject



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_amountObject



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_amountObject



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_amountObject



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