module Payments
  class PurchaseRefund < Payments::Base
    attributes :purchaser_id,
               :created_at_start,
               :created_at_end,
               :all,
               :subs,
               :gift_subs,
               :bits,
               :gift_bits

    def initialize(params = {})
      super(params)
    end

    validates :purchaser_id, presence: true
    validates :created_at_start, presence: true
  end
end
