Class: MobileB2BResponse
- Inherits:
-
Object
- Object
- MobileB2BResponse
- Defined in:
- lib/AfricasTalking/Payments.rb
Instance Attribute Summary collapse
-
#errorMessage ⇒ Object
readonly
Returns the value of attribute errorMessage.
-
#providerChannel ⇒ Object
readonly
Returns the value of attribute providerChannel.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#transactionFee ⇒ Object
readonly
Returns the value of attribute transactionFee.
-
#transactionId ⇒ Object
readonly
Returns the value of attribute transactionId.
Instance Method Summary collapse
-
#initialize(status_, transactionId_, transactionFee_, providerChannel_, errorMessage_) ⇒ MobileB2BResponse
constructor
A new instance of MobileB2BResponse.
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
#errorMessage ⇒ Object (readonly)
Returns the value of attribute errorMessage.
503 504 505 |
# File 'lib/AfricasTalking/Payments.rb', line 503 def errorMessage @errorMessage end |
#providerChannel ⇒ Object (readonly)
Returns the value of attribute providerChannel.
503 504 505 |
# File 'lib/AfricasTalking/Payments.rb', line 503 def providerChannel @providerChannel end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
503 504 505 |
# File 'lib/AfricasTalking/Payments.rb', line 503 def status @status end |
#transactionFee ⇒ Object (readonly)
Returns the value of attribute transactionFee.
503 504 505 |
# File 'lib/AfricasTalking/Payments.rb', line 503 def transactionFee @transactionFee end |
#transactionId ⇒ Object (readonly)
Returns the value of attribute transactionId.
503 504 505 |
# File 'lib/AfricasTalking/Payments.rb', line 503 def transactionId @transactionId end |