Class: DoCaptureResponseType

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

Overview

urn:ebay:api:PayPalAPIDoCaptureResponseType

Constant Summary collapse

@@schema_type =
"DoCaptureResponseType"
@@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")]],
  ["doCaptureResponseDetails", ["DoCaptureResponseDetailsType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DoCaptureResponseDetails")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DoCaptureResponseType.



1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
# File 'lib/paypal-business/default.rb', line 1431

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



1424
1425
1426
# File 'lib/paypal-business/default.rb', line 1424

def __xmlele_any
  @__xmlele_any
end

#ackObject

Returns the value of attribute ack.



1419
1420
1421
# File 'lib/paypal-business/default.rb', line 1419

def ack
  @ack
end

#buildObject

Returns the value of attribute build.



1423
1424
1425
# File 'lib/paypal-business/default.rb', line 1423

def build
  @build
end

#correlationIDObject

Returns the value of attribute correlationID.



1420
1421
1422
# File 'lib/paypal-business/default.rb', line 1420

def correlationID
  @correlationID
end

#doCaptureResponseDetailsObject

Returns the value of attribute doCaptureResponseDetails.



1425
1426
1427
# File 'lib/paypal-business/default.rb', line 1425

def doCaptureResponseDetails
  @doCaptureResponseDetails
end

#errorsObject

Returns the value of attribute errors.



1421
1422
1423
# File 'lib/paypal-business/default.rb', line 1421

def errors
  @errors
end

#timestampObject

Returns the value of attribute timestamp.



1418
1419
1420
# File 'lib/paypal-business/default.rb', line 1418

def timestamp
  @timestamp
end

#versionObject

Returns the value of attribute version.



1422
1423
1424
# File 'lib/paypal-business/default.rb', line 1422

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



1427
1428
1429
# File 'lib/paypal-business/default.rb', line 1427

def set_any(elements)
  @__xmlele_any = elements
end