Class: PersonNameType

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#firstNameObject

Returns the value of attribute firstName.



3230
3231
3232
# File 'lib/paypal-business/default.rb', line 3230

def firstName
  @firstName
end

#lastNameObject

Returns the value of attribute lastName.



3232
3233
3234
# File 'lib/paypal-business/default.rb', line 3232

def lastName
  @lastName
end

#middleNameObject

Returns the value of attribute middleName.



3231
3232
3233
# File 'lib/paypal-business/default.rb', line 3231

def middleName
  @middleName
end

#salutationObject

Returns the value of attribute salutation.



3229
3230
3231
# File 'lib/paypal-business/default.rb', line 3229

def salutation
  @salutation
end

#suffixObject

Returns the value of attribute suffix.



3233
3234
3235
# File 'lib/paypal-business/default.rb', line 3233

def suffix
  @suffix
end