Class: InvoiceRequest

Inherits:
ComplexExactorObject show all
Defined in:
app/helpers/exactor_api_objects.rb

Overview

lineItem - InvoiceRequestType::LineItem

Defined Under Namespace

Classes: LineItem

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(saleDate = nil, purchaseOrderNumber = nil, currencyCode = nil, taxClass = nil, taxDirection = nil, exemptionId = nil, billTo = nil, shipTo = nil, shipFrom = nil, lineItem = nil) ⇒ InvoiceRequest

Returns a new instance of InvoiceRequest.



77
78
79
80
81
82
83
84
85
86
87
88
# File 'app/helpers/exactor_api_objects.rb', line 77

def initialize(saleDate = nil, purchaseOrderNumber = nil, currencyCode = nil, taxClass = nil, taxDirection = nil, exemptionId = nil, billTo = nil, shipTo = nil, shipFrom = nil, lineItem = nil)
  @SaleDate = saleDate
  @PurchaseOrderNumber = purchaseOrderNumber
  @CurrencyCode = currencyCode
  @TaxClass = taxClass
  @TaxDirection = taxDirection
  @ExemptionId = exemptionId
  @BillTo = billTo
  @ShipTo = shipTo
  @ShipFrom = shipFrom
  @LineItem = lineItem
end

Instance Attribute Details

#BillToObject

Returns the value of attribute BillTo.



72
73
74
# File 'app/helpers/exactor_api_objects.rb', line 72

def BillTo
  @BillTo
end

#CurrencyCodeObject

Returns the value of attribute CurrencyCode.



68
69
70
# File 'app/helpers/exactor_api_objects.rb', line 68

def CurrencyCode
  @CurrencyCode
end

#ExemptionIdObject

Returns the value of attribute ExemptionId.



71
72
73
# File 'app/helpers/exactor_api_objects.rb', line 71

def ExemptionId
  @ExemptionId
end

#LineItemObject

Returns the value of attribute LineItem.



75
76
77
# File 'app/helpers/exactor_api_objects.rb', line 75

def LineItem
  @LineItem
end

#PurchaseOrderNumberObject

Returns the value of attribute PurchaseOrderNumber.



67
68
69
# File 'app/helpers/exactor_api_objects.rb', line 67

def PurchaseOrderNumber
  @PurchaseOrderNumber
end

#SaleDateObject

Returns the value of attribute SaleDate.



66
67
68
# File 'app/helpers/exactor_api_objects.rb', line 66

def SaleDate
  @SaleDate
end

#ShipFromObject

Returns the value of attribute ShipFrom.



74
75
76
# File 'app/helpers/exactor_api_objects.rb', line 74

def ShipFrom
  @ShipFrom
end

#ShipToObject

Returns the value of attribute ShipTo.



73
74
75
# File 'app/helpers/exactor_api_objects.rb', line 73

def ShipTo
  @ShipTo
end

#TaxClassObject

Returns the value of attribute TaxClass.



69
70
71
# File 'app/helpers/exactor_api_objects.rb', line 69

def TaxClass
  @TaxClass
end

#TaxDirectionObject

Returns the value of attribute TaxDirection.



70
71
72
# File 'app/helpers/exactor_api_objects.rb', line 70

def TaxDirection
  @TaxDirection
end