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.



24085
24086
24087
24088
24089
24090
# File 'lib/eBay.rb', line 24085

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.



24079
24080
24081
# File 'lib/eBay.rb', line 24079

def __xmlele_any
  @__xmlele_any
end

#businessSellerObject

Returns the value of attribute businessSeller.



24076
24077
24078
# File 'lib/eBay.rb', line 24076

def businessSeller
  @businessSeller
end

#restrictedToBusinessObject

Returns the value of attribute restrictedToBusiness.



24077
24078
24079
# File 'lib/eBay.rb', line 24077

def restrictedToBusiness
  @restrictedToBusiness
end

#vATPercentObject

Returns the value of attribute vATPercent.



24078
24079
24080
# File 'lib/eBay.rb', line 24078

def vATPercent
  @vATPercent
end

Instance Method Details

#set_any(elements) ⇒ Object



24081
24082
24083
# File 'lib/eBay.rb', line 24081

def set_any(elements)
  @__xmlele_any = elements
end