class AuthorizeNet::API::LineItemType

{AnetApi/xml/v1/schema/AnetApiSchema.xsd}lineItemType

itemId - SOAP::SOAPString
name - SOAP::SOAPString
description - SOAP::SOAPString
quantity - SOAP::SOAPDecimal
unitPrice - SOAP::SOAPDecimal
taxable - SOAP::SOAPBoolean
unitOfMeasure - SOAP::SOAPString
typeOfSupply - SOAP::SOAPString
taxRate - SOAP::SOAPDecimal
taxAmount - SOAP::SOAPDecimal
nationalTax - SOAP::SOAPDecimal
localTax - SOAP::SOAPDecimal
vatRate - SOAP::SOAPDecimal
alternateTaxId - SOAP::SOAPString
alternateTaxType - SOAP::SOAPString
alternateTaxTypeApplied - SOAP::SOAPString
alternateTaxRate - SOAP::SOAPDecimal
alternateTaxAmount - SOAP::SOAPDecimal
totalAmount - SOAP::SOAPDecimal
commodityCode - SOAP::SOAPString
productCode - SOAP::SOAPString
productSKU - SOAP::SOAPString
discountRate - SOAP::SOAPDecimal
discountAmount - SOAP::SOAPDecimal
taxIncludedInTotal - SOAP::SOAPBoolean
taxIsAfterDiscount - SOAP::SOAPBoolean

Public Class Methods

new(itemId = nil, name = nil, description = nil, quantity = nil, unitPrice = nil, taxable = nil, unitOfMeasure = nil,typeOfSupply = nil, taxRate = nil, taxAmount = nil, nationalTax = nil, localTax = nil, vatRate = nil, alternateTaxId = nil, alternateTaxType = nil, alternateTaxTypeApplied = nil, alternateTaxRate = nil, alternateTaxAmount = nil, totalAmount = nil, commodityCode = nil, productCode = nil, productSKU = nil, discountRate = nil, discountAmount = nil, taxIncludedInTotal = nil, taxIsAfterDiscount = nil) click to toggle source
# File lib/authorize_net/api/schema.rb, line 1546
def initialize(itemId = nil, name = nil, description = nil, quantity = nil, unitPrice = nil, taxable = nil, unitOfMeasure = nil,typeOfSupply = nil, taxRate = nil, taxAmount = nil, nationalTax = nil, localTax = nil, vatRate = nil, alternateTaxId = nil, alternateTaxType = nil, alternateTaxTypeApplied = nil, alternateTaxRate = nil, alternateTaxAmount = nil, totalAmount = nil, commodityCode = nil, productCode = nil, productSKU = nil, discountRate = nil, discountAmount = nil, taxIncludedInTotal = nil, taxIsAfterDiscount = nil)
  @itemId = itemId
  @name = name
  @description = description
  @quantity = quantity
  @unitPrice = unitPrice
  @taxable = taxable
  @unitOfMeasure = unitOfMeasure
  @typeOfSupply = typeOfSupply
  @taxRate = taxRate
  @taxAmount = taxAmount
  @nationalTax = nationalTax
  @localTax = localTax
  @vatRate = vatRate
  @alternateTaxId = alternateTaxId
  @alternateTaxType = alternateTaxType
  @alternateTaxTypeApplied = alternateTaxTypeApplied
  @alternateTaxRate = alternateTaxRate
  @alternateTaxAmount = alternateTaxAmount
  @totalAmount = totalAmount
  @commodityCode = commodityCode
  @productCode = productCode
  @productSKU = productSKU
  @discountRate = discountRate
  @discountAmount = discountAmount
  @taxIncludedInTotal = taxIncludedInTotal
  @taxIsAfterDiscount = taxIsAfterDiscount

end