Class: MobileB2CResponse
- Inherits:
-
Object
- Object
- MobileB2CResponse
- Defined in:
- lib/AfricasTalking/Payments.rb
Instance Attribute Summary collapse
-
#errorMessage ⇒ Object
readonly
Returns the value of attribute errorMessage.
-
#phoneNumber ⇒ Object
readonly
Returns the value of attribute phoneNumber.
-
#provider ⇒ Object
readonly
Returns the value of attribute provider.
-
#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.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(provider_, phoneNumber_, providerChannel_, transactionFee_, status_, value_, transactionId_, errorMessage_) ⇒ MobileB2CResponse
constructor
A new instance of MobileB2CResponse.
Constructor Details
#initialize(provider_, phoneNumber_, providerChannel_, transactionFee_, status_, value_, transactionId_, errorMessage_) ⇒ MobileB2CResponse
Returns a new instance of MobileB2CResponse.
477 478 479 480 481 482 483 484 485 486 |
# File 'lib/AfricasTalking/Payments.rb', line 477 def initialize provider_, phoneNumber_, providerChannel_, transactionFee_, status_, value_, transactionId_, errorMessage_ @provider = provider_ @phoneNumber = phoneNumber_ @providerChannel = providerChannel_ @transactionFee = transactionFee_ @status = status_ @value = value_ @transactionId = transactionId_ @errorMessage = errorMessage_ end |
Instance Attribute Details
#errorMessage ⇒ Object (readonly)
Returns the value of attribute errorMessage.
475 476 477 |
# File 'lib/AfricasTalking/Payments.rb', line 475 def errorMessage @errorMessage end |
#phoneNumber ⇒ Object (readonly)
Returns the value of attribute phoneNumber.
475 476 477 |
# File 'lib/AfricasTalking/Payments.rb', line 475 def phoneNumber @phoneNumber end |
#provider ⇒ Object (readonly)
Returns the value of attribute provider.
475 476 477 |
# File 'lib/AfricasTalking/Payments.rb', line 475 def provider @provider end |
#providerChannel ⇒ Object (readonly)
Returns the value of attribute providerChannel.
475 476 477 |
# File 'lib/AfricasTalking/Payments.rb', line 475 def providerChannel @providerChannel end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
475 476 477 |
# File 'lib/AfricasTalking/Payments.rb', line 475 def status @status end |
#transactionFee ⇒ Object (readonly)
Returns the value of attribute transactionFee.
475 476 477 |
# File 'lib/AfricasTalking/Payments.rb', line 475 def transactionFee @transactionFee end |
#transactionId ⇒ Object (readonly)
Returns the value of attribute transactionId.
475 476 477 |
# File 'lib/AfricasTalking/Payments.rb', line 475 def transactionId @transactionId end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
475 476 477 |
# File 'lib/AfricasTalking/Payments.rb', line 475 def value @value end |