Class: MobileB2BResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status_, transactionId_, transactionFee_, providerChannel_, errorMessage_) ⇒ MobileB2BResponse

Returns a new instance of MobileB2BResponse.



505
506
507
508
509
510
511
# File 'lib/AfricasTalking/Payments.rb', line 505

def initialize status_, transactionId_, transactionFee_, providerChannel_, errorMessage_
    @providerChannel    = providerChannel_
    @transactionId = transactionId_
    @transactionFee  = transactionFee_
    @status          = status_
    @errorMessage   = errorMessage_
end

Instance Attribute Details

#errorMessageObject (readonly)

Returns the value of attribute errorMessage.



503
504
505
# File 'lib/AfricasTalking/Payments.rb', line 503

def errorMessage
  @errorMessage
end

#providerChannelObject (readonly)

Returns the value of attribute providerChannel.



503
504
505
# File 'lib/AfricasTalking/Payments.rb', line 503

def providerChannel
  @providerChannel
end

#statusObject (readonly)

Returns the value of attribute status.



503
504
505
# File 'lib/AfricasTalking/Payments.rb', line 503

def status
  @status
end

#transactionFeeObject (readonly)

Returns the value of attribute transactionFee.



503
504
505
# File 'lib/AfricasTalking/Payments.rb', line 503

def transactionFee
  @transactionFee
end

#transactionIdObject (readonly)

Returns the value of attribute transactionId.



503
504
505
# File 'lib/AfricasTalking/Payments.rb', line 503

def transactionId
  @transactionId
end