Class: DoAuthorizationRequestType
- Inherits:
-
Object
- Object
- DoAuthorizationRequestType
- Defined in:
- lib/v_paypal/default.rb
Overview
urn:ebay:api:PayPalAPIDoAuthorizationRequestType
Constant Summary collapse
- @@schema_type =
"DoAuthorizationRequestType"
- @@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")]], ["transactionID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "TransactionID")]], ["transactionEntity", ["TransactionEntityType", XSD::QName.new("urn:ebay:api:PayPalAPI", "TransactionEntity")]], ["amount", ["BasicAmountType", XSD::QName.new("urn:ebay:api:PayPalAPI", "Amount")]] ]
Instance Attribute Summary collapse
-
#__xmlele_any ⇒ Object
readonly
Returns the value of attribute __xmlele_any.
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#detailLevel ⇒ Object
Returns the value of attribute detailLevel.
-
#errorLanguage ⇒ Object
Returns the value of attribute errorLanguage.
-
#messageID ⇒ Object
Returns the value of attribute messageID.
-
#transactionEntity ⇒ Object
Returns the value of attribute transactionEntity.
-
#transactionID ⇒ Object
Returns the value of attribute transactionID.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, transactionID = nil, transactionEntity = nil, amount = nil) ⇒ DoAuthorizationRequestType
constructor
A new instance of DoAuthorizationRequestType.
- #set_any(elements) ⇒ Object
Constructor Details
#initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, transactionID = nil, transactionEntity = nil, amount = nil) ⇒ DoAuthorizationRequestType
Returns a new instance of DoAuthorizationRequestType.
1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 |
# File 'lib/v_paypal/default.rb', line 1445 def initialize(detailLevel = [], errorLanguage = nil, = nil, version = nil, transactionID = nil, transactionEntity = nil, amount = nil) @detailLevel = detailLevel @errorLanguage = errorLanguage @messageID = @version = version @__xmlele_any = nil @transactionID = transactionID @transactionEntity = transactionEntity @amount = amount end |
Instance Attribute Details
#__xmlele_any ⇒ Object (readonly)
Returns the value of attribute __xmlele_any.
1436 1437 1438 |
# File 'lib/v_paypal/default.rb', line 1436 def __xmlele_any @__xmlele_any end |
#amount ⇒ Object
Returns the value of attribute amount.
1439 1440 1441 |
# File 'lib/v_paypal/default.rb', line 1439 def amount @amount end |
#detailLevel ⇒ Object
Returns the value of attribute detailLevel.
1432 1433 1434 |
# File 'lib/v_paypal/default.rb', line 1432 def detailLevel @detailLevel end |
#errorLanguage ⇒ Object
Returns the value of attribute errorLanguage.
1433 1434 1435 |
# File 'lib/v_paypal/default.rb', line 1433 def errorLanguage @errorLanguage end |
#messageID ⇒ Object
Returns the value of attribute messageID.
1434 1435 1436 |
# File 'lib/v_paypal/default.rb', line 1434 def @messageID end |
#transactionEntity ⇒ Object
Returns the value of attribute transactionEntity.
1438 1439 1440 |
# File 'lib/v_paypal/default.rb', line 1438 def transactionEntity @transactionEntity end |
#transactionID ⇒ Object
Returns the value of attribute transactionID.
1437 1438 1439 |
# File 'lib/v_paypal/default.rb', line 1437 def transactionID @transactionID end |
#version ⇒ Object
Returns the value of attribute version.
1435 1436 1437 |
# File 'lib/v_paypal/default.rb', line 1435 def version @version end |
Instance Method Details
#set_any(elements) ⇒ Object
1441 1442 1443 |
# File 'lib/v_paypal/default.rb', line 1441 def set_any(elements) @__xmlele_any = elements end |