Class: Etapper::API::EcommerceResponse

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

Overview

etapestryAPI/serviceEcommerceResponse

accountNumber - SOAP::SOAPInt
accountRef - SOAP::SOAPString
createdNewAccount - SOAP::SOAPBoolean
journalEntryRefs - Etapper::API::ArrayOfstring

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(accountNumber = nil, accountRef = nil, createdNewAccount = nil, journalEntryRefs = nil) ⇒ EcommerceResponse

Returns a new instance of EcommerceResponse.



3159
3160
3161
3162
3163
3164
# File 'lib/etapper/api/service.rb', line 3159

def initialize(accountNumber = nil, accountRef = nil, createdNewAccount = nil, journalEntryRefs = nil)
  @accountNumber = accountNumber
  @accountRef = accountRef
  @createdNewAccount = createdNewAccount
  @journalEntryRefs = journalEntryRefs
end

Instance Attribute Details

#accountNumberObject

Returns the value of attribute accountNumber.



3154
3155
3156
# File 'lib/etapper/api/service.rb', line 3154

def accountNumber
  @accountNumber
end

#accountRefObject

Returns the value of attribute accountRef.



3155
3156
3157
# File 'lib/etapper/api/service.rb', line 3155

def accountRef
  @accountRef
end

#createdNewAccountObject

Returns the value of attribute createdNewAccount.



3156
3157
3158
# File 'lib/etapper/api/service.rb', line 3156

def createdNewAccount
  @createdNewAccount
end

#journalEntryRefsObject

Returns the value of attribute journalEntryRefs.



3157
3158
3159
# File 'lib/etapper/api/service.rb', line 3157

def journalEntryRefs
  @journalEntryRefs
end