class Softlayer::Billing::Item::Cancellation::Request
Constants
- SERVICE
Attributes
account[RW]
account_id[RW]
billing_cancel_reason_id[RW]
create_date[RW]
id[RW]
item_count[RW]
items[RW]
modify_date[RW]
notes[RW]
status[RW]
status_id[RW]
ticket[RW]
ticket_id[RW]
user[RW]
Public Class Methods
create_object(message)
click to toggle source
template_object
# File lib/softlayer/billing/item/cancellation/request.rb, line 25 def self.create_object(message) request(:create_object, Softlayer::Billing::Item::Cancellation::Request, message) end
get_all_cancellation_requests()
click to toggle source
# File lib/softlayer/billing/item/cancellation/request.rb, line 33 def self.get_all_cancellation_requests request(:get_all_cancellation_requests, Array[Softlayer::Billing::Item::Cancellation::Request]) end
get_cancellation_cutoff_date(message)
click to toggle source
account_id
category_code
# File lib/softlayer/billing/item/cancellation/request.rb, line 39 def self.get_cancellation_cutoff_date(message) request(:get_cancellation_cutoff_date, DateTime, message) end
validate_billing_item_for_cancellation(message)
click to toggle source
billing_item_id
# File lib/softlayer/billing/item/cancellation/request.rb, line 69 def self.validate_billing_item_for_cancellation(message) request(:validate_billing_item_for_cancellation, Boolean, message) end
Public Instance Methods
get_account()
click to toggle source
# File lib/softlayer/billing/item/cancellation/request.rb, line 29 def get_account request(:get_account, Softlayer::Account) end
get_items()
click to toggle source
# File lib/softlayer/billing/item/cancellation/request.rb, line 43 def get_items request(:get_items, Array[Softlayer::Billing::Item::Cancellation::Request::Item]) end
get_object()
click to toggle source
# File lib/softlayer/billing/item/cancellation/request.rb, line 47 def get_object request(:get_object, Softlayer::Billing::Item::Cancellation::Request) end
get_status()
click to toggle source
# File lib/softlayer/billing/item/cancellation/request.rb, line 51 def get_status request(:get_status, Softlayer::Billing::Item::Cancellation::Request::Status) end
get_ticket()
click to toggle source
# File lib/softlayer/billing/item/cancellation/request.rb, line 55 def get_ticket request(:get_ticket, Softlayer::Ticket) end
get_user()
click to toggle source
# File lib/softlayer/billing/item/cancellation/request.rb, line 59 def get_user request(:get_user, Softlayer::User::Customer) end
remove_cancellation_item(message)
click to toggle source
item_id
# File lib/softlayer/billing/item/cancellation/request.rb, line 64 def remove_cancellation_item(message) request(:remove_cancellation_item, Boolean, message) end
void(message)
click to toggle source
close_related_ticket_flag
# File lib/softlayer/billing/item/cancellation/request.rb, line 74 def void(message) request(:void, Boolean, message) end