Sha256: 7cf6fcea5077d9863070714392a60231f130e21b6e416b682ae81586f0778354

Contents?: true

Size: 522 Bytes

Versions: 8

Compression:

Stored size: 522 Bytes

Contents

module Braintree
  class Transaction
    class ApplePayDetails
      include BaseModule

      attr_reader :card_type
      attr_reader :cardholder_name
      attr_reader :expiration_month
      attr_reader :expiration_year
      attr_reader :image_url
      attr_reader :last_4
      attr_reader :payment_instrument_name
      attr_reader :source_description
      attr_reader :token

      def initialize(attributes)
        set_instance_variables_from_hash attributes unless attributes.nil?
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
braintree-2.95.0 lib/braintree/transaction/apple_pay_details.rb
braintree-2.94.0 lib/braintree/transaction/apple_pay_details.rb
braintree-2.93.0 lib/braintree/transaction/apple_pay_details.rb
braintree-2.92.0 lib/braintree/transaction/apple_pay_details.rb
braintree-2.91.0 lib/braintree/transaction/apple_pay_details.rb
braintree-2.90.0 lib/braintree/transaction/apple_pay_details.rb
braintree-2.89.0 lib/braintree/transaction/apple_pay_details.rb
braintree-2.88.0 lib/braintree/transaction/apple_pay_details.rb