Class: DoAuthorizationResponseType
- Inherits:
-
Object
- Object
- DoAuthorizationResponseType
- Defined in:
- lib/paypal-business/default.rb
Overview
urn:ebay:api:PayPalAPIDoAuthorizationResponseType
Constant Summary collapse
- @@schema_type =
"DoAuthorizationResponseType"
- @@schema_ns =
"urn:ebay:api:PayPalAPI"
- @@schema_element =
[ ["timestamp", ["SOAP::SOAPDateTime", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Timestamp")]], ["ack", ["AckCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Ack")]], ["correlationID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CorrelationID")]], ["errors", ["ErrorType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Errors")]], ["version", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Version")]], ["build", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Build")]], ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]], ["transactionID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "TransactionID")]], ["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.
-
#ack ⇒ Object
Returns the value of attribute ack.
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#build ⇒ Object
Returns the value of attribute build.
-
#correlationID ⇒ Object
Returns the value of attribute correlationID.
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#timestamp ⇒ Object
Returns the value of attribute timestamp.
-
#transactionID ⇒ Object
Returns the value of attribute transactionID.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(timestamp = nil, ack = nil, correlationID = nil, errors = [], version = nil, build = nil, transactionID = nil, amount = nil) ⇒ DoAuthorizationResponseType
constructor
A new instance of DoAuthorizationResponseType.
- #set_any(elements) ⇒ Object
Constructor Details
#initialize(timestamp = nil, ack = nil, correlationID = nil, errors = [], version = nil, build = nil, transactionID = nil, amount = nil) ⇒ DoAuthorizationResponseType
Returns a new instance of DoAuthorizationResponseType.
1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 |
# File 'lib/paypal-business/default.rb', line 1667 def initialize( = nil, ack = nil, correlationID = nil, errors = [], version = nil, build = nil, transactionID = nil, amount = nil) @timestamp = @ack = ack @correlationID = correlationID @errors = errors @version = version @build = build @__xmlele_any = nil @transactionID = transactionID @amount = amount end |
Instance Attribute Details
#__xmlele_any ⇒ Object (readonly)
Returns the value of attribute __xmlele_any.
1659 1660 1661 |
# File 'lib/paypal-business/default.rb', line 1659 def __xmlele_any @__xmlele_any end |
#ack ⇒ Object
Returns the value of attribute ack.
1654 1655 1656 |
# File 'lib/paypal-business/default.rb', line 1654 def ack @ack end |
#amount ⇒ Object
Returns the value of attribute amount.
1661 1662 1663 |
# File 'lib/paypal-business/default.rb', line 1661 def amount @amount end |
#build ⇒ Object
Returns the value of attribute build.
1658 1659 1660 |
# File 'lib/paypal-business/default.rb', line 1658 def build @build end |
#correlationID ⇒ Object
Returns the value of attribute correlationID.
1655 1656 1657 |
# File 'lib/paypal-business/default.rb', line 1655 def correlationID @correlationID end |
#errors ⇒ Object
Returns the value of attribute errors.
1656 1657 1658 |
# File 'lib/paypal-business/default.rb', line 1656 def errors @errors end |
#timestamp ⇒ Object
Returns the value of attribute timestamp.
1653 1654 1655 |
# File 'lib/paypal-business/default.rb', line 1653 def @timestamp end |
#transactionID ⇒ Object
Returns the value of attribute transactionID.
1660 1661 1662 |
# File 'lib/paypal-business/default.rb', line 1660 def transactionID @transactionID end |
#version ⇒ Object
Returns the value of attribute version.
1657 1658 1659 |
# File 'lib/paypal-business/default.rb', line 1657 def version @version end |
Instance Method Details
#set_any(elements) ⇒ Object
1663 1664 1665 |
# File 'lib/paypal-business/default.rb', line 1663 def set_any(elements) @__xmlele_any = elements end |