Class: MassPayRequestType

Inherits:
Object
  • Object
show all
Defined in:
lib/v_paypal/default.rb

Overview

urn:ebay:api:PayPalAPIMassPayRequestType

Constant Summary collapse

@@schema_type =
"MassPayRequestType"
@@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")]],
  ["emailSubject", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "EmailSubject")]],
  ["receiverType", ["ReceiverInfoCodeType", XSD::QName.new("urn:ebay:api:PayPalAPI", "ReceiverType")]],
  ["massPayItem", ["MassPayRequestItemType[]", XSD::QName.new("urn:ebay:api:PayPalAPI", "MassPayItem")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, emailSubject = nil, receiverType = nil, massPayItem = []) ⇒ MassPayRequestType

Returns a new instance of MassPayRequestType.



621
622
623
624
625
626
627
628
629
630
# File 'lib/v_paypal/default.rb', line 621

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



612
613
614
# File 'lib/v_paypal/default.rb', line 612

def __xmlele_any
  @__xmlele_any
end

#detailLevelObject

Returns the value of attribute detailLevel.



608
609
610
# File 'lib/v_paypal/default.rb', line 608

def detailLevel
  @detailLevel
end

#emailSubjectObject

Returns the value of attribute emailSubject.



613
614
615
# File 'lib/v_paypal/default.rb', line 613

def emailSubject
  @emailSubject
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



609
610
611
# File 'lib/v_paypal/default.rb', line 609

def errorLanguage
  @errorLanguage
end

#massPayItemObject

Returns the value of attribute massPayItem.



615
616
617
# File 'lib/v_paypal/default.rb', line 615

def massPayItem
  @massPayItem
end

#messageIDObject

Returns the value of attribute messageID.



610
611
612
# File 'lib/v_paypal/default.rb', line 610

def messageID
  @messageID
end

#receiverTypeObject

Returns the value of attribute receiverType.



614
615
616
# File 'lib/v_paypal/default.rb', line 614

def receiverType
  @receiverType
end

#versionObject

Returns the value of attribute version.



611
612
613
# File 'lib/v_paypal/default.rb', line 611

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



617
618
619
# File 'lib/v_paypal/default.rb', line 617

def set_any(elements)
  @__xmlele_any = elements
end