Sha256: c20130d101d68b3d3ae50d1dce16cfc3bcaea87503568f6b088aaf3e8623be69
Contents?: true
Size: 762 Bytes
Versions: 102
Compression:
Stored size: 762 Bytes
Contents
module ActiveMerchant #:nodoc: module Billing #:nodoc: class ApplePayPaymentToken < PaymentToken # This is a representation of the token object specified here: # https://developer.apple.com/library/ios/documentation/PassKit/Reference/PKPaymentToken_Ref/ # https://developer.apple.com/library/IOs//documentation/PassKit/Reference/PaymentTokenJSON/PaymentTokenJSON.html attr_reader :payment_instrument_name, :payment_network attr_accessor :transaction_identifier def initialize(payment_data, options = {}) super @payment_instrument_name = @metadata[:payment_instrument_name] @payment_network = @metadata[:payment_network] end def type 'apple_pay' end end end end
Version data entries
102 entries across 102 versions & 7 rubygems