Class: BankTransferEntries

Inherits:
Object
  • Object
show all
Defined in:
lib/AfricasTalking/Payments.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(accountNumber, status, transactionId, transactionFee, errorMessage) ⇒ BankTransferEntries

Returns a new instance of BankTransferEntries.



360
361
362
363
364
365
366
# File 'lib/AfricasTalking/Payments.rb', line 360

def initialize accountNumber, status, transactionId, transactionFee, errorMessage
		@accountNumber = accountNumber
		@status = status
		@transactionId  = transactionId
		@transactionFee  = transactionFee
		@errorMessage   = errorMessage
end

Instance Attribute Details

#accountNumberObject (readonly)

Returns the value of attribute accountNumber.



359
360
361
# File 'lib/AfricasTalking/Payments.rb', line 359

def accountNumber
  @accountNumber
end

#errorMessageObject (readonly)

Returns the value of attribute errorMessage.



359
360
361
# File 'lib/AfricasTalking/Payments.rb', line 359

def errorMessage
  @errorMessage
end

#statusObject (readonly)

Returns the value of attribute status.



359
360
361
# File 'lib/AfricasTalking/Payments.rb', line 359

def status
  @status
end

#transactionFeeObject (readonly)

Returns the value of attribute transactionFee.



359
360
361
# File 'lib/AfricasTalking/Payments.rb', line 359

def transactionFee
  @transactionFee
end

#transactionIdObject (readonly)

Returns the value of attribute transactionId.



359
360
361
# File 'lib/AfricasTalking/Payments.rb', line 359

def transactionId
  @transactionId
end