Skip to content

Commit 793ac34

Browse files
author
kaumahat
committed
API Updates
1 parent fc2de1e commit 793ac34

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

lib/authorize_net/api/schema.rb

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,20 +270,29 @@ def initialize(cardNumber = nil, expirationDate = nil)
270270
# cardCode - (any)
271271
# isPaymentToken - SOAP::SOAPBoolean
272272
# cryptogram - SOAP::SOAPString
273+
# tokenRequestorName - SOAP::SOAPString
274+
# tokenRequestorId - SOAP::SOAPString
275+
# tokenRequestorEci - SOAP::SOAPString
273276
class CreditCardType
274277
include ROXML
275278
xml_accessor :cardNumber
276279
xml_accessor :expirationDate
277280
xml_accessor :cardCode
278281
xml_accessor :isPaymentToken
279282
xml_accessor :cryptogram
283+
xml_accessor :tokenRequestorName
284+
xml_accessor :tokenRequestorId
285+
xml_accessor :tokenRequestorEci
280286

281-
def initialize(cardNumber = nil, expirationDate = nil, cardCode = nil, isPaymentToken = nil, cryptogram = nil)
287+
def initialize(cardNumber = nil, expirationDate = nil, cardCode = nil, isPaymentToken = nil, cryptogram = nil, tokenRequestorName = nil, tokenRequestorId = nil, tokenRequestorEci = nil)
282288
@cardNumber = cardNumber
283289
@expirationDate = expirationDate
284290
@cardCode = cardCode
285291
@isPaymentToken = isPaymentToken
286292
@cryptogram = cryptogram
293+
@tokenRequestorName = tokenRequestorName
294+
@tokenRequestorId = tokenRequestorId
295+
@tokenRequestorEci = tokenRequestorEci
287296
end
288297
end
289298

@@ -650,16 +659,19 @@ def initialize(creditCard = nil, bankAccount = nil, tokenInformation = nil)
650659
# tokenSource - SOAP::SOAPString
651660
# tokenNumber - SOAP::SOAPString
652661
# expirationDate - SOAP::SOAPString
662+
# tokenRequestorId - SOAP::SOAPString
653663
class TokenMaskedType
654664
include ROXML
655665
xml_accessor :tokenSource
656666
xml_accessor :tokenNumber
657667
xml_accessor :expirationDate
668+
xml_accessor :tokenRequestorId
658669

659-
def initialize(tokenSource = nil, tokenNumber = nil, expirationDate = nil)
670+
def initialize(tokenSource = nil, tokenNumber = nil, expirationDate = nil, tokenRequestorId = nil)
660671
@tokenSource = tokenSource
661672
@tokenNumber = tokenNumber
662673
@expirationDate = expirationDate
674+
@tokenRequestorId = tokenRequestorId
663675
end
664676
end
665677

0 commit comments

Comments
 (0)