Class: Etapper::API::Insurance

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

Overview

etapestryAPI/serviceInsurance beneficiary - SOAP::SOAPString insurer - SOAP::SOAPString lengthOfPolicyAgreement - SOAP::SOAPString note - SOAP::SOAPString organizationPayingPremiums - SOAP::SOAPBoolean policyNumber - SOAP::SOAPString premiumAmount - SOAP::SOAPDouble premiumFrequency - SOAP::SOAPInt surrenderDate - SOAP::SOAPDateTime surrenderValue - SOAP::SOAPDouble

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(beneficiary = nil, insurer = nil, lengthOfPolicyAgreement = nil, note = nil, organizationPayingPremiums = nil, policyNumber = nil, premiumAmount = nil, premiumFrequency = nil, surrenderDate = nil, surrenderValue = nil) ⇒ Insurance

Returns a new instance of Insurance.



635
636
637
638
639
640
641
642
643
644
645
646
# File 'lib/etapper/api/service.rb', line 635

def initialize(beneficiary = nil, insurer = nil, lengthOfPolicyAgreement = nil, note = nil, organizationPayingPremiums = nil, policyNumber = nil, premiumAmount = nil, premiumFrequency = nil, surrenderDate = nil, surrenderValue = nil)
  @beneficiary = beneficiary
  @insurer = insurer
  @lengthOfPolicyAgreement = lengthOfPolicyAgreement
  @note = note
  @organizationPayingPremiums = organizationPayingPremiums
  @policyNumber = policyNumber
  @premiumAmount = premiumAmount
  @premiumFrequency = premiumFrequency
  @surrenderDate = surrenderDate
  @surrenderValue = surrenderValue
end

Instance Attribute Details

#beneficiary ⇒ Object

Returns the value of attribute beneficiary.



624
625
626
# File 'lib/etapper/api/service.rb', line 624

def beneficiary
  @beneficiary
end

#insurer ⇒ Object

Returns the value of attribute insurer.



625
626
627
# File 'lib/etapper/api/service.rb', line 625

def insurer
  @insurer
end

#lengthOfPolicyAgreement ⇒ Object

Returns the value of attribute lengthOfPolicyAgreement.



626
627
628
# File 'lib/etapper/api/service.rb', line 626

def lengthOfPolicyAgreement
  @lengthOfPolicyAgreement
end

#note ⇒ Object

Returns the value of attribute note.



627
628
629
# File 'lib/etapper/api/service.rb', line 627

def note
  @note
end

#organizationPayingPremiums ⇒ Object

Returns the value of attribute organizationPayingPremiums.



628
629
630
# File 'lib/etapper/api/service.rb', line 628

def organizationPayingPremiums
  @organizationPayingPremiums
end

#policyNumber ⇒ Object

Returns the value of attribute policyNumber.



629
630
631
# File 'lib/etapper/api/service.rb', line 629

def policyNumber
  @policyNumber
end

#premiumAmount ⇒ Object

Returns the value of attribute premiumAmount.



630
631
632
# File 'lib/etapper/api/service.rb', line 630

def premiumAmount
  @premiumAmount
end

#premiumFrequency ⇒ Object

Returns the value of attribute premiumFrequency.



631
632
633
# File 'lib/etapper/api/service.rb', line 631

def premiumFrequency
  @premiumFrequency
end

#surrenderDate ⇒ Object

Returns the value of attribute surrenderDate.



632
633
634
# File 'lib/etapper/api/service.rb', line 632

def surrenderDate
  @surrenderDate
end

#surrenderValue ⇒ Object

Returns the value of attribute surrenderValue.



633
634
635
# File 'lib/etapper/api/service.rb', line 633

def surrenderValue
  @surrenderValue
end