Class: Mollie::Order::Shipment

Inherits:
Base
  • Object
show all
Defined in:
lib/mollie/order/shipment.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#attributes

Instance Method Summary collapse

Methods inherited from Base

all, #assign_attributes, cancel, create, #delete, delete, get, id_param, #initialize, parent_id, request, resource_name, update, #update

Constructor Details

This class inherits a constructor from Mollie::Base

Instance Attribute Details

Returns the value of attribute _links.



4
5
6
# File 'lib/mollie/order/shipment.rb', line 4

def _links
  @_links
end

#created_atObject

Returns the value of attribute created_at.



4
5
6
# File 'lib/mollie/order/shipment.rb', line 4

def created_at
  @created_at
end

#idObject

Returns the value of attribute id.



4
5
6
# File 'lib/mollie/order/shipment.rb', line 4

def id
  @id
end

#linesObject

Returns the value of attribute lines.



4
5
6
# File 'lib/mollie/order/shipment.rb', line 4

def lines
  @lines
end

#order_idObject

Returns the value of attribute order_id.



4
5
6
# File 'lib/mollie/order/shipment.rb', line 4

def order_id
  @order_id
end

#trackingObject

Returns the value of attribute tracking.



4
5
6
# File 'lib/mollie/order/shipment.rb', line 4

def tracking
  @tracking
end

Instance Method Details

#order(options = {}) ⇒ Object



29
30
31
# File 'lib/mollie/order/shipment.rb', line 29

def order(options = {})
  Order.get(order_id, options)
end