Class: CreditCardDetailsType

Inherits:
Object
  • Object
show all
Defined in:
lib/paypal-business/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.



4036
4037
4038
4039
4040
4041
4042
4043
# File 'lib/paypal-business/default.rb', line 4036

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.



4033
4034
4035
# File 'lib/paypal-business/default.rb', line 4033

def cardOwner
  @cardOwner
end

#creditCardNumberObject

Returns the value of attribute creditCardNumber.



4030
4031
4032
# File 'lib/paypal-business/default.rb', line 4030

def creditCardNumber
  @creditCardNumber
end

#creditCardTypeObject

Returns the value of attribute creditCardType.



4029
4030
4031
# File 'lib/paypal-business/default.rb', line 4029

def creditCardType
  @creditCardType
end

#cVV2Object

Returns the value of attribute cVV2.



4034
4035
4036
# File 'lib/paypal-business/default.rb', line 4034

def cVV2
  @cVV2
end

#expMonthObject

Returns the value of attribute expMonth.



4031
4032
4033
# File 'lib/paypal-business/default.rb', line 4031

def expMonth
  @expMonth
end

#expYearObject

Returns the value of attribute expYear.



4032
4033
4034
# File 'lib/paypal-business/default.rb', line 4032

def expYear
  @expYear
end