Class: DoAuthorizationRequestType

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

Instance Method Summary collapse

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, messageID = nil, version = nil, transactionID = nil, transactionEntity = nil, amount = nil)
  @detailLevel = detailLevel
  @errorLanguage = errorLanguage
  @messageID = messageID
  @version = version
  @__xmlele_any = nil
  @transactionID = transactionID
  @transactionEntity = transactionEntity
  @amount = amount
end

Instance Attribute Details

#__xmlele_anyObject (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

#amountObject

Returns the value of attribute amount.



1439
1440
1441
# File 'lib/v_paypal/default.rb', line 1439

def amount
  @amount
end

#detailLevelObject

Returns the value of attribute detailLevel.



1432
1433
1434
# File 'lib/v_paypal/default.rb', line 1432

def detailLevel
  @detailLevel
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



1433
1434
1435
# File 'lib/v_paypal/default.rb', line 1433

def errorLanguage
  @errorLanguage
end

#messageIDObject

Returns the value of attribute messageID.



1434
1435
1436
# File 'lib/v_paypal/default.rb', line 1434

def messageID
  @messageID
end

#transactionEntityObject

Returns the value of attribute transactionEntity.



1438
1439
1440
# File 'lib/v_paypal/default.rb', line 1438

def transactionEntity
  @transactionEntity
end

#transactionIDObject

Returns the value of attribute transactionID.



1437
1438
1439
# File 'lib/v_paypal/default.rb', line 1437

def transactionID
  @transactionID
end

#versionObject

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