Class: BAUpdateRequestType

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

Overview

urn:ebay:api:PayPalAPIBAUpdateRequestType

Constant Summary collapse

@@schema_type =
"BAUpdateRequestType"
@@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")]],
  ["mpID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "MpID")]],
  ["custom", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "Custom")]],
  ["desc", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:api:PayPalAPI", "Desc")]],
  ["mpStatus", ["MerchantPullStatusCodeType", XSD::QName.new("urn:ebay:api:PayPalAPI", "MpStatus")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, mpID = nil, custom = nil, desc = nil, mpStatus = nil) ⇒ BAUpdateRequestType

Returns a new instance of BAUpdateRequestType.



759
760
761
762
763
764
765
766
767
768
769
# File 'lib/paypal-business/default.rb', line 759

def initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, mpID = nil, custom = nil, desc = nil, mpStatus = nil)
  @detailLevel = detailLevel
  @errorLanguage = errorLanguage
  @messageID = messageID
  @version = version
  @__xmlele_any = nil
  @mpID = mpID
  @custom = custom
  @desc = desc
  @mpStatus = mpStatus
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



749
750
751
# File 'lib/paypal-business/default.rb', line 749

def __xmlele_any
  @__xmlele_any
end

#customObject

Returns the value of attribute custom.



751
752
753
# File 'lib/paypal-business/default.rb', line 751

def custom
  @custom
end

#descObject

Returns the value of attribute desc.



752
753
754
# File 'lib/paypal-business/default.rb', line 752

def desc
  @desc
end

#detailLevelObject

Returns the value of attribute detailLevel.



745
746
747
# File 'lib/paypal-business/default.rb', line 745

def detailLevel
  @detailLevel
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



746
747
748
# File 'lib/paypal-business/default.rb', line 746

def errorLanguage
  @errorLanguage
end

#messageIDObject

Returns the value of attribute messageID.



747
748
749
# File 'lib/paypal-business/default.rb', line 747

def messageID
  @messageID
end

#mpIDObject

Returns the value of attribute mpID.



750
751
752
# File 'lib/paypal-business/default.rb', line 750

def mpID
  @mpID
end

#mpStatusObject

Returns the value of attribute mpStatus.



753
754
755
# File 'lib/paypal-business/default.rb', line 753

def mpStatus
  @mpStatus
end

#versionObject

Returns the value of attribute version.



748
749
750
# File 'lib/paypal-business/default.rb', line 748

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



755
756
757
# File 'lib/paypal-business/default.rb', line 755

def set_any(elements)
  @__xmlele_any = elements
end