Class: AuthorizeNet::API::LineItemType
- Inherits:
-
Object
- Object
- AuthorizeNet::API::LineItemType
- Includes:
- ROXML
- Defined in:
- lib/authorize_net/api/schema.rb
Overview
AnetApi/xml/v1/schema/AnetApiSchema.xsdlineItemType
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
Instance Method Summary collapse
Constructor Details
#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) ⇒ LineItemType
Returns a new instance of LineItemType.
1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 |
# File 'lib/authorize_net/api/schema.rb', line 1474 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 |