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.
1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 |
# 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 |