Class: SalesTaxType

Inherits:
Object
  • Object
show all
Defined in:
lib/paypal-business/default.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")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(salesTaxPercent = nil, salesTaxState = nil, shippingIncludedInTax = nil) ⇒ SalesTaxType

Returns a new instance of SalesTaxType.



2148
2149
2150
2151
2152
# File 'lib/paypal-business/default.rb', line 2148

def initialize(salesTaxPercent = nil, salesTaxState = nil, shippingIncludedInTax = nil)
  @salesTaxPercent = salesTaxPercent
  @salesTaxState = salesTaxState
  @shippingIncludedInTax = shippingIncludedInTax
end

Instance Attribute Details

#salesTaxPercentObject

Returns the value of attribute salesTaxPercent.



2144
2145
2146
# File 'lib/paypal-business/default.rb', line 2144

def salesTaxPercent
  @salesTaxPercent
end

#salesTaxStateObject

Returns the value of attribute salesTaxState.



2145
2146
2147
# File 'lib/paypal-business/default.rb', line 2145

def salesTaxState
  @salesTaxState
end

#shippingIncludedInTaxObject

Returns the value of attribute shippingIncludedInTax.



2146
2147
2148
# File 'lib/paypal-business/default.rb', line 2146

def shippingIncludedInTax
  @shippingIncludedInTax
end