Class: Fortnox::Order
- Defined in:
- lib/fortnox/resources/order.rb
Constant Summary
Constants included from Types
Types::AccountNumber, Types::AccountingMethods, Types::ArticleTypes, Types::CURRENT_HOUSEWORK_TYPES, Types::Currencies, Types::CustomerTypes, Types::DefaultDeliveryTypeValues, Types::DeliveryStates, Types::DiscountTypes, Types::Email, Types::HouseworkTypes, Types::InvoiceTypes, Types::LEGACY_HOUSEWORK_TYPES, Types::PaymentWays, Types::ProjectStatusTypes, Types::THE_TRUTH, Types::TaxReductionTypes, Types::VATTypes
Instance Attribute Summary collapse
-
#delivery_state ⇒ Object
readonly
DeliveryState Delivery state of the order.
-
#order_type ⇒ Object
readonly
OrderType Type of order.
-
#stock_point_code ⇒ Object
readonly
StockPointCode Code of the stock point.
-
#stock_point_id ⇒ Object
readonly
StockPointId ID of the stock point.
Attributes inherited from Document
#address1, #address2, #administration_fee, #city, #comments, #cost_center, #currency, #currency_rate, #currency_unit, #customer_name, #delivery_address1, #delivery_address2, #delivery_city, #delivery_name, #delivery_zip_code, #external_invoice_reference1, #external_invoice_reference2, #freight, #language, #our_reference, #phone1, #phone2, #price_list, #print_template, #project, #remarks, #tax_reduction_type, #terms_of_delivery, #terms_of_payment, #time_basis_reference, #total_to_pay, #way_of_delivery, #your_order_number, #your_reference, #zip_code
Method Summary
Methods inherited from Resource
find, find_all_by, find_one_by, only, parse, save, search, stub
Instance Attribute Details
#delivery_state ⇒ Object (readonly)
DeliveryState Delivery state of the order.
26 27 28 |
# File 'lib/fortnox/resources/order.rb', line 26 def delivery_state @delivery_state end |
#order_type ⇒ Object (readonly)
OrderType Type of order.
29 30 31 |
# File 'lib/fortnox/resources/order.rb', line 29 def order_type @order_type end |
#stock_point_code ⇒ Object (readonly)
StockPointCode Code of the stock point.
32 33 34 |
# File 'lib/fortnox/resources/order.rb', line 32 def stock_point_code @stock_point_code end |
#stock_point_id ⇒ Object (readonly)
StockPointId ID of the stock point.
35 36 37 |
# File 'lib/fortnox/resources/order.rb', line 35 def stock_point_id @stock_point_id end |