Class: DoDirectPaymentRequestType

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

Overview

urn:ebay:api:PayPalAPIDoDirectPaymentRequestType

Constant Summary collapse

@@schema_type =
"DoDirectPaymentRequestType"
@@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")]],
  ["doDirectPaymentRequestDetails", ["DoDirectPaymentRequestDetailsType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DoDirectPaymentRequestDetails")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, doDirectPaymentRequestDetails = nil) ⇒ DoDirectPaymentRequestType

Returns a new instance of DoDirectPaymentRequestType.



1298
1299
1300
1301
1302
1303
1304
1305
# File 'lib/paypal-business/default.rb', line 1298

def initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, doDirectPaymentRequestDetails = nil)
  @detailLevel = detailLevel
  @errorLanguage = errorLanguage
  @messageID = messageID
  @version = version
  @__xmlele_any = nil
  @doDirectPaymentRequestDetails = doDirectPaymentRequestDetails
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



1291
1292
1293
# File 'lib/paypal-business/default.rb', line 1291

def __xmlele_any
  @__xmlele_any
end

#detailLevelObject

Returns the value of attribute detailLevel.



1287
1288
1289
# File 'lib/paypal-business/default.rb', line 1287

def detailLevel
  @detailLevel
end

#doDirectPaymentRequestDetailsObject

Returns the value of attribute doDirectPaymentRequestDetails.



1292
1293
1294
# File 'lib/paypal-business/default.rb', line 1292

def doDirectPaymentRequestDetails
  @doDirectPaymentRequestDetails
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



1288
1289
1290
# File 'lib/paypal-business/default.rb', line 1288

def errorLanguage
  @errorLanguage
end

#messageIDObject

Returns the value of attribute messageID.



1289
1290
1291
# File 'lib/paypal-business/default.rb', line 1289

def messageID
  @messageID
end

#versionObject

Returns the value of attribute version.



1290
1291
1292
# File 'lib/paypal-business/default.rb', line 1290

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



1294
1295
1296
# File 'lib/paypal-business/default.rb', line 1294

def set_any(elements)
  @__xmlele_any = elements
end