Class: SalesTaxType
- Inherits:
-
Object
- Object
- SalesTaxType
- Defined in:
- lib/eBay.rb
Overview
urn:ebay:apis:eBLBaseComponentsSalesTaxType
Constant Summary collapse
- @@schema_type =
"SalesTaxType"
- @@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
- @@schema_element =
[ ["salesTaxPercent", ["SOAP::SOAPFloat", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SalesTaxPercent")]], ["salesTaxState", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SalesTaxState")]], ["shippingIncludedInTax", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingIncludedInTax")]], ["salesTaxAmount", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SalesTaxAmount")]], ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]] ]
Instance Attribute Summary collapse
-
#__xmlele_any ⇒ Object
readonly
Returns the value of attribute __xmlele_any.
-
#salesTaxAmount ⇒ Object
Returns the value of attribute salesTaxAmount.
-
#salesTaxPercent ⇒ Object
Returns the value of attribute salesTaxPercent.
-
#salesTaxState ⇒ Object
Returns the value of attribute salesTaxState.
-
#shippingIncludedInTax ⇒ Object
Returns the value of attribute shippingIncludedInTax.
Instance Method Summary collapse
-
#initialize(salesTaxPercent = nil, salesTaxState = nil, shippingIncludedInTax = nil, salesTaxAmount = nil) ⇒ SalesTaxType
constructor
A new instance of SalesTaxType.
- #set_any(elements) ⇒ Object
Constructor Details
#initialize(salesTaxPercent = nil, salesTaxState = nil, shippingIncludedInTax = nil, salesTaxAmount = nil) ⇒ SalesTaxType
Returns a new instance of SalesTaxType.
21700 21701 21702 21703 21704 21705 21706 |
# File 'lib/eBay.rb', line 21700 def initialize(salesTaxPercent = nil, salesTaxState = nil, shippingIncludedInTax = nil, salesTaxAmount = nil) @salesTaxPercent = salesTaxPercent @salesTaxState = salesTaxState @shippingIncludedInTax = shippingIncludedInTax @salesTaxAmount = salesTaxAmount @__xmlele_any = nil end |
Instance Attribute Details
#__xmlele_any ⇒ Object (readonly)
Returns the value of attribute __xmlele_any.
21694 21695 21696 |
# File 'lib/eBay.rb', line 21694 def __xmlele_any @__xmlele_any end |
#salesTaxAmount ⇒ Object
Returns the value of attribute salesTaxAmount.
21693 21694 21695 |
# File 'lib/eBay.rb', line 21693 def salesTaxAmount @salesTaxAmount end |
#salesTaxPercent ⇒ Object
Returns the value of attribute salesTaxPercent.
21690 21691 21692 |
# File 'lib/eBay.rb', line 21690 def salesTaxPercent @salesTaxPercent end |
#salesTaxState ⇒ Object
Returns the value of attribute salesTaxState.
21691 21692 21693 |
# File 'lib/eBay.rb', line 21691 def salesTaxState @salesTaxState end |
#shippingIncludedInTax ⇒ Object
Returns the value of attribute shippingIncludedInTax.
21692 21693 21694 |
# File 'lib/eBay.rb', line 21692 def shippingIncludedInTax @shippingIncludedInTax end |
Instance Method Details
#set_any(elements) ⇒ Object
21696 21697 21698 |
# File 'lib/eBay.rb', line 21696 def set_any(elements) @__xmlele_any = elements end |