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.



23641
23642
23643
23644
23645
23646
23647
# File 'lib/eBay.rb', line 23641

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.



23635
23636
23637
# File 'lib/eBay.rb', line 23635

def __xmlele_any
  @__xmlele_any
end

#jurisdictionIDObject

Returns the value of attribute jurisdictionID.



23631
23632
23633
# File 'lib/eBay.rb', line 23631

def jurisdictionID
  @jurisdictionID
end

#jurisdictionNameObject

Returns the value of attribute jurisdictionName.



23634
23635
23636
# File 'lib/eBay.rb', line 23634

def jurisdictionName
  @jurisdictionName
end

#salesTaxPercentObject

Returns the value of attribute salesTaxPercent.



23632
23633
23634
# File 'lib/eBay.rb', line 23632

def salesTaxPercent
  @salesTaxPercent
end

#shippingIncludedInTaxObject

Returns the value of attribute shippingIncludedInTax.



23633
23634
23635
# File 'lib/eBay.rb', line 23633

def shippingIncludedInTax
  @shippingIncludedInTax
end

Instance Method Details

#set_any(elements) ⇒ Object



23637
23638
23639
# File 'lib/eBay.rb', line 23637

def set_any(elements)
  @__xmlele_any = elements
end