Class: PersonNameType
- Inherits:
-
Object
- Object
- PersonNameType
- Defined in:
- lib/paypal-business/default.rb
Overview
urn:ebay:apis:eBLBaseComponentsPersonNameType
Constant Summary collapse
- @@schema_type =
"PersonNameType"
- @@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
- @@schema_element =
[ ["salutation", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Salutation")]], ["firstName", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "FirstName")]], ["middleName", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "MiddleName")]], ["lastName", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "LastName")]], ["suffix", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Suffix")]] ]
Instance Attribute Summary collapse
-
#firstName ⇒ Object
Returns the value of attribute firstName.
-
#lastName ⇒ Object
Returns the value of attribute lastName.
-
#middleName ⇒ Object
Returns the value of attribute middleName.
-
#salutation ⇒ Object
Returns the value of attribute salutation.
-
#suffix ⇒ Object
Returns the value of attribute suffix.
Instance Method Summary collapse
-
#initialize(salutation = nil, firstName = nil, middleName = nil, lastName = nil, suffix = nil) ⇒ PersonNameType
constructor
A new instance of PersonNameType.
Constructor Details
#initialize(salutation = nil, firstName = nil, middleName = nil, lastName = nil, suffix = nil) ⇒ PersonNameType
Returns a new instance of PersonNameType.
3235 3236 3237 3238 3239 3240 3241 |
# File 'lib/paypal-business/default.rb', line 3235 def initialize(salutation = nil, firstName = nil, middleName = nil, lastName = nil, suffix = nil) @salutation = salutation @firstName = firstName @middleName = middleName @lastName = lastName @suffix = suffix end |
Instance Attribute Details
#firstName ⇒ Object
Returns the value of attribute firstName.
3230 3231 3232 |
# File 'lib/paypal-business/default.rb', line 3230 def firstName @firstName end |
#lastName ⇒ Object
Returns the value of attribute lastName.
3232 3233 3234 |
# File 'lib/paypal-business/default.rb', line 3232 def lastName @lastName end |
#middleName ⇒ Object
Returns the value of attribute middleName.
3231 3232 3233 |
# File 'lib/paypal-business/default.rb', line 3231 def middleName @middleName end |
#salutation ⇒ Object
Returns the value of attribute salutation.
3229 3230 3231 |
# File 'lib/paypal-business/default.rb', line 3229 def salutation @salutation end |
#suffix ⇒ Object
Returns the value of attribute suffix.
3233 3234 3235 |
# File 'lib/paypal-business/default.rb', line 3233 def suffix @suffix end |