class ActiveMerchant::Billing::ApplePayPaymentToken
Attributes
payment_instrument_name[R]
This is a representation of the token object specified here: developer.apple.com/library/ios/documentation/PassKit/Reference/PKPaymentToken_Ref/ developer.apple.com/library/IOs//documentation/PassKit/Reference/PaymentTokenJSON/PaymentTokenJSON.html
payment_network[R]
This is a representation of the token object specified here: developer.apple.com/library/ios/documentation/PassKit/Reference/PKPaymentToken_Ref/ developer.apple.com/library/IOs//documentation/PassKit/Reference/PaymentTokenJSON/PaymentTokenJSON.html
transaction_identifier[RW]
Public Class Methods
new(payment_data, options = {})
click to toggle source
Calls superclass method
# File lib/active_merchant/billing/apple_pay_payment_token.rb, line 11 def initialize(payment_data, options = {}) super @payment_instrument_name = @metadata[:payment_instrument_name] @payment_network = @metadata[:payment_network] end
Public Instance Methods
type()
click to toggle source
# File lib/active_merchant/billing/apple_pay_payment_token.rb, line 17 def type 'apple_pay' end