Current section

Files

Jump to
ex_shopify_schema lib ex_shopify_schema graphql refund.ex
Raw

lib/ex_shopify_schema/graphql/refund.ex

defmodule ExShopifySchema.Graphql.Refund do
@moduledoc "The record of the line items and transactions that were refunded to a customer, along with restocking instructions for refunded line items."
use ExShopifySchema.Generator.Graphql.Schema
@primary_key false
typed_embedded_schema do
loadable_field :created_at, ExShopifySchema.Graphql.DateTime, []
embeds_many :duties, ExShopifySchema.Graphql.RefundDuty, []
loadable_field :id, ExShopifySchema.Graphql.ID, []
loadable_field :legacy_resource_id, ExShopifySchema.Graphql.UnsignedInt64, []
loadable_field :note, ExShopifySchema.Graphql.String, []
embeds_one :order, ExShopifySchema.Graphql.Order, []
embeds_one :order_adjustments, ExShopifySchema.Graphql.OrderAdjustmentConnection, []
embeds_one :refund_line_items, ExShopifySchema.Graphql.RefundLineItemConnection, []
embeds_one :refund_shipping_lines, ExShopifySchema.Graphql.RefundShippingLineConnection, []
embeds_one :return, ExShopifySchema.Graphql.Return, []
embeds_one :staff_member, ExShopifySchema.Graphql.StaffMember, []
embeds_one :total_refunded, ExShopifySchema.Graphql.MoneyV2, []
embeds_one :total_refunded_set, ExShopifySchema.Graphql.MoneyBag, []
embeds_one :transactions, ExShopifySchema.Graphql.OrderTransactionConnection, []
loadable_field :updated_at, ExShopifySchema.Graphql.DateTime, []
end
end