Class: DoAuthorizationRequestType

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



1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
# File 'lib/paypal-business/default.rb', line 1625

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.



1616
1617
1618
# File 'lib/paypal-business/default.rb', line 1616

def __xmlele_any
  @__xmlele_any
end

#amountObject

Returns the value of attribute amount.



1619
1620
1621
# File 'lib/paypal-business/default.rb', line 1619

def amount
  @amount
end

#detailLevelObject

Returns the value of attribute detailLevel.



1612
1613
1614
# File 'lib/paypal-business/default.rb', line 1612

def detailLevel
  @detailLevel
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



1613
1614
1615
# File 'lib/paypal-business/default.rb', line 1613

def errorLanguage
  @errorLanguage
end

#messageIDObject

Returns the value of attribute messageID.



1614
1615
1616
# File 'lib/paypal-business/default.rb', line 1614

def messageID
  @messageID
end

#transactionEntityObject

Returns the value of attribute transactionEntity.



1618
1619
1620
# File 'lib/paypal-business/default.rb', line 1618

def transactionEntity
  @transactionEntity
end

#transactionIDObject

Returns the value of attribute transactionID.



1617
1618
1619
# File 'lib/paypal-business/default.rb', line 1617

def transactionID
  @transactionID
end

#versionObject

Returns the value of attribute version.



1615
1616
1617
# File 'lib/paypal-business/default.rb', line 1615

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



1621
1622
1623
# File 'lib/paypal-business/default.rb', line 1621

def set_any(elements)
  @__xmlele_any = elements
end