Class: DoDirectPaymentRequestType

Inherits:
Object
  • Object
show all
Defined in:
lib/v_paypal/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.



1118
1119
1120
1121
1122
1123
1124
1125
# File 'lib/v_paypal/default.rb', line 1118

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.



1111
1112
1113
# File 'lib/v_paypal/default.rb', line 1111

def __xmlele_any
  @__xmlele_any
end

#detailLevelObject

Returns the value of attribute detailLevel.



1107
1108
1109
# File 'lib/v_paypal/default.rb', line 1107

def detailLevel
  @detailLevel
end

#doDirectPaymentRequestDetailsObject

Returns the value of attribute doDirectPaymentRequestDetails.



1112
1113
1114
# File 'lib/v_paypal/default.rb', line 1112

def doDirectPaymentRequestDetails
  @doDirectPaymentRequestDetails
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



1108
1109
1110
# File 'lib/v_paypal/default.rb', line 1108

def errorLanguage
  @errorLanguage
end

#messageIDObject

Returns the value of attribute messageID.



1109
1110
1111
# File 'lib/v_paypal/default.rb', line 1109

def messageID
  @messageID
end

#versionObject

Returns the value of attribute version.



1110
1111
1112
# File 'lib/v_paypal/default.rb', line 1110

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



1114
1115
1116
# File 'lib/v_paypal/default.rb', line 1114

def set_any(elements)
  @__xmlele_any = elements
end