Class: SetExpressCheckoutRequestType

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

Overview

urn:ebay:api:PayPalAPISetExpressCheckoutRequestType

Constant Summary collapse

@@schema_type =
"SetExpressCheckoutRequestType"
@@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")]],
  ["setExpressCheckoutRequestDetails", ["SetExpressCheckoutRequestDetailsType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SetExpressCheckoutRequestDetails")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, setExpressCheckoutRequestDetails = nil) ⇒ SetExpressCheckoutRequestType

Returns a new instance of SetExpressCheckoutRequestType.



1076
1077
1078
1079
1080
1081
1082
1083
# File 'lib/paypal-business/default.rb', line 1076

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



1069
1070
1071
# File 'lib/paypal-business/default.rb', line 1069

def __xmlele_any
  @__xmlele_any
end

#detailLevelObject

Returns the value of attribute detailLevel.



1065
1066
1067
# File 'lib/paypal-business/default.rb', line 1065

def detailLevel
  @detailLevel
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



1066
1067
1068
# File 'lib/paypal-business/default.rb', line 1066

def errorLanguage
  @errorLanguage
end

#messageIDObject

Returns the value of attribute messageID.



1067
1068
1069
# File 'lib/paypal-business/default.rb', line 1067

def messageID
  @messageID
end

#setExpressCheckoutRequestDetailsObject

Returns the value of attribute setExpressCheckoutRequestDetails.



1070
1071
1072
# File 'lib/paypal-business/default.rb', line 1070

def setExpressCheckoutRequestDetails
  @setExpressCheckoutRequestDetails
end

#versionObject

Returns the value of attribute version.



1068
1069
1070
# File 'lib/paypal-business/default.rb', line 1068

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



1072
1073
1074
# File 'lib/paypal-business/default.rb', line 1072

def set_any(elements)
  @__xmlele_any = elements
end