Class: AuthorizeNet::API::OrderType

Inherits:
Object
  • Object
show all
Includes:
ROXML
Defined in:
lib/authorize_net/api/schema.rb

Overview

AnetApi/xml/v1/schema/AnetApiSchema.xsdorderType

invoiceNumber - SOAP::SOAPString
description - SOAP::SOAPString
discountAmount - SOAP::SOAPDecimal
taxIsAfterDiscount - SOAP::SOAPBoolean
totalTaxTypeCode - SOAP::SOAPString
purchaserVATRegistrationNumber - SOAP::SOAPString
merchantVATRegistrationNumber - SOAP::SOAPString
vatInvoiceReferenceNumber - SOAP::SOAPString
purchaserCode - SOAP::SOAPString
summaryCommodityCode - SOAP::SOAPString
purchaseOrderDateUTC - SOAP::SOAPDate
supplierOrderReference - SOAP::SOAPString
authorizedContactName - SOAP::SOAPString
cardAcceptorRefNumber - SOAP::SOAPString
amexDataTAA1 - SOAP::SOAPString
amexDataTAA2 - SOAP::SOAPString
amexDataTAA3 - SOAP::SOAPString
amexDataTAA4 - SOAP::SOAPString

Instance Method Summary collapse

Constructor Details

#initialize(invoiceNumber = nil, description = nil, discountAmount = nil, taxIsAfterDiscount = nil, totalTaxTypeCode = nil, purchaserVATRegistrationNumber = nil, merchantVATRegistrationNumber = nil, vatInvoiceReferenceNumber = nil, purchaserCode = nil, summaryCommodityCode = nil, purchaseOrderDateUTC = nil, supplierOrderReference = nil, authorizedContactName = nil, cardAcceptorRefNumber = nil, amexDataTAA1 = nil, amexDataTAA2 = nil, amexDataTAA3 = nil, amexDataTAA4 = nil) ⇒ OrderType

Returns a new instance of OrderType.



741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
# File 'lib/authorize_net/api/schema.rb', line 741

def initialize(invoiceNumber = nil, description = nil, discountAmount = nil, taxIsAfterDiscount = nil, totalTaxTypeCode = nil, purchaserVATRegistrationNumber = nil, merchantVATRegistrationNumber = nil, vatInvoiceReferenceNumber = nil, purchaserCode = nil, summaryCommodityCode = nil, purchaseOrderDateUTC = nil, supplierOrderReference = nil, authorizedContactName = nil, cardAcceptorRefNumber = nil, amexDataTAA1 = nil, amexDataTAA2 = nil, amexDataTAA3 = nil, amexDataTAA4 = nil)
  @invoiceNumber = invoiceNumber
  @description = description
  @discountAmount = discountAmount
  @taxIsAfterDiscount = taxIsAfterDiscount
  @totalTaxTypeCode = totalTaxTypeCode
  @purchaserVATRegistrationNumber = purchaserVATRegistrationNumber
  @merchantVATRegistrationNumber = merchantVATRegistrationNumber
  @vatInvoiceReferenceNumber = vatInvoiceReferenceNumber
  @purchaserCode = purchaserCode
  @summaryCommodityCode = summaryCommodityCode
  @purchaseOrderDateUTC = purchaseOrderDateUTC
  @supplierOrderReference = supplierOrderReference
  @authorizedContactName = authorizedContactName
  @cardAcceptorRefNumber = cardAcceptorRefNumber
  @amexDataTAA1 = amexDataTAA1
  @amexDataTAA2 = amexDataTAA2
  @amexDataTAA3 = amexDataTAA3
  @amexDataTAA4 = amexDataTAA4

end