Class: DoExpressCheckoutPaymentRequestType

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

Overview

urn:ebay:api:PayPalAPIDoExpressCheckoutPaymentRequestType

Constant Summary collapse

@@schema_type =
"DoExpressCheckoutPaymentRequestType"
@@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")]],
  ["doExpressCheckoutPaymentRequestDetails", ["DoExpressCheckoutPaymentRequestDetailsType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DoExpressCheckoutPaymentRequestDetails")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, doExpressCheckoutPaymentRequestDetails = nil) ⇒ DoExpressCheckoutPaymentRequestType

Returns a new instance of DoExpressCheckoutPaymentRequestType.



1224
1225
1226
1227
1228
1229
1230
1231
# File 'lib/paypal-business/default.rb', line 1224

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



1217
1218
1219
# File 'lib/paypal-business/default.rb', line 1217

def __xmlele_any
  @__xmlele_any
end

#detailLevelObject

Returns the value of attribute detailLevel.



1213
1214
1215
# File 'lib/paypal-business/default.rb', line 1213

def detailLevel
  @detailLevel
end

#doExpressCheckoutPaymentRequestDetailsObject

Returns the value of attribute doExpressCheckoutPaymentRequestDetails.



1218
1219
1220
# File 'lib/paypal-business/default.rb', line 1218

def doExpressCheckoutPaymentRequestDetails
  @doExpressCheckoutPaymentRequestDetails
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



1214
1215
1216
# File 'lib/paypal-business/default.rb', line 1214

def errorLanguage
  @errorLanguage
end

#messageIDObject

Returns the value of attribute messageID.



1215
1216
1217
# File 'lib/paypal-business/default.rb', line 1215

def messageID
  @messageID
end

#versionObject

Returns the value of attribute version.



1216
1217
1218
# File 'lib/paypal-business/default.rb', line 1216

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



1220
1221
1222
# File 'lib/paypal-business/default.rb', line 1220

def set_any(elements)
  @__xmlele_any = elements
end