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.



18481
18482
18483
18484
18485
18486
18487
# File 'lib/eBay.rb', line 18481

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.



18475
18476
18477
# File 'lib/eBay.rb', line 18475

def __xmlele_any
  @__xmlele_any
end

#jurisdictionIDObject

Returns the value of attribute jurisdictionID.



18471
18472
18473
# File 'lib/eBay.rb', line 18471

def jurisdictionID
  @jurisdictionID
end

#jurisdictionNameObject

Returns the value of attribute jurisdictionName.



18474
18475
18476
# File 'lib/eBay.rb', line 18474

def jurisdictionName
  @jurisdictionName
end

#salesTaxPercentObject

Returns the value of attribute salesTaxPercent.



18472
18473
18474
# File 'lib/eBay.rb', line 18472

def salesTaxPercent
  @salesTaxPercent
end

#shippingIncludedInTaxObject

Returns the value of attribute shippingIncludedInTax.



18473
18474
18475
# File 'lib/eBay.rb', line 18473

def shippingIncludedInTax
  @shippingIncludedInTax
end

Instance Method Details

#set_any(elements) ⇒ Object



18477
18478
18479
# File 'lib/eBay.rb', line 18477

def set_any(elements)
  @__xmlele_any = elements
end