Class: DoReauthorizationResponseType

Inherits:
Object
  • Object
show all
Defined in:
lib/paypal-business/default.rb

Overview

urn:ebay:api:PayPalAPIDoReauthorizationResponseType

Constant Summary collapse

@@schema_type =
"DoReauthorizationResponseType"
@@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")]],
  ["authorizationID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "AuthorizationID")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(timestamp = nil, ack = nil, correlationID = nil, errors = [], version = nil, build = nil, authorizationID = nil) ⇒ DoReauthorizationResponseType

Returns a new instance of DoReauthorizationResponseType.



1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
# File 'lib/paypal-business/default.rb', line 1508

def initialize(timestamp = nil, ack = nil, correlationID = nil, errors = [], version = nil, build = nil, authorizationID = nil)
  @timestamp = timestamp
  @ack = ack
  @correlationID = correlationID
  @errors = errors
  @version = version
  @build = build
  @__xmlele_any = nil
  @authorizationID = authorizationID
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



1501
1502
1503
# File 'lib/paypal-business/default.rb', line 1501

def __xmlele_any
  @__xmlele_any
end

#ackObject

Returns the value of attribute ack.



1496
1497
1498
# File 'lib/paypal-business/default.rb', line 1496

def ack
  @ack
end

#authorizationIDObject

Returns the value of attribute authorizationID.



1502
1503
1504
# File 'lib/paypal-business/default.rb', line 1502

def authorizationID
  @authorizationID
end

#buildObject

Returns the value of attribute build.



1500
1501
1502
# File 'lib/paypal-business/default.rb', line 1500

def build
  @build
end

#correlationIDObject

Returns the value of attribute correlationID.



1497
1498
1499
# File 'lib/paypal-business/default.rb', line 1497

def correlationID
  @correlationID
end

#errorsObject

Returns the value of attribute errors.



1498
1499
1500
# File 'lib/paypal-business/default.rb', line 1498

def errors
  @errors
end

#timestampObject

Returns the value of attribute timestamp.



1495
1496
1497
# File 'lib/paypal-business/default.rb', line 1495

def timestamp
  @timestamp
end

#versionObject

Returns the value of attribute version.



1499
1500
1501
# File 'lib/paypal-business/default.rb', line 1499

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



1504
1505
1506
# File 'lib/paypal-business/default.rb', line 1504

def set_any(elements)
  @__xmlele_any = elements
end