Class: Etapper::API::CreditCard
- Inherits:
-
Object
- Object
- Etapper::API::CreditCard
- Defined in:
- lib/etapper/api/service.rb
Overview
etapestryAPI/serviceCreditCard
- 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
-
#authorizationCode ⇒ Object
Returns the value of attribute authorizationCode.
-
#cardType ⇒ Object
Returns the value of attribute cardType.
-
#cvv2 ⇒ Object
Returns the value of attribute cvv2.
-
#expirationMonth ⇒ Object
Returns the value of attribute expirationMonth.
-
#expirationYear ⇒ Object
Returns the value of attribute expirationYear.
-
#firstName ⇒ Object
Returns the value of attribute firstName.
-
#lastName ⇒ Object
Returns the value of attribute lastName.
-
#middleName ⇒ Object
Returns the value of attribute middleName.
-
#nameOnCard ⇒ Object
Returns the value of attribute nameOnCard.
-
#note ⇒ Object
Returns the value of attribute note.
-
#number ⇒ Object
Returns the value of attribute number.
Instance Method Summary collapse
-
#initialize(authorizationCode = nil, cardType = nil, cvv2 = nil, expirationMonth = nil, expirationYear = nil, firstName = nil, lastName = nil, middleName = nil, nameOnCard = nil, note = nil, number = nil) ⇒ CreditCard
constructor
A new instance of CreditCard.
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( = nil, cardType = nil, cvv2 = nil, expirationMonth = nil, expirationYear = nil, firstName = nil, lastName = nil, middleName = nil, nameOnCard = nil, note = nil, number = nil) @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
#authorizationCode ⇒ Object
Returns the value of attribute authorizationCode.
520 521 522 |
# File 'lib/etapper/api/service.rb', line 520 def @authorizationCode end |
#cardType ⇒ Object
Returns the value of attribute cardType.
521 522 523 |
# File 'lib/etapper/api/service.rb', line 521 def cardType @cardType end |
#cvv2 ⇒ Object
Returns the value of attribute cvv2.
522 523 524 |
# File 'lib/etapper/api/service.rb', line 522 def cvv2 @cvv2 end |
#expirationMonth ⇒ Object
Returns the value of attribute expirationMonth.
523 524 525 |
# File 'lib/etapper/api/service.rb', line 523 def expirationMonth @expirationMonth end |
#expirationYear ⇒ Object
Returns the value of attribute expirationYear.
524 525 526 |
# File 'lib/etapper/api/service.rb', line 524 def expirationYear @expirationYear end |
#firstName ⇒ Object
Returns the value of attribute firstName.
525 526 527 |
# File 'lib/etapper/api/service.rb', line 525 def firstName @firstName end |
#lastName ⇒ Object
Returns the value of attribute lastName.
526 527 528 |
# File 'lib/etapper/api/service.rb', line 526 def lastName @lastName end |
#middleName ⇒ Object
Returns the value of attribute middleName.
527 528 529 |
# File 'lib/etapper/api/service.rb', line 527 def middleName @middleName end |
#nameOnCard ⇒ Object
Returns the value of attribute nameOnCard.
528 529 530 |
# File 'lib/etapper/api/service.rb', line 528 def nameOnCard @nameOnCard end |
#note ⇒ Object
Returns the value of attribute note.
529 530 531 |
# File 'lib/etapper/api/service.rb', line 529 def note @note end |
#number ⇒ Object
Returns the value of attribute number.
530 531 532 |
# File 'lib/etapper/api/service.rb', line 530 def number @number end |