Current section
Files
Jump to
Current section
Files
lib/ex_shopify_schema/graphql/location.ex
defmodule ExShopifySchema.Graphql.Location do
@moduledoc "Represents the location where the physical good resides. You can stock inventory at active locations. Active\nlocations that have `fulfills_online_orders: true` and are configured with a shipping rate, pickup enabled or\nlocal delivery will be able to sell from their storefront."
use ExShopifySchema.Generator.Graphql.Schema
@primary_key false
typed_embedded_schema do
loadable_field :activatable, ExShopifySchema.Graphql.Boolean, []
embeds_one :address, ExShopifySchema.Graphql.LocationAddress, []
loadable_field :address_verified, ExShopifySchema.Graphql.Boolean, []
loadable_field :created_at, ExShopifySchema.Graphql.DateTime, []
loadable_field :deactivatable, ExShopifySchema.Graphql.Boolean, []
loadable_field :deactivated_at, ExShopifySchema.Graphql.String, []
loadable_field :deletable, ExShopifySchema.Graphql.Boolean, []
embeds_one :fulfillment_service, ExShopifySchema.Graphql.FulfillmentService, []
loadable_field :fulfills_online_orders, ExShopifySchema.Graphql.Boolean, []
loadable_field :has_active_inventory, ExShopifySchema.Graphql.Boolean, []
loadable_field :has_unfulfilled_orders, ExShopifySchema.Graphql.Boolean, []
loadable_field :id, ExShopifySchema.Graphql.ID, []
embeds_one :inventory_level, ExShopifySchema.Graphql.InventoryLevel, []
embeds_one :inventory_levels, ExShopifySchema.Graphql.InventoryLevelConnection, []
loadable_field :is_active, ExShopifySchema.Graphql.Boolean, []
loadable_field :is_fulfillment_service, ExShopifySchema.Graphql.Boolean, []
loadable_field :is_primary, ExShopifySchema.Graphql.Boolean, []
loadable_field :legacy_resource_id, ExShopifySchema.Graphql.UnsignedInt64, []
embeds_one :local_pickup_settings_v2, ExShopifySchema.Graphql.DeliveryLocalPickupSettings, []
embeds_one :metafield, ExShopifySchema.Graphql.Metafield, []
embeds_one :metafield_definitions, ExShopifySchema.Graphql.MetafieldDefinitionConnection, []
embeds_one :metafields, ExShopifySchema.Graphql.MetafieldConnection, []
loadable_field :name, ExShopifySchema.Graphql.String, []
embeds_one :private_metafield, ExShopifySchema.Graphql.PrivateMetafield, []
embeds_one :private_metafields, ExShopifySchema.Graphql.PrivateMetafieldConnection, []
loadable_field :ships_inventory, ExShopifySchema.Graphql.Boolean, []
embeds_many :suggested_addresses, ExShopifySchema.Graphql.LocationSuggestedAddress, []
loadable_field :updated_at, ExShopifySchema.Graphql.DateTime, []
end
end