Class: AuthorizeNet::API::PaymentType

Inherits:
Object
  • Object
show all
Includes:
ROXML
Defined in:
lib/authorize_net/api/schema.rb

Overview

AnetApi/xml/v1/schema/AnetApiSchema.xsdpaymentType

creditCard - CreditCardType
bankAccount - BankAccountType
trackData - CreditCardTrackType
encryptedTrackData - EncryptedTrackDataType
payPal - PayPalType
opaqueData - OpaqueDataType
emv - PaymentEmvType
dataSource - SOAP::SOAPString

Instance Method Summary collapse

Constructor Details

#initialize(creditCard = nil, bankAccount = nil, trackData = nil, encryptedTrackData = nil, payPal = nil, opaqueData = nil, emv = nil, dataSource = nil) ⇒ PaymentType

Returns a new instance of PaymentType.



653
654
655
656
657
658
659
660
661
662
# File 'lib/authorize_net/api/schema.rb', line 653

def initialize(creditCard = nil, bankAccount = nil, trackData = nil, encryptedTrackData = nil, payPal = nil, opaqueData = nil, emv = nil, dataSource = nil)
  @creditCard = creditCard
  @bankAccount = bankAccount
  @trackData = trackData
  @encryptedTrackData = encryptedTrackData
  @payPal = payPal
  @opaqueData = opaqueData
  @emv = emv
  @dataSource = dataSource
end