Class: DoDirectPaymentResponseType

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

Overview

urn:ebay:api:PayPalAPIDoDirectPaymentResponseType

Constant Summary collapse

@@schema_type =
"DoDirectPaymentResponseType"
@@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")]],
  ["amount", ["BasicAmountType", XSD::QName.new("urn:ebay:api:PayPalAPI", "Amount")]],
  ["aVSCode", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "AVSCode")]],
  ["cVV2Code", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "CVV2Code")]],
  ["transactionID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "TransactionID")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(timestamp = nil, ack = nil, correlationID = nil, errors = [], version = nil, build = nil, amount = nil, aVSCode = nil, cVV2Code = nil, transactionID = nil) ⇒ DoDirectPaymentResponseType

Returns a new instance of DoDirectPaymentResponseType.



1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
# File 'lib/paypal-business/default.rb', line 1342

def initialize(timestamp = nil, ack = nil, correlationID = nil, errors = [], version = nil, build = nil, amount = nil, aVSCode = nil, cVV2Code = nil, transactionID = nil)
  @timestamp = timestamp
  @ack = ack
  @correlationID = correlationID
  @errors = errors
  @version = version
  @build = build
  @__xmlele_any = nil
  @amount = amount
  @aVSCode = aVSCode
  @cVV2Code = cVV2Code
  @transactionID = transactionID
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



1332
1333
1334
# File 'lib/paypal-business/default.rb', line 1332

def __xmlele_any
  @__xmlele_any
end

#ackObject

Returns the value of attribute ack.



1327
1328
1329
# File 'lib/paypal-business/default.rb', line 1327

def ack
  @ack
end

#amountObject

Returns the value of attribute amount.



1333
1334
1335
# File 'lib/paypal-business/default.rb', line 1333

def amount
  @amount
end

#aVSCodeObject

Returns the value of attribute aVSCode.



1334
1335
1336
# File 'lib/paypal-business/default.rb', line 1334

def aVSCode
  @aVSCode
end

#buildObject

Returns the value of attribute build.



1331
1332
1333
# File 'lib/paypal-business/default.rb', line 1331

def build
  @build
end

#correlationIDObject

Returns the value of attribute correlationID.



1328
1329
1330
# File 'lib/paypal-business/default.rb', line 1328

def correlationID
  @correlationID
end

#cVV2CodeObject

Returns the value of attribute cVV2Code.



1335
1336
1337
# File 'lib/paypal-business/default.rb', line 1335

def cVV2Code
  @cVV2Code
end

#errorsObject

Returns the value of attribute errors.



1329
1330
1331
# File 'lib/paypal-business/default.rb', line 1329

def errors
  @errors
end

#timestampObject

Returns the value of attribute timestamp.



1326
1327
1328
# File 'lib/paypal-business/default.rb', line 1326

def timestamp
  @timestamp
end

#transactionIDObject

Returns the value of attribute transactionID.



1336
1337
1338
# File 'lib/paypal-business/default.rb', line 1336

def transactionID
  @transactionID
end

#versionObject

Returns the value of attribute version.



1330
1331
1332
# File 'lib/paypal-business/default.rb', line 1330

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



1338
1339
1340
# File 'lib/paypal-business/default.rb', line 1338

def set_any(elements)
  @__xmlele_any = elements
end