Class: PayerInfoType

Inherits:
Object
  • Object
show all
Defined in:
lib/paypal-business/default.rb

Overview

urn:ebay:apis:eBLBaseComponentsPayerInfoType

Constant Summary collapse

@@schema_type =
"PayerInfoType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["payer", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Payer")]],
  ["payerID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PayerID")]],
  ["payerStatus", ["PayPalUserStatusCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PayerStatus")]],
  ["payerName", ["PersonNameType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PayerName")]],
  ["payerCountry", ["CountryCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PayerCountry")]],
  ["payerBusiness", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PayerBusiness")]],
  ["address", ["AddressType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Address")]],
  ["contactPhone", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ContactPhone")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(payer = nil, payerID = nil, payerStatus = nil, payerName = nil, payerCountry = nil, payerBusiness = nil, address = nil, contactPhone = nil) ⇒ PayerInfoType

Returns a new instance of PayerInfoType.



3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
# File 'lib/paypal-business/default.rb', line 3667

def initialize(payer = nil, payerID = nil, payerStatus = nil, payerName = nil, payerCountry = nil, payerBusiness = nil, address = nil, contactPhone = nil)
  @payer = payer
  @payerID = payerID
  @payerStatus = payerStatus
  @payerName = payerName
  @payerCountry = payerCountry
  @payerBusiness = payerBusiness
  @address = address
  @contactPhone = contactPhone
end

Instance Attribute Details

#addressObject

Returns the value of attribute address.



3664
3665
3666
# File 'lib/paypal-business/default.rb', line 3664

def address
  @address
end

#contactPhoneObject

Returns the value of attribute contactPhone.



3665
3666
3667
# File 'lib/paypal-business/default.rb', line 3665

def contactPhone
  @contactPhone
end

#payerObject

Returns the value of attribute payer.



3658
3659
3660
# File 'lib/paypal-business/default.rb', line 3658

def payer
  @payer
end

#payerBusinessObject

Returns the value of attribute payerBusiness.



3663
3664
3665
# File 'lib/paypal-business/default.rb', line 3663

def payerBusiness
  @payerBusiness
end

#payerCountryObject

Returns the value of attribute payerCountry.



3662
3663
3664
# File 'lib/paypal-business/default.rb', line 3662

def payerCountry
  @payerCountry
end

#payerIDObject

Returns the value of attribute payerID.



3659
3660
3661
# File 'lib/paypal-business/default.rb', line 3659

def payerID
  @payerID
end

#payerNameObject

Returns the value of attribute payerName.



3661
3662
3663
# File 'lib/paypal-business/default.rb', line 3661

def payerName
  @payerName
end

#payerStatusObject

Returns the value of attribute payerStatus.



3660
3661
3662
# File 'lib/paypal-business/default.rb', line 3660

def payerStatus
  @payerStatus
end