Sha256: 5a6ee83461323f8fd7aa50fc4cfa75e70fafa611e1f22903ba693f0cd25b11cb

Contents?: true

Size: 536 Bytes

Versions: 8

Compression:

Stored size: 536 Bytes

Contents

module Braintree
  class GrantedPaymentInstrumentUpdate
    include BaseModule

    attr_reader :grant_owner_merchant_id
    attr_reader :grant_recipient_merchant_id
    attr_reader :payment_method_nonce
    attr_reader :token
    attr_reader :updated_fields

    def initialize(attributes)
      set_instance_variables_from_hash(attributes)
      @payment_method_nonce = attributes[:payment_method_nonce][:nonce]
    end

    class << self
      protected :new
      def _new(*args)
        self.new(*args)
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
braintree-4.23.0 lib/braintree/granted_payment_instrument_update.rb
braintree-4.22.0 lib/braintree/granted_payment_instrument_update.rb
braintree-4.21.0 lib/braintree/granted_payment_instrument_update.rb
braintree-4.20.0 lib/braintree/granted_payment_instrument_update.rb
braintree-4.19.0 lib/braintree/granted_payment_instrument_update.rb
braintree-4.18.0 lib/braintree/granted_payment_instrument_update.rb
braintree-4.17.0 lib/braintree/granted_payment_instrument_update.rb
braintree-4.16.0 lib/braintree/granted_payment_instrument_update.rb