Class: Softlayer::Billing::Order::Quote
- Defined in:
- lib/softlayer/billing/order/quote.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Billing_Order_Quote'
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#completed_purchase_data_id ⇒ Object
Returns the value of attribute completed_purchase_data_id.
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#expiration_date ⇒ Object
Returns the value of attribute expiration_date.
-
#id ⇒ Object
Returns the value of attribute id.
-
#modify_date ⇒ Object
Returns the value of attribute modify_date.
-
#name ⇒ Object
Returns the value of attribute name.
-
#order ⇒ Object
Returns the value of attribute order.
-
#orders_from_quote ⇒ Object
Returns the value of attribute orders_from_quote.
-
#orders_from_quote_count ⇒ Object
Returns the value of attribute orders_from_quote_count.
-
#public_note ⇒ Object
Returns the value of attribute public_note.
-
#quote_key ⇒ Object
Returns the value of attribute quote_key.
-
#status ⇒ Object
Returns the value of attribute status.
Class Method Summary collapse
-
.claim(message) ⇒ Object
quote_key quote_id.
-
.get_quote_by_quote_key(message) ⇒ Object
quote_key.
Instance Method Summary collapse
- #delete_quote ⇒ Object
- #get_account ⇒ Object
- #get_object ⇒ Object
- #get_order ⇒ Object
- #get_orders_from_quote ⇒ Object
- #get_pdf ⇒ Object
-
#get_recalculated_order_container(message) ⇒ Object
order_data order_being_placed_flag.
-
#place_order(message) ⇒ Object
order_data.
-
#place_quote(message) ⇒ Object
order_data.
- #save_quote ⇒ Object
-
#verify_order(message) ⇒ Object
order_data.
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
#account ⇒ Object
Returns the value of attribute account.
17 18 19 |
# File 'lib/softlayer/billing/order/quote.rb', line 17 def account @account end |
#account_id ⇒ Object
Returns the value of attribute account_id.
6 7 8 |
# File 'lib/softlayer/billing/order/quote.rb', line 6 def account_id @account_id end |
#completed_purchase_data_id ⇒ Object
Returns the value of attribute completed_purchase_data_id.
7 8 9 |
# File 'lib/softlayer/billing/order/quote.rb', line 7 def completed_purchase_data_id @completed_purchase_data_id end |
#create_date ⇒ Object
Returns the value of attribute create_date.
8 9 10 |
# File 'lib/softlayer/billing/order/quote.rb', line 8 def create_date @create_date end |
#expiration_date ⇒ Object
Returns the value of attribute expiration_date.
9 10 11 |
# File 'lib/softlayer/billing/order/quote.rb', line 9 def expiration_date @expiration_date end |
#id ⇒ Object
Returns the value of attribute id.
10 11 12 |
# File 'lib/softlayer/billing/order/quote.rb', line 10 def id @id end |
#modify_date ⇒ Object
Returns the value of attribute modify_date.
11 12 13 |
# File 'lib/softlayer/billing/order/quote.rb', line 11 def modify_date @modify_date end |
#name ⇒ Object
Returns the value of attribute name.
12 13 14 |
# File 'lib/softlayer/billing/order/quote.rb', line 12 def name @name end |
#order ⇒ Object
Returns the value of attribute order.
18 19 20 |
# File 'lib/softlayer/billing/order/quote.rb', line 18 def order @order end |
#orders_from_quote ⇒ Object
Returns the value of attribute orders_from_quote.
19 20 21 |
# File 'lib/softlayer/billing/order/quote.rb', line 19 def orders_from_quote @orders_from_quote end |
#orders_from_quote_count ⇒ Object
Returns the value of attribute orders_from_quote_count.
16 17 18 |
# File 'lib/softlayer/billing/order/quote.rb', line 16 def orders_from_quote_count @orders_from_quote_count end |
#public_note ⇒ Object
Returns the value of attribute public_note.
13 14 15 |
# File 'lib/softlayer/billing/order/quote.rb', line 13 def public_note @public_note end |
#quote_key ⇒ Object
Returns the value of attribute quote_key.
14 15 16 |
# File 'lib/softlayer/billing/order/quote.rb', line 14 def quote_key @quote_key end |
#status ⇒ Object
Returns the value of attribute status.
15 16 17 |
# File 'lib/softlayer/billing/order/quote.rb', line 15 def status @status end |
Class Method Details
Instance Method Details
#delete_quote ⇒ Object
27 28 29 |
# File 'lib/softlayer/billing/order/quote.rb', line 27 def delete_quote request(:delete_quote, Softlayer::Billing::Order::Quote) end |
#get_account ⇒ Object
31 32 33 |
# File 'lib/softlayer/billing/order/quote.rb', line 31 def get_account request(:get_account, Softlayer::Account) end |
#get_object ⇒ Object
35 36 37 |
# File 'lib/softlayer/billing/order/quote.rb', line 35 def get_object request(:get_object, Softlayer::Billing::Order::Quote) end |
#get_order ⇒ Object
39 40 41 |
# File 'lib/softlayer/billing/order/quote.rb', line 39 def get_order request(:get_order, Softlayer::Billing::Order) end |
#get_orders_from_quote ⇒ Object
43 44 45 |
# File 'lib/softlayer/billing/order/quote.rb', line 43 def get_orders_from_quote request(:get_orders_from_quote, Array[Softlayer::Billing::Order]) end |
#get_pdf ⇒ Object
47 48 49 |
# File 'lib/softlayer/billing/order/quote.rb', line 47 def get_pdf request(:get_pdf, Softlayer::Base64Binary) end |
#get_recalculated_order_container(message) ⇒ Object
order_data order_being_placed_flag
58 59 60 |
# File 'lib/softlayer/billing/order/quote.rb', line 58 def get_recalculated_order_container() request(:get_recalculated_order_container, Softlayer::Container::Product::Order, ) end |
#place_order(message) ⇒ Object
order_data
63 64 65 |
# File 'lib/softlayer/billing/order/quote.rb', line 63 def place_order() request(:place_order, Softlayer::Container::Product::Order::Receipt, ) end |
#place_quote(message) ⇒ Object
order_data
68 69 70 |
# File 'lib/softlayer/billing/order/quote.rb', line 68 def place_quote() request(:place_quote, Softlayer::Container::Product::Order, ) end |