Class: EBay::TaxDetailsType

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

Overview

urn:ebay:apis:eBLBaseComponentsTaxDetailsType

imposition - EBay::TaxTypeCodeType
taxDescription - EBay::TaxDescriptionCodeType
taxAmount - EBay::AmountType
taxOnSubtotalAmount - EBay::AmountType
taxOnShippingAmount - EBay::AmountType
taxOnHandlingAmount - EBay::AmountType
taxCode - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(imposition = nil, taxDescription = nil, taxAmount = nil, taxOnSubtotalAmount = nil, taxOnShippingAmount = nil, taxOnHandlingAmount = nil, taxCode = nil) ⇒ TaxDetailsType

Returns a new instance of TaxDetailsType.



34235
34236
34237
34238
34239
34240
34241
34242
34243
34244
# File 'lib/eBay.rb', line 34235

def initialize(imposition = nil, taxDescription = nil, taxAmount = nil, taxOnSubtotalAmount = nil, taxOnShippingAmount = nil, taxOnHandlingAmount = nil, taxCode = nil)
  @imposition = imposition
  @taxDescription = taxDescription
  @taxAmount = taxAmount
  @taxOnSubtotalAmount = taxOnSubtotalAmount
  @taxOnShippingAmount = taxOnShippingAmount
  @taxOnHandlingAmount = taxOnHandlingAmount
  @taxCode = taxCode
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



34229
34230
34231
# File 'lib/eBay.rb', line 34229

def __xmlele_any
  @__xmlele_any
end

#impositionObject

Returns the value of attribute imposition.



34222
34223
34224
# File 'lib/eBay.rb', line 34222

def imposition
  @imposition
end

#taxAmountObject

Returns the value of attribute taxAmount.



34224
34225
34226
# File 'lib/eBay.rb', line 34224

def taxAmount
  @taxAmount
end

#taxCodeObject

Returns the value of attribute taxCode.



34228
34229
34230
# File 'lib/eBay.rb', line 34228

def taxCode
  @taxCode
end

#taxDescriptionObject

Returns the value of attribute taxDescription.



34223
34224
34225
# File 'lib/eBay.rb', line 34223

def taxDescription
  @taxDescription
end

#taxOnHandlingAmountObject

Returns the value of attribute taxOnHandlingAmount.



34227
34228
34229
# File 'lib/eBay.rb', line 34227

def taxOnHandlingAmount
  @taxOnHandlingAmount
end

#taxOnShippingAmountObject

Returns the value of attribute taxOnShippingAmount.



34226
34227
34228
# File 'lib/eBay.rb', line 34226

def taxOnShippingAmount
  @taxOnShippingAmount
end

#taxOnSubtotalAmountObject

Returns the value of attribute taxOnSubtotalAmount.



34225
34226
34227
# File 'lib/eBay.rb', line 34225

def taxOnSubtotalAmount
  @taxOnSubtotalAmount
end

Instance Method Details

#set_any(elements) ⇒ Object



34231
34232
34233
# File 'lib/eBay.rb', line 34231

def set_any(elements)
  @__xmlele_any = elements
end