Class: DoAuthorizationResponseType
- Inherits:
-
Object
- Object
- DoAuthorizationResponseType
- Defined in:
- lib/v_paypal/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.
1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 |
# File 'lib/v_paypal/default.rb', line 1487 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.
1479 1480 1481 |
# File 'lib/v_paypal/default.rb', line 1479 def __xmlele_any @__xmlele_any end |
#ack ⇒ Object
Returns the value of attribute ack.
1474 1475 1476 |
# File 'lib/v_paypal/default.rb', line 1474 def ack @ack end |
#amount ⇒ Object
Returns the value of attribute amount.
1481 1482 1483 |
# File 'lib/v_paypal/default.rb', line 1481 def amount @amount end |
#build ⇒ Object
Returns the value of attribute build.
1478 1479 1480 |
# File 'lib/v_paypal/default.rb', line 1478 def build @build end |
#correlationID ⇒ Object
Returns the value of attribute correlationID.
1475 1476 1477 |
# File 'lib/v_paypal/default.rb', line 1475 def correlationID @correlationID end |
#errors ⇒ Object
Returns the value of attribute errors.
1476 1477 1478 |
# File 'lib/v_paypal/default.rb', line 1476 def errors @errors end |
#timestamp ⇒ Object
Returns the value of attribute timestamp.
1473 1474 1475 |
# File 'lib/v_paypal/default.rb', line 1473 def @timestamp end |
#transactionID ⇒ Object
Returns the value of attribute transactionID.
1480 1481 1482 |
# File 'lib/v_paypal/default.rb', line 1480 def transactionID @transactionID end |
#version ⇒ Object
Returns the value of attribute version.
1477 1478 1479 |
# File 'lib/v_paypal/default.rb', line 1477 def version @version end |
Instance Method Details
#set_any(elements) ⇒ Object
1483 1484 1485 |
# File 'lib/v_paypal/default.rb', line 1483 def set_any(elements) @__xmlele_any = elements end |