Class: CreditCardDetailsType

Inherits:
Object
  • Object
show all
Defined in:
lib/v_paypal/default.rb

Overview

urn:ebay:apis:eBLBaseComponentsCreditCardDetailsType

Constant Summary collapse

@@schema_type =
"CreditCardDetailsType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["creditCardType", ["CreditCardTypeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CreditCardType")]],
  ["creditCardNumber", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CreditCardNumber")]],
  ["expMonth", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ExpMonth")]],
  ["expYear", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ExpYear")]],
  ["cardOwner", ["PayerInfoType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CardOwner")]],
  ["cVV2", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CVV2")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(creditCardType = nil, creditCardNumber = nil, expMonth = nil, expYear = nil, cardOwner = nil, cVV2 = nil) ⇒ CreditCardDetailsType

Returns a new instance of CreditCardDetailsType.



3853
3854
3855
3856
3857
3858
3859
3860
# File 'lib/v_paypal/default.rb', line 3853

def initialize(creditCardType = nil, creditCardNumber = nil, expMonth = nil, expYear = nil, cardOwner = nil, cVV2 = nil)
  @creditCardType = creditCardType
  @creditCardNumber = creditCardNumber
  @expMonth = expMonth
  @expYear = expYear
  @cardOwner = cardOwner
  @cVV2 = cVV2
end

Instance Attribute Details

#cardOwnerObject

Returns the value of attribute cardOwner.



3850
3851
3852
# File 'lib/v_paypal/default.rb', line 3850

def cardOwner
  @cardOwner
end

#creditCardNumberObject

Returns the value of attribute creditCardNumber.



3847
3848
3849
# File 'lib/v_paypal/default.rb', line 3847

def creditCardNumber
  @creditCardNumber
end

#creditCardTypeObject

Returns the value of attribute creditCardType.



3846
3847
3848
# File 'lib/v_paypal/default.rb', line 3846

def creditCardType
  @creditCardType
end

#cVV2Object

Returns the value of attribute cVV2.



3851
3852
3853
# File 'lib/v_paypal/default.rb', line 3851

def cVV2
  @cVV2
end

#expMonthObject

Returns the value of attribute expMonth.



3848
3849
3850
# File 'lib/v_paypal/default.rb', line 3848

def expMonth
  @expMonth
end

#expYearObject

Returns the value of attribute expYear.



3849
3850
3851
# File 'lib/v_paypal/default.rb', line 3849

def expYear
  @expYear
end