Class: SMSSubscriptionType

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

Overview

urn:ebay:apis:eBLBaseComponentsSMSSubscriptionType

Constant Summary collapse

@@schema_type =
"SMSSubscriptionType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["sMSPhone", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SMSPhone")]],
  ["userStatus", ["SMSSubscriptionUserStatusCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "UserStatus")]],
  ["carrierID", ["WirelessCarrierIDCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CarrierID")]],
  ["errorCode", ["SMSSubscriptionErrorCodeCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ErrorCode")]],
  ["itemToUnsubscribe", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ItemToUnsubscribe")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sMSPhone = nil, userStatus = nil, carrierID = nil, errorCode = nil, itemToUnsubscribe = nil) ⇒ SMSSubscriptionType

Returns a new instance of SMSSubscriptionType.



21668
21669
21670
21671
21672
21673
21674
21675
# File 'lib/eBay.rb', line 21668

def initialize(sMSPhone = nil, userStatus = nil, carrierID = nil, errorCode = nil, itemToUnsubscribe = nil)
  @sMSPhone = sMSPhone
  @userStatus = userStatus
  @carrierID = carrierID
  @errorCode = errorCode
  @itemToUnsubscribe = itemToUnsubscribe
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



21662
21663
21664
# File 'lib/eBay.rb', line 21662

def __xmlele_any
  @__xmlele_any
end

#carrierIDObject

Returns the value of attribute carrierID.



21659
21660
21661
# File 'lib/eBay.rb', line 21659

def carrierID
  @carrierID
end

#errorCodeObject

Returns the value of attribute errorCode.



21660
21661
21662
# File 'lib/eBay.rb', line 21660

def errorCode
  @errorCode
end

#itemToUnsubscribeObject

Returns the value of attribute itemToUnsubscribe.



21661
21662
21663
# File 'lib/eBay.rb', line 21661

def itemToUnsubscribe
  @itemToUnsubscribe
end

#sMSPhoneObject

Returns the value of attribute sMSPhone.



21657
21658
21659
# File 'lib/eBay.rb', line 21657

def sMSPhone
  @sMSPhone
end

#userStatusObject

Returns the value of attribute userStatus.



21658
21659
21660
# File 'lib/eBay.rb', line 21658

def userStatus
  @userStatus
end

Instance Method Details

#set_any(elements) ⇒ Object



21664
21665
21666
# File 'lib/eBay.rb', line 21664

def set_any(elements)
  @__xmlele_any = elements
end