Class: MassPayRequestType

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



653
654
655
656
657
658
659
660
661
662
# File 'lib/paypal-business/default.rb', line 653

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.



644
645
646
# File 'lib/paypal-business/default.rb', line 644

def __xmlele_any
  @__xmlele_any
end

#detailLevelObject

Returns the value of attribute detailLevel.



640
641
642
# File 'lib/paypal-business/default.rb', line 640

def detailLevel
  @detailLevel
end

#emailSubjectObject

Returns the value of attribute emailSubject.



645
646
647
# File 'lib/paypal-business/default.rb', line 645

def emailSubject
  @emailSubject
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



641
642
643
# File 'lib/paypal-business/default.rb', line 641

def errorLanguage
  @errorLanguage
end

#massPayItemObject

Returns the value of attribute massPayItem.



647
648
649
# File 'lib/paypal-business/default.rb', line 647

def massPayItem
  @massPayItem
end

#messageIDObject

Returns the value of attribute messageID.



642
643
644
# File 'lib/paypal-business/default.rb', line 642

def messageID
  @messageID
end

#receiverTypeObject

Returns the value of attribute receiverType.



646
647
648
# File 'lib/paypal-business/default.rb', line 646

def receiverType
  @receiverType
end

#versionObject

Returns the value of attribute version.



643
644
645
# File 'lib/paypal-business/default.rb', line 643

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



649
650
651
# File 'lib/paypal-business/default.rb', line 649

def set_any(elements)
  @__xmlele_any = elements
end