Class: DoCaptureRequestType

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

Overview

urn:ebay:api:PayPalAPIDoCaptureRequestType

Constant Summary collapse

@@schema_type =
"DoCaptureRequestType"
@@schema_ns =
"urn:ebay:api:PayPalAPI"
@@schema_element =
[
  ["detailLevel", ["DetailLevelCodeType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DetailLevel")]],
  ["errorLanguage", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ErrorLanguage")]],
  ["messageID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "MessageID")]],
  ["version", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Version")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]],
  ["authorizationID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "AuthorizationID")]],
  ["amount", ["BasicAmountType", XSD::QName.new("urn:ebay:api:PayPalAPI", "Amount")]],
  ["completeType", ["CompleteCodeType", XSD::QName.new("urn:ebay:api:PayPalAPI", "CompleteType")]],
  ["note", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "Note")]],
  ["invoiceID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "InvoiceID")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, authorizationID = nil, amount = nil, completeType = nil, note = nil, invoiceID = nil) ⇒ DoCaptureRequestType

Returns a new instance of DoCaptureRequestType.



1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
# File 'lib/paypal-business/default.rb', line 1389

def initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, authorizationID = nil, amount = nil, completeType = nil, note = nil, invoiceID = nil)
  @detailLevel = detailLevel
  @errorLanguage = errorLanguage
  @messageID = messageID
  @version = version
  @__xmlele_any = nil
  @authorizationID = authorizationID
  @amount = amount
  @completeType = completeType
  @note = note
  @invoiceID = invoiceID
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



1378
1379
1380
# File 'lib/paypal-business/default.rb', line 1378

def __xmlele_any
  @__xmlele_any
end

#amountObject

Returns the value of attribute amount.



1380
1381
1382
# File 'lib/paypal-business/default.rb', line 1380

def amount
  @amount
end

#authorizationIDObject

Returns the value of attribute authorizationID.



1379
1380
1381
# File 'lib/paypal-business/default.rb', line 1379

def authorizationID
  @authorizationID
end

#completeTypeObject

Returns the value of attribute completeType.



1381
1382
1383
# File 'lib/paypal-business/default.rb', line 1381

def completeType
  @completeType
end

#detailLevelObject

Returns the value of attribute detailLevel.



1374
1375
1376
# File 'lib/paypal-business/default.rb', line 1374

def detailLevel
  @detailLevel
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



1375
1376
1377
# File 'lib/paypal-business/default.rb', line 1375

def errorLanguage
  @errorLanguage
end

#invoiceIDObject

Returns the value of attribute invoiceID.



1383
1384
1385
# File 'lib/paypal-business/default.rb', line 1383

def invoiceID
  @invoiceID
end

#messageIDObject

Returns the value of attribute messageID.



1376
1377
1378
# File 'lib/paypal-business/default.rb', line 1376

def messageID
  @messageID
end

#noteObject

Returns the value of attribute note.



1382
1383
1384
# File 'lib/paypal-business/default.rb', line 1382

def note
  @note
end

#versionObject

Returns the value of attribute version.



1377
1378
1379
# File 'lib/paypal-business/default.rb', line 1377

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



1385
1386
1387
# File 'lib/paypal-business/default.rb', line 1385

def set_any(elements)
  @__xmlele_any = elements
end