Class: VATDetailsType

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

Overview

urn:ebay:apis:eBLBaseComponentsVATDetailsType

Constant Summary collapse

@@schema_type =
"VATDetailsType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["businessSeller", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "BusinessSeller")]],
  ["restrictedToBusiness", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "RestrictedToBusiness")]],
  ["vATPercent", ["SOAP::SOAPFloat", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "VATPercent")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(businessSeller = nil, restrictedToBusiness = nil, vATPercent = nil) ⇒ VATDetailsType

Returns a new instance of VATDetailsType.



21321
21322
21323
21324
21325
21326
# File 'lib/eBay.rb', line 21321

def initialize(businessSeller = nil, restrictedToBusiness = nil, vATPercent = nil)
  @businessSeller = businessSeller
  @restrictedToBusiness = restrictedToBusiness
  @vATPercent = vATPercent
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



21315
21316
21317
# File 'lib/eBay.rb', line 21315

def __xmlele_any
  @__xmlele_any
end

#businessSellerObject

Returns the value of attribute businessSeller.



21312
21313
21314
# File 'lib/eBay.rb', line 21312

def businessSeller
  @businessSeller
end

#restrictedToBusinessObject

Returns the value of attribute restrictedToBusiness.



21313
21314
21315
# File 'lib/eBay.rb', line 21313

def restrictedToBusiness
  @restrictedToBusiness
end

#vATPercentObject

Returns the value of attribute vATPercent.



21314
21315
21316
# File 'lib/eBay.rb', line 21314

def vATPercent
  @vATPercent
end

Instance Method Details

#set_any(elements) ⇒ Object



21317
21318
21319
# File 'lib/eBay.rb', line 21317

def set_any(elements)
  @__xmlele_any = elements
end