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.



516
517
518
519
520
521
522
# File 'lib/AfricasTalking/Payments.rb', line 516

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.



515
516
517
# File 'lib/AfricasTalking/Payments.rb', line 515

def accountNumber
  @accountNumber
end

#errorMessageObject (readonly)

Returns the value of attribute errorMessage.



515
516
517
# File 'lib/AfricasTalking/Payments.rb', line 515

def errorMessage
  @errorMessage
end

#statusObject (readonly)

Returns the value of attribute status.



515
516
517
# File 'lib/AfricasTalking/Payments.rb', line 515

def status
  @status
end

#transactionFeeObject (readonly)

Returns the value of attribute transactionFee.



515
516
517
# File 'lib/AfricasTalking/Payments.rb', line 515

def transactionFee
  @transactionFee
end

#transactionIdObject (readonly)

Returns the value of attribute transactionId.



515
516
517
# File 'lib/AfricasTalking/Payments.rb', line 515

def transactionId
  @transactionId
end