Class: SolidusGraphqlApi::Types::Order
- Inherits:
-
Base::RelayNode
- Object
- GraphQL::Schema::Object
- Base::Object
- Base::RelayNode
- SolidusGraphqlApi::Types::Order
- Defined in:
- lib/solidus_graphql_api/types/order.rb
Instance Method Summary collapse
- #adjustments ⇒ Object
- #billing_address ⇒ Object
- #line_items ⇒ Object
- #payments ⇒ Object
- #shipments ⇒ Object
- #shipping_address ⇒ Object
Methods inherited from Base::Object
Instance Method Details
#adjustments ⇒ Object
38 39 40 |
# File 'lib/solidus_graphql_api/types/order.rb', line 38 def adjustments Queries::Order::AdjustmentsQuery.new(order: object).call end |
#billing_address ⇒ Object
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_items ⇒ Object
46 47 48 |
# File 'lib/solidus_graphql_api/types/order.rb', line 46 def line_items Queries::Order::LineItemsQuery.new(order: object).call end |
#payments ⇒ Object
50 51 52 |
# File 'lib/solidus_graphql_api/types/order.rb', line 50 def payments Queries::Order::PaymentsQuery.new(order: object).call end |
#shipments ⇒ Object
54 55 56 |
# File 'lib/solidus_graphql_api/types/order.rb', line 54 def shipments Queries::Order::ShipmentsQuery.new(order: object).call end |
#shipping_address ⇒ Object
58 59 60 |
# File 'lib/solidus_graphql_api/types/order.rb', line 58 def shipping_address Queries::Order::ShippingAddressQuery.new(order: object).call end |