Sha256: 004a48104a41824faec3edf71c97e6a72e8e26f2cb0a89851952d68193092efb

Contents?: true

Size: 495 Bytes

Versions: 6

Compression:

Stored size: 495 Bytes

Contents

module Braintree
  class LocalPaymentCompleted
    include BaseModule

    attr_reader :payment_id
    attr_reader :payer_id
    attr_reader :payment_method_nonce
    attr_reader :transaction

    def initialize(attributes)
      set_instance_variables_from_hash(attributes)
      @transaction = Transaction._new(Configuration.gateway, transaction) unless transaction.nil?
    end

    class << self
      protected :new
    end

    def self._new(*args)
      self.new(*args)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
braintree-4.21.0 lib/braintree/local_payment_completed.rb
braintree-4.20.0 lib/braintree/local_payment_completed.rb
braintree-4.19.0 lib/braintree/local_payment_completed.rb
braintree-4.18.0 lib/braintree/local_payment_completed.rb
braintree-4.17.0 lib/braintree/local_payment_completed.rb
braintree-4.16.0 lib/braintree/local_payment_completed.rb