Class: DoReauthorizationRequestType

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

Overview

urn:ebay:api:PayPalAPIDoReauthorizationRequestType

Constant Summary collapse

@@schema_type =
"DoReauthorizationRequestType"
@@schema_ns =
"urn:ebay:api:PayPalAPI"
@@schema_element =
[
  ["detailLevel", ["DetailLevelCodeType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DetailLevel")]],
  ["errorLanguage", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ErrorLanguage")]],
  ["messageID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "MessageID")]],
  ["version", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Version")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]],
  ["authorizationID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "AuthorizationID")]],
  ["amount", ["BasicAmountType", XSD::QName.new("urn:ebay:api:PayPalAPI", "Amount")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, authorizationID = nil, amount = nil) ⇒ DoReauthorizationRequestType

Returns a new instance of DoReauthorizationRequestType.



1469
1470
1471
1472
1473
1474
1475
1476
1477
# File 'lib/paypal-business/default.rb', line 1469

def initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, authorizationID = nil, amount = nil)
  @detailLevel = detailLevel
  @errorLanguage = errorLanguage
  @messageID = messageID
  @version = version
  @__xmlele_any = nil
  @authorizationID = authorizationID
  @amount = amount
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



1461
1462
1463
# File 'lib/paypal-business/default.rb', line 1461

def __xmlele_any
  @__xmlele_any
end

#amountObject

Returns the value of attribute amount.



1463
1464
1465
# File 'lib/paypal-business/default.rb', line 1463

def amount
  @amount
end

#authorizationIDObject

Returns the value of attribute authorizationID.



1462
1463
1464
# File 'lib/paypal-business/default.rb', line 1462

def authorizationID
  @authorizationID
end

#detailLevelObject

Returns the value of attribute detailLevel.



1457
1458
1459
# File 'lib/paypal-business/default.rb', line 1457

def detailLevel
  @detailLevel
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



1458
1459
1460
# File 'lib/paypal-business/default.rb', line 1458

def errorLanguage
  @errorLanguage
end

#messageIDObject

Returns the value of attribute messageID.



1459
1460
1461
# File 'lib/paypal-business/default.rb', line 1459

def messageID
  @messageID
end

#versionObject

Returns the value of attribute version.



1460
1461
1462
# File 'lib/paypal-business/default.rb', line 1460

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



1465
1466
1467
# File 'lib/paypal-business/default.rb', line 1465

def set_any(elements)
  @__xmlele_any = elements
end