Class: AccountType2

Inherits:
Object
  • Object
show all
Defined in:
lib/model/AccountType2.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (AccountType2) initialize(hash)

Returns a new instance of AccountType2



6
7
8
9
10
# File 'lib/model/AccountType2.rb', line 6

def initialize(hash)
	unless hash["CC"].nil?
		@creditCard = CreditCard.new(hash["CC"])	
	end
end

Instance Attribute Details

- (Object) creditCard

Returns the value of attribute creditCard



4
5
6
# File 'lib/model/AccountType2.rb', line 4

def creditCard
  @creditCard
end