Class: Etapper::API::Stock

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

Overview

etapestryAPI/serviceStock

brokerName - SOAP::SOAPString
brokerageFee - SOAP::SOAPDouble
company - SOAP::SOAPString
note - SOAP::SOAPString
numberOfShares - SOAP::SOAPDouble
pricePerShare - SOAP::SOAPDouble
saleDate - SOAP::SOAPDateTime
salePricePerShare - SOAP::SOAPDouble
ticker - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(brokerName = nil, brokerageFee = nil, company = nil, note = nil, numberOfShares = nil, pricePerShare = nil, saleDate = nil, salePricePerShare = nil, ticker = nil) ⇒ Stock

Returns a new instance of Stock.



698
699
700
701
702
703
704
705
706
707
708
# File 'lib/etapper/api/service.rb', line 698

def initialize(brokerName = nil, brokerageFee = nil, company = nil, note = nil, numberOfShares = nil, pricePerShare = nil, saleDate = nil, salePricePerShare = nil, ticker = nil)
  @brokerName = brokerName
  @brokerageFee = brokerageFee
  @company = company
  @note = note
  @numberOfShares = numberOfShares
  @pricePerShare = pricePerShare
  @saleDate = saleDate
  @salePricePerShare = salePricePerShare
  @ticker = ticker
end

Instance Attribute Details

#brokerageFeeObject

Returns the value of attribute brokerageFee.



689
690
691
# File 'lib/etapper/api/service.rb', line 689

def brokerageFee
  @brokerageFee
end

#brokerNameObject

Returns the value of attribute brokerName.



688
689
690
# File 'lib/etapper/api/service.rb', line 688

def brokerName
  @brokerName
end

#companyObject

Returns the value of attribute company.



690
691
692
# File 'lib/etapper/api/service.rb', line 690

def company
  @company
end

#noteObject

Returns the value of attribute note.



691
692
693
# File 'lib/etapper/api/service.rb', line 691

def note
  @note
end

#numberOfSharesObject

Returns the value of attribute numberOfShares.



692
693
694
# File 'lib/etapper/api/service.rb', line 692

def numberOfShares
  @numberOfShares
end

#pricePerShareObject

Returns the value of attribute pricePerShare.



693
694
695
# File 'lib/etapper/api/service.rb', line 693

def pricePerShare
  @pricePerShare
end

#saleDateObject

Returns the value of attribute saleDate.



694
695
696
# File 'lib/etapper/api/service.rb', line 694

def saleDate
  @saleDate
end

#salePricePerShareObject

Returns the value of attribute salePricePerShare.



695
696
697
# File 'lib/etapper/api/service.rb', line 695

def salePricePerShare
  @salePricePerShare
end

#tickerObject

Returns the value of attribute ticker.



696
697
698
# File 'lib/etapper/api/service.rb', line 696

def ticker
  @ticker
end