Class: YSM::MasterAccountService::CreditCardInfo
- Inherits:
-
Object
- Object
- YSM::MasterAccountService::CreditCardInfo
- Defined in:
- lib/ysm4r/v1/MasterAccountService.rb,
lib/ysm4r/v2/MasterAccountService.rb
Overview
http://marketing.ews.yahooapis.com/V2CreditCardInfo
Instance Attribute Summary collapse
-
#cardNumber ⇒ Object
Returns the value of attribute cardNumber.
-
#cardType ⇒ Object
Returns the value of attribute cardType.
-
#expMonth ⇒ Object
Returns the value of attribute expMonth.
-
#expYear ⇒ Object
Returns the value of attribute expYear.
-
#securityCode ⇒ Object
Returns the value of attribute securityCode.
Instance Method Summary collapse
-
#initialize(cardNumber = nil, cardType = nil, expMonth = nil, expYear = nil, securityCode = nil) ⇒ CreditCardInfo
constructor
A new instance of CreditCardInfo.
Constructor Details
#initialize(cardNumber = nil, cardType = nil, expMonth = nil, expYear = nil, securityCode = nil) ⇒ CreditCardInfo
Returns a new instance of CreditCardInfo.
158 159 160 161 162 163 164 |
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 158 def initialize(cardNumber = nil, cardType = nil, expMonth = nil, expYear = nil, securityCode = nil) @cardNumber = cardNumber @cardType = cardType @expMonth = expMonth @expYear = expYear @securityCode = securityCode end |
Instance Attribute Details
#cardNumber ⇒ Object
Returns the value of attribute cardNumber.
152 153 154 |
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 152 def cardNumber @cardNumber end |
#cardType ⇒ Object
Returns the value of attribute cardType.
153 154 155 |
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 153 def cardType @cardType end |
#expMonth ⇒ Object
Returns the value of attribute expMonth.
154 155 156 |
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 154 def expMonth @expMonth end |
#expYear ⇒ Object
Returns the value of attribute expYear.
155 156 157 |
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 155 def expYear @expYear end |
#securityCode ⇒ Object
Returns the value of attribute securityCode.
156 157 158 |
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 156 def securityCode @securityCode end |