Class: DoReauthorizationRequestType

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



1289
1290
1291
1292
1293
1294
1295
1296
1297
# File 'lib/v_paypal/default.rb', line 1289

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.



1281
1282
1283
# File 'lib/v_paypal/default.rb', line 1281

def __xmlele_any
  @__xmlele_any
end

#amountObject

Returns the value of attribute amount.



1283
1284
1285
# File 'lib/v_paypal/default.rb', line 1283

def amount
  @amount
end

#authorizationIDObject

Returns the value of attribute authorizationID.



1282
1283
1284
# File 'lib/v_paypal/default.rb', line 1282

def authorizationID
  @authorizationID
end

#detailLevelObject

Returns the value of attribute detailLevel.



1277
1278
1279
# File 'lib/v_paypal/default.rb', line 1277

def detailLevel
  @detailLevel
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



1278
1279
1280
# File 'lib/v_paypal/default.rb', line 1278

def errorLanguage
  @errorLanguage
end

#messageIDObject

Returns the value of attribute messageID.



1279
1280
1281
# File 'lib/v_paypal/default.rb', line 1279

def messageID
  @messageID
end

#versionObject

Returns the value of attribute version.



1280
1281
1282
# File 'lib/v_paypal/default.rb', line 1280

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



1285
1286
1287
# File 'lib/v_paypal/default.rb', line 1285

def set_any(elements)
  @__xmlele_any = elements
end