Class: MobileDataResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(phoneNumber_, provider_, status_, transactionId_, value_, errorMessage_) ⇒ MobileDataResponse

Returns a new instance of MobileDataResponse.



492
493
494
495
496
497
498
499
# File 'lib/AfricasTalking/Payments.rb', line 492

def initialize phoneNumber_, provider_, status_, transactionId_, value_, errorMessage_
		@phoneNumber     = phoneNumber_
		@provider        = provider_
		@status          = status_
           @transactionId   = transactionId_
		@value           = value_
		@errorMessage   = errorMessage_
end

Instance Attribute Details

#errorMessageObject (readonly)

Returns the value of attribute errorMessage.



490
491
492
# File 'lib/AfricasTalking/Payments.rb', line 490

def errorMessage
  @errorMessage
end

#phoneNumberObject (readonly)

Returns the value of attribute phoneNumber.



490
491
492
# File 'lib/AfricasTalking/Payments.rb', line 490

def phoneNumber
  @phoneNumber
end

#providerObject (readonly)

Returns the value of attribute provider.



490
491
492
# File 'lib/AfricasTalking/Payments.rb', line 490

def provider
  @provider
end

#statusObject (readonly)

Returns the value of attribute status.



490
491
492
# File 'lib/AfricasTalking/Payments.rb', line 490

def status
  @status
end

#transactionIdObject (readonly)

Returns the value of attribute transactionId.



490
491
492
# File 'lib/AfricasTalking/Payments.rb', line 490

def transactionId
  @transactionId
end

#valueObject (readonly)

Returns the value of attribute value.



490
491
492
# File 'lib/AfricasTalking/Payments.rb', line 490

def value
  @value
end