Class: IngramMicro::OutboundPurchaseOrderInformation
- Inherits:
-
BaseElement
- Object
- BaseElement
- IngramMicro::OutboundPurchaseOrderInformation
- Defined in:
- lib/ingram_micro/elements/outbound_purchase_order_information.rb
Constant Summary collapse
- DEFAULTS =
{ purchase_order_number: nil, account_description: nil, purchase_order_amount: 0.0, purchase_order_event: nil, currency_code: nil, comments: nil }
Instance Attribute Summary
Attributes inherited from BaseElement
Instance Method Summary collapse
- #defaults ⇒ Object
-
#initialize(options = {}) ⇒ OutboundPurchaseOrderInformation
constructor
A new instance of OutboundPurchaseOrderInformation.
Methods inherited from BaseElement
Constructor Details
#initialize(options = {}) ⇒ OutboundPurchaseOrderInformation
Returns a new instance of OutboundPurchaseOrderInformation.
11 12 13 14 15 16 |
# File 'lib/ingram_micro/elements/outbound_purchase_order_information.rb', line 11 def initialize( = {}) super() # customer_id is always set by BaseElement, but we don't need it here self.element.delete(:customer_id) end |
Instance Method Details
#defaults ⇒ Object
18 19 20 |
# File 'lib/ingram_micro/elements/outbound_purchase_order_information.rb', line 18 def defaults DEFAULTS end |