Sha256: 06614f46bee5f955fec5a63d3dacc19f53c2910f8aa65a80ce93ab4238178509

Contents?: true

Size: 447 Bytes

Versions: 4

Compression:

Stored size: 447 Bytes

Contents

# frozen_string_literal: true

module SolidusGraphqlApi
  module Types
    class Payment < Base::RelayNode
      description 'Payment.'

      field :amount, String, null: true
      field :state, String, null: false
      field :created_at, GraphQL::Types::ISO8601DateTime, null: true
      field :payment_source, Types::Interfaces::PaymentSource, null: true
      field :updated_at, GraphQL::Types::ISO8601DateTime, null: true
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_graphql_api-0.3.1 lib/solidus_graphql_api/types/payment.rb
solidus_graphql_api-0.3.0 lib/solidus_graphql_api/types/payment.rb
solidus_graphql_api-0.2.0 lib/solidus_graphql_api/types/payment.rb
solidus_graphql_api-0.1.0 lib/solidus_graphql_api/types/payment.rb