Class: SolidusGraphqlApi::Types::Order

Inherits:
Base::RelayNode show all
Defined in:
lib/solidus_graphql_api/types/order.rb

Instance Method Summary collapse

Methods inherited from Base::Object

remove_field

Instance Method Details

#adjustmentsObject



38
39
40
# File 'lib/solidus_graphql_api/types/order.rb', line 38

def adjustments
  Queries::Order::AdjustmentsQuery.new(order: object).call
end

#billing_addressObject



42
43
44
# File 'lib/solidus_graphql_api/types/order.rb', line 42

def billing_address
  Queries::Order::BillingAddressQuery.new(order: object).call
end

#line_itemsObject



46
47
48
# File 'lib/solidus_graphql_api/types/order.rb', line 46

def line_items
  Queries::Order::LineItemsQuery.new(order: object).call
end

#paymentsObject



50
51
52
# File 'lib/solidus_graphql_api/types/order.rb', line 50

def payments
  Queries::Order::PaymentsQuery.new(order: object).call
end

#shipmentsObject



54
55
56
# File 'lib/solidus_graphql_api/types/order.rb', line 54

def shipments
  Queries::Order::ShipmentsQuery.new(order: object).call
end

#shipping_addressObject



58
59
60
# File 'lib/solidus_graphql_api/types/order.rb', line 58

def shipping_address
  Queries::Order::ShippingAddressQuery.new(order: object).call
end