Class: Etapper::API::Purchase

Inherits:
Object
  • Object
show all
Defined in:
lib/etapper/api/service.rb

Overview

etapestryAPI/servicePurchase

accountName - SOAP::SOAPString
accountRef - SOAP::SOAPString
amount - SOAP::SOAPDouble
approach - SOAP::SOAPString
attachments - Etapper::API::ArrayOfAttachment
campaign - SOAP::SOAPString
createdDate - SOAP::SOAPDateTime
date - SOAP::SOAPDateTime
definedValues - Etapper::API::ArrayOfDefinedValue
final - SOAP::SOAPBoolean
fund - SOAP::SOAPString
lastModifiedDate - SOAP::SOAPDateTime
letter - SOAP::SOAPString
nonDeductibleAmount - SOAP::SOAPDouble
note - SOAP::SOAPString
offsettingRef - SOAP::SOAPString
orderDetail - Etapper::API::OrderDetail
orderInfo - Etapper::API::OrderInfo
receipt - SOAP::SOAPString
recognitionName - SOAP::SOAPString
recognitionType - SOAP::SOAPInt
ref - SOAP::SOAPString
segmentedTransactionRef - SOAP::SOAPString
softCredit - Etapper::API::SoftCredit
type - SOAP::SOAPInt
valuable - Etapper::API::Valuable

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(accountName = nil, accountRef = nil, amount = nil, approach = nil, attachments = nil, campaign = nil, createdDate = nil, date = nil, definedValues = nil, final = nil, fund = nil, lastModifiedDate = nil, letter = nil, nonDeductibleAmount = nil, note = nil, offsettingRef = nil, orderDetail = nil, orderInfo = nil, receipt = nil, recognitionName = nil, recognitionType = nil, ref = nil, segmentedTransactionRef = nil, softCredit = nil, type = nil, valuable = nil) ⇒ Purchase

Returns a new instance of Purchase.



2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
# File 'lib/etapper/api/service.rb', line 2570

def initialize(accountName = nil, accountRef = nil, amount = nil, approach = nil, attachments = nil, campaign = nil, createdDate = nil, date = nil, definedValues = nil, final = nil, fund = nil, lastModifiedDate = nil, letter = nil, nonDeductibleAmount = nil, note = nil, offsettingRef = nil, orderDetail = nil, orderInfo = nil, receipt = nil, recognitionName = nil, recognitionType = nil, ref = nil, segmentedTransactionRef = nil, softCredit = nil, type = nil, valuable = nil)
  @accountName = accountName
  @accountRef = accountRef
  @amount = amount
  @approach = approach
  @attachments = attachments
  @campaign = campaign
  @createdDate = createdDate
  @date = date
  @definedValues = definedValues
  @final = final
  @fund = fund
  @lastModifiedDate = lastModifiedDate
  @letter = letter
  @nonDeductibleAmount = nonDeductibleAmount
  @note = note
  @offsettingRef = offsettingRef
  @orderDetail = orderDetail
  @orderInfo = orderInfo
  @receipt = receipt
  @recognitionName = recognitionName
  @recognitionType = recognitionType
  @ref = ref
  @segmentedTransactionRef = segmentedTransactionRef
  @softCredit = softCredit
  @type = type
  @valuable = valuable
end

Instance Attribute Details

#accountNameObject

Returns the value of attribute accountName.



2543
2544
2545
# File 'lib/etapper/api/service.rb', line 2543

def accountName
  @accountName
end

#accountRefObject

Returns the value of attribute accountRef.



2544
2545
2546
# File 'lib/etapper/api/service.rb', line 2544

def accountRef
  @accountRef
end

#amountObject

Returns the value of attribute amount.



2545
2546
2547
# File 'lib/etapper/api/service.rb', line 2545

def amount
  @amount
end

#approachObject

Returns the value of attribute approach.



2546
2547
2548
# File 'lib/etapper/api/service.rb', line 2546

def approach
  @approach
end

#attachmentsObject

Returns the value of attribute attachments.



2547
2548
2549
# File 'lib/etapper/api/service.rb', line 2547

def attachments
  @attachments
end

#campaignObject

Returns the value of attribute campaign.



2548
2549
2550
# File 'lib/etapper/api/service.rb', line 2548

def campaign
  @campaign
end

#createdDateObject

Returns the value of attribute createdDate.



2549
2550
2551
# File 'lib/etapper/api/service.rb', line 2549

def createdDate
  @createdDate
end

#dateObject

Returns the value of attribute date.



2550
2551
2552
# File 'lib/etapper/api/service.rb', line 2550

def date
  @date
end

#definedValuesObject

Returns the value of attribute definedValues.



2551
2552
2553
# File 'lib/etapper/api/service.rb', line 2551

def definedValues
  @definedValues
end

#finalObject

Returns the value of attribute final.



2552
2553
2554
# File 'lib/etapper/api/service.rb', line 2552

def final
  @final
end

#fundObject

Returns the value of attribute fund.



2553
2554
2555
# File 'lib/etapper/api/service.rb', line 2553

def fund
  @fund
end

#lastModifiedDateObject

Returns the value of attribute lastModifiedDate.



2554
2555
2556
# File 'lib/etapper/api/service.rb', line 2554

def lastModifiedDate
  @lastModifiedDate
end

#letterObject

Returns the value of attribute letter.



2555
2556
2557
# File 'lib/etapper/api/service.rb', line 2555

def letter
  @letter
end

#nonDeductibleAmountObject

Returns the value of attribute nonDeductibleAmount.



2556
2557
2558
# File 'lib/etapper/api/service.rb', line 2556

def nonDeductibleAmount
  @nonDeductibleAmount
end

#noteObject

Returns the value of attribute note.



2557
2558
2559
# File 'lib/etapper/api/service.rb', line 2557

def note
  @note
end

#offsettingRefObject

Returns the value of attribute offsettingRef.



2558
2559
2560
# File 'lib/etapper/api/service.rb', line 2558

def offsettingRef
  @offsettingRef
end

#orderDetailObject

Returns the value of attribute orderDetail.



2559
2560
2561
# File 'lib/etapper/api/service.rb', line 2559

def orderDetail
  @orderDetail
end

#orderInfoObject

Returns the value of attribute orderInfo.



2560
2561
2562
# File 'lib/etapper/api/service.rb', line 2560

def orderInfo
  @orderInfo
end

#receiptObject

Returns the value of attribute receipt.



2561
2562
2563
# File 'lib/etapper/api/service.rb', line 2561

def receipt
  @receipt
end

#recognitionNameObject

Returns the value of attribute recognitionName.



2562
2563
2564
# File 'lib/etapper/api/service.rb', line 2562

def recognitionName
  @recognitionName
end

#recognitionTypeObject

Returns the value of attribute recognitionType.



2563
2564
2565
# File 'lib/etapper/api/service.rb', line 2563

def recognitionType
  @recognitionType
end

#refObject

Returns the value of attribute ref.



2564
2565
2566
# File 'lib/etapper/api/service.rb', line 2564

def ref
  @ref
end

#segmentedTransactionRefObject

Returns the value of attribute segmentedTransactionRef.



2565
2566
2567
# File 'lib/etapper/api/service.rb', line 2565

def segmentedTransactionRef
  @segmentedTransactionRef
end

#softCreditObject

Returns the value of attribute softCredit.



2566
2567
2568
# File 'lib/etapper/api/service.rb', line 2566

def softCredit
  @softCredit
end

#typeObject

Returns the value of attribute type.



2567
2568
2569
# File 'lib/etapper/api/service.rb', line 2567

def type
  @type
end

#valuableObject

Returns the value of attribute valuable.



2568
2569
2570
# File 'lib/etapper/api/service.rb', line 2568

def valuable
  @valuable
end