Class: AuthorizeNet::API::CreditCardType

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

Overview

AnetApi/xml/v1/schema/AnetApiSchema.xsdcreditCardType

cardNumber - SOAP::SOAPString
expirationDate - SOAP::SOAPString
cardCode - (any)
isPaymentToken - SOAP::SOAPBoolean
cryptogram - SOAP::SOAPString
tokenRequestorName - SOAP::SOAPString
tokenRequestorId - SOAP::SOAPString
tokenRequestorEci - SOAP::SOAPString

Instance Method Summary collapse

Constructor Details

#initialize(cardNumber = nil, expirationDate = nil, cardCode = nil, isPaymentToken = nil, cryptogram = nil, tokenRequestorName = nil, tokenRequestorId = nil, tokenRequestorEci = nil) ⇒ CreditCardType

Returns a new instance of CreditCardType.



307
308
309
310
311
312
313
314
315
316
# File 'lib/authorize_net/api/schema.rb', line 307

def initialize(cardNumber = nil, expirationDate = nil, cardCode = nil, isPaymentToken = nil, cryptogram = nil, tokenRequestorName = nil, tokenRequestorId = nil, tokenRequestorEci = nil)
  @cardNumber = cardNumber
  @expirationDate = expirationDate
  @cardCode = cardCode
  @isPaymentToken = isPaymentToken
  @cryptogram = cryptogram
  @tokenRequestorName = tokenRequestorName
  @tokenRequestorId = tokenRequestorId
  @tokenRequestorEci = tokenRequestorEci
end