Class: TaxJurisdictionType

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

Overview

urn:ebay:apis:eBLBaseComponentsTaxJurisdictionType

Constant Summary collapse

@@schema_type =
"TaxJurisdictionType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["jurisdictionID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "JurisdictionID")]],
  ["salesTaxPercent", ["SOAP::SOAPFloat", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SalesTaxPercent")]],
  ["shippingIncludedInTax", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingIncludedInTax")]],
  ["jurisdictionName", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "JurisdictionName")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(jurisdictionID = nil, salesTaxPercent = nil, shippingIncludedInTax = nil, jurisdictionName = nil) ⇒ TaxJurisdictionType

Returns a new instance of TaxJurisdictionType.



20926
20927
20928
20929
20930
20931
20932
# File 'lib/eBay.rb', line 20926

def initialize(jurisdictionID = nil, salesTaxPercent = nil, shippingIncludedInTax = nil, jurisdictionName = nil)
  @jurisdictionID = jurisdictionID
  @salesTaxPercent = salesTaxPercent
  @shippingIncludedInTax = shippingIncludedInTax
  @jurisdictionName = jurisdictionName
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



20920
20921
20922
# File 'lib/eBay.rb', line 20920

def __xmlele_any
  @__xmlele_any
end

#jurisdictionIDObject

Returns the value of attribute jurisdictionID.



20916
20917
20918
# File 'lib/eBay.rb', line 20916

def jurisdictionID
  @jurisdictionID
end

#jurisdictionNameObject

Returns the value of attribute jurisdictionName.



20919
20920
20921
# File 'lib/eBay.rb', line 20919

def jurisdictionName
  @jurisdictionName
end

#salesTaxPercentObject

Returns the value of attribute salesTaxPercent.



20917
20918
20919
# File 'lib/eBay.rb', line 20917

def salesTaxPercent
  @salesTaxPercent
end

#shippingIncludedInTaxObject

Returns the value of attribute shippingIncludedInTax.



20918
20919
20920
# File 'lib/eBay.rb', line 20918

def shippingIncludedInTax
  @shippingIncludedInTax
end

Instance Method Details

#set_any(elements) ⇒ Object



20922
20923
20924
# File 'lib/eBay.rb', line 20922

def set_any(elements)
  @__xmlele_any = elements
end