Class: DoExpressCheckoutPaymentResponseType

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

Overview

urn:ebay:api:PayPalAPIDoExpressCheckoutPaymentResponseType

Constant Summary collapse

@@schema_type =
"DoExpressCheckoutPaymentResponseType"
@@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")]],
  ["doExpressCheckoutPaymentResponseDetails", ["DoExpressCheckoutPaymentResponseDetailsType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DoExpressCheckoutPaymentResponseDetails")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DoExpressCheckoutPaymentResponseType.



1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
# File 'lib/paypal-business/default.rb', line 1262

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



1255
1256
1257
# File 'lib/paypal-business/default.rb', line 1255

def __xmlele_any
  @__xmlele_any
end

#ackObject

Returns the value of attribute ack.



1250
1251
1252
# File 'lib/paypal-business/default.rb', line 1250

def ack
  @ack
end

#buildObject

Returns the value of attribute build.



1254
1255
1256
# File 'lib/paypal-business/default.rb', line 1254

def build
  @build
end

#correlationIDObject

Returns the value of attribute correlationID.



1251
1252
1253
# File 'lib/paypal-business/default.rb', line 1251

def correlationID
  @correlationID
end

#doExpressCheckoutPaymentResponseDetailsObject

Returns the value of attribute doExpressCheckoutPaymentResponseDetails.



1256
1257
1258
# File 'lib/paypal-business/default.rb', line 1256

def doExpressCheckoutPaymentResponseDetails
  @doExpressCheckoutPaymentResponseDetails
end

#errorsObject

Returns the value of attribute errors.



1252
1253
1254
# File 'lib/paypal-business/default.rb', line 1252

def errors
  @errors
end

#timestampObject

Returns the value of attribute timestamp.



1249
1250
1251
# File 'lib/paypal-business/default.rb', line 1249

def timestamp
  @timestamp
end

#versionObject

Returns the value of attribute version.



1253
1254
1255
# File 'lib/paypal-business/default.rb', line 1253

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



1258
1259
1260
# File 'lib/paypal-business/default.rb', line 1258

def set_any(elements)
  @__xmlele_any = elements
end