Class: Etapper::API::CreditCard

Inherits:
Object
  • Object
show all
Defined in:
lib/etapper/api/service.rb

Overview

etapestryAPI/serviceCreditCard

authorizationCode - SOAP::SOAPString
cardType - SOAP::SOAPString
cvv2 - SOAP::SOAPString
expirationMonth - SOAP::SOAPInt
expirationYear - SOAP::SOAPInt
firstName - SOAP::SOAPString
lastName - SOAP::SOAPString
middleName - SOAP::SOAPString
nameOnCard - SOAP::SOAPString
note - SOAP::SOAPString
number - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(authorizationCode = nil, cardType = nil, cvv2 = nil, expirationMonth = nil, expirationYear = nil, firstName = nil, lastName = nil, middleName = nil, nameOnCard = nil, note = nil, number = nil) ⇒ CreditCard

Returns a new instance of CreditCard.



532
533
534
535
536
537
538
539
540
541
542
543
544
# File 'lib/etapper/api/service.rb', line 532

def initialize(authorizationCode = nil, cardType = nil, cvv2 = nil, expirationMonth = nil, expirationYear = nil, firstName = nil, lastName = nil, middleName = nil, nameOnCard = nil, note = nil, number = nil)
  @authorizationCode = authorizationCode
  @cardType = cardType
  @cvv2 = cvv2
  @expirationMonth = expirationMonth
  @expirationYear = expirationYear
  @firstName = firstName
  @lastName = lastName
  @middleName = middleName
  @nameOnCard = nameOnCard
  @note = note
  @number = number
end

Instance Attribute Details

#authorizationCodeObject

Returns the value of attribute authorizationCode.



520
521
522
# File 'lib/etapper/api/service.rb', line 520

def authorizationCode
  @authorizationCode
end

#cardTypeObject

Returns the value of attribute cardType.



521
522
523
# File 'lib/etapper/api/service.rb', line 521

def cardType
  @cardType
end

#cvv2Object

Returns the value of attribute cvv2.



522
523
524
# File 'lib/etapper/api/service.rb', line 522

def cvv2
  @cvv2
end

#expirationMonthObject

Returns the value of attribute expirationMonth.



523
524
525
# File 'lib/etapper/api/service.rb', line 523

def expirationMonth
  @expirationMonth
end

#expirationYearObject

Returns the value of attribute expirationYear.



524
525
526
# File 'lib/etapper/api/service.rb', line 524

def expirationYear
  @expirationYear
end

#firstNameObject

Returns the value of attribute firstName.



525
526
527
# File 'lib/etapper/api/service.rb', line 525

def firstName
  @firstName
end

#lastNameObject

Returns the value of attribute lastName.



526
527
528
# File 'lib/etapper/api/service.rb', line 526

def lastName
  @lastName
end

#middleNameObject

Returns the value of attribute middleName.



527
528
529
# File 'lib/etapper/api/service.rb', line 527

def middleName
  @middleName
end

#nameOnCardObject

Returns the value of attribute nameOnCard.



528
529
530
# File 'lib/etapper/api/service.rb', line 528

def nameOnCard
  @nameOnCard
end

#noteObject

Returns the value of attribute note.



529
530
531
# File 'lib/etapper/api/service.rb', line 529

def note
  @note
end

#numberObject

Returns the value of attribute number.



530
531
532
# File 'lib/etapper/api/service.rb', line 530

def number
  @number
end