Sha256: 8ab8e2c527c11edaf4a0258848d66df81b0355ce1b6b5a1dfa117b0249cb1d43

Contents?: true

Size: 673 Bytes

Versions: 9

Compression:

Stored size: 673 Bytes

Contents

module Affirm
  module Responses
    class Auth
      include Virtus.model

      attribute :id,            String
      attribute :status,        String
      attribute :user_id,       String
      attribute :currency,      String
      attribute :amount,        Integer
      attribute :auth_hold,     Integer
      attribute :payable,       Integer
      attribute :pending,       Boolean
      attribute :void,          Boolean
      attribute :under_dispute, Boolean
      attribute :events,        Array[Objects::Event]
      attribute :details,       Objects::Order
      attribute :created,       DateTime
      attribute :expires,       DateTime
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
affirm-ruby-1.2.0 lib/affirm/responses/auth.rb
affirm-ruby-1.1.3 lib/affirm/responses/auth.rb
affirm-ruby-1.1.2 lib/affirm/responses/auth.rb
affirm-ruby-1.1.1 lib/affirm/responses/auth.rb
affirm-ruby-1.1.0 lib/affirm/responses/auth.rb
affirm-ruby-1.0.2 lib/affirm/responses/auth.rb
affirm-ruby-1.0.1 lib/affirm/responses/auth.rb
affirm-ruby-1.0.0 lib/affirm/responses/auth.rb
affirm-ruby-0.0.1 lib/affirm/responses/auth.rb