Sha256: a3fb85e42de329608613333369650904eae535ed12874c5cb1eb3b29a160b1b7

Contents?: true

Size: 631 Bytes

Versions: 7

Compression:

Stored size: 631 Bytes

Contents

require 'paysafe/result'

module Paysafe
  class Payment < Result
    attributes :id,
      :payment_type,
      :payment_handle_token,
      :merchant_ref_num,
      :currency_code,
      :settle_with_auth,
      :txn_time,
      :status,
      :gateway_reconciliation_id,
      :amount,
      :available_to_settle,
      :available_to_refund,
      :consumer_ip,
      :live_mode,
      :updated_time,
      :status_time

    object_attribute :Address, :billing_details
    object_attribute :Customer, :profile
    object_attribute :GatewayResponse, :gateway_response
    object_attribute :PaymentProcessor, :sightline
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
paysafe-0.16.0 lib/paysafe/payment.rb
paysafe-0.15.0 lib/paysafe/payment.rb
paysafe-0.14.0 lib/paysafe/payment.rb
paysafe-0.13.0 lib/paysafe/payment.rb
paysafe-0.12.0 lib/paysafe/payment.rb
paysafe-0.11.0 lib/paysafe/payment.rb
paysafe-0.10.0 lib/paysafe/payment.rb